[etherlab-users] install on non-PC

Jeff Krasky jeff.krasky at dspcg.com
Fri Nov 18 16:23:26 CET 2011


Ok, there is an arm-unknown-linux-uclibcgnueabi-g++ compiler now.  So I did
this:

 

./configure --prefix=/home/user1/buildroot-2011.05/output/target/opt
--with-linux-dir=/home/user1/buildroot-2011.05/output/build/linux-2.6.33
--enable-generic --host=i386 --target=arm
CXX=arm-unknown-linux-uclibcgnueabi-g++
CC=arm-unknown-linux-uclibcgnueabi-gcc

 

 

 

and then I did a 

 

 

 

make clean

 

 

 

and then

 

 

make ARCH=arm CROSS_COMPILE=arm-unknown-linux-uclibcgnueabi-

 

 

The problem that stands out now appears to be this:
/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples/dc_u
ser/main.c:164: undefined reference to `clock_nanosleep'

collect2: ld returned 1 exit status

 

Is 'clock_nanosleep' something that is defined for Desktop Linux but not for
the embedded Linux?

 

 

Here is the entire output of make:

 

 

user1 at dhcppc15:~/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d> make
ARCH=arm CROSS_COMPILE=arm-unknown-linux-uclibcgnueabi-

make  all-recursive

make[1]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d'

Making all in devices

make[2]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices'

make  all-recursive

make[3]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices'

Making all in e1000

make[4]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices/e100
0'

make  all-am

make[5]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices/e100
0'

make[5]: Nothing to be done for `all-am'.

make[5]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices/e100
0'

make[4]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices/e100
0'

make[4]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices'

make[4]: Nothing to be done for `all-am'.

make[4]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices'

make[3]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices'

make[2]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/devices'

Making all in include

make[2]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/include'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/include'

Making all in master

make[2]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/master'

make  all-am

make[3]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/master'

make[3]: Nothing to be done for `all-am'.

make[3]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/master'

make[2]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/master'

Making all in script

make[2]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script'

Making all in init.d

make[3]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script/init.
d'

make  all-am

make[4]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script/init.
d'

make[4]: Nothing to be done for `all-am'.

make[4]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script/init.
d'

make[3]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script/init.
d'

Making all in sysconfig

make[3]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script/sysco
nfig'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script/sysco
nfig'

make[3]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script'

make[3]: Nothing to be done for `all-am'.

make[3]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script'

make[2]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/script'

Making all in tool

make[2]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/tool'

arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT
soe_errors.o -MD -MP -MF .deps/soe_errors.Tpo -c -o soe_errors.o `test -f
'../master/soe_errors.c' || echo './'`../master/soe_errors.c

mv -f .deps/soe_errors.Tpo .deps/soe_errors.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-Command.o -MD -MP -MF .deps/ethercat-Command.Tpo -c -o
ethercat-Command.o `test -f 'Command.cpp' || echo './'`Command.cpp

mv -f .deps/ethercat-Command.Tpo .deps/ethercat-Command.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandAlias.o -MD -MP -MF .deps/ethercat-CommandAlias.Tpo -c
-o ethercat-CommandAlias.o `test -f 'CommandAlias.cpp' || echo
'./'`CommandAlias.cpp

mv -f .deps/ethercat-CommandAlias.Tpo .deps/ethercat-CommandAlias.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandCStruct.o -MD -MP -MF .deps/ethercat-CommandCStruct.Tpo
-c -o ethercat-CommandCStruct.o `test -f 'CommandCStruct.cpp' || echo
'./'`CommandCStruct.cpp

mv -f .deps/ethercat-CommandCStruct.Tpo .deps/ethercat-CommandCStruct.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandConfig.o -MD -MP -MF .deps/ethercat-CommandConfig.Tpo -c
-o ethercat-CommandConfig.o `test -f 'CommandConfig.cpp' || echo
'./'`CommandConfig.cpp

mv -f .deps/ethercat-CommandConfig.Tpo .deps/ethercat-CommandConfig.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandData.o -MD -MP -MF .deps/ethercat-CommandData.Tpo -c -o
ethercat-CommandData.o `test -f 'CommandData.cpp' || echo
'./'`CommandData.cpp

mv -f .deps/ethercat-CommandData.Tpo .deps/ethercat-CommandData.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandDebug.o -MD -MP -MF .deps/ethercat-CommandDebug.Tpo -c
-o ethercat-CommandDebug.o `test -f 'CommandDebug.cpp' || echo
'./'`CommandDebug.cpp

mv -f .deps/ethercat-CommandDebug.Tpo .deps/ethercat-CommandDebug.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandDomains.o -MD -MP -MF .deps/ethercat-CommandDomains.Tpo
-c -o ethercat-CommandDomains.o `test -f 'CommandDomains.cpp' || echo
'./'`CommandDomains.cpp

mv -f .deps/ethercat-CommandDomains.Tpo .deps/ethercat-CommandDomains.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandDownload.o -MD -MP -MF
.deps/ethercat-CommandDownload.Tpo -c -o ethercat-CommandDownload.o `test -f
'CommandDownload.cpp' || echo './'`CommandDownload.cpp

mv -f .deps/ethercat-CommandDownload.Tpo .deps/ethercat-CommandDownload.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandFoeRead.o -MD -MP -MF .deps/ethercat-CommandFoeRead.Tpo
-c -o ethercat-CommandFoeRead.o `test -f 'CommandFoeRead.cpp' || echo
'./'`CommandFoeRead.cpp

mv -f .deps/ethercat-CommandFoeRead.Tpo .deps/ethercat-CommandFoeRead.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandFoeWrite.o -MD -MP -MF
.deps/ethercat-CommandFoeWrite.Tpo -c -o ethercat-CommandFoeWrite.o `test -f
'CommandFoeWrite.cpp' || echo './'`CommandFoeWrite.cpp

mv -f .deps/ethercat-CommandFoeWrite.Tpo .deps/ethercat-CommandFoeWrite.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandGraph.o -MD -MP -MF .deps/ethercat-CommandGraph.Tpo -c
-o ethercat-CommandGraph.o `test -f 'CommandGraph.cpp' || echo
'./'`CommandGraph.cpp

mv -f .deps/ethercat-CommandGraph.Tpo .deps/ethercat-CommandGraph.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandMaster.o -MD -MP -MF .deps/ethercat-CommandMaster.Tpo -c
-o ethercat-CommandMaster.o `test -f 'CommandMaster.cpp' || echo
'./'`CommandMaster.cpp

mv -f .deps/ethercat-CommandMaster.Tpo .deps/ethercat-CommandMaster.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandPdos.o -MD -MP -MF .deps/ethercat-CommandPdos.Tpo -c -o
ethercat-CommandPdos.o `test -f 'CommandPdos.cpp' || echo
'./'`CommandPdos.cpp

mv -f .deps/ethercat-CommandPdos.Tpo .deps/ethercat-CommandPdos.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandRegRead.o -MD -MP -MF .deps/ethercat-CommandRegRead.Tpo
-c -o ethercat-CommandRegRead.o `test -f 'CommandRegRead.cpp' || echo
'./'`CommandRegRead.cpp

mv -f .deps/ethercat-CommandRegRead.Tpo .deps/ethercat-CommandRegRead.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandRegWrite.o -MD -MP -MF
.deps/ethercat-CommandRegWrite.Tpo -c -o ethercat-CommandRegWrite.o `test -f
'CommandRegWrite.cpp' || echo './'`CommandRegWrite.cpp

mv -f .deps/ethercat-CommandRegWrite.Tpo .deps/ethercat-CommandRegWrite.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandRescan.o -MD -MP -MF .deps/ethercat-CommandRescan.Tpo -c
-o ethercat-CommandRescan.o `test -f 'CommandRescan.cpp' || echo
'./'`CommandRescan.cpp

mv -f .deps/ethercat-CommandRescan.Tpo .deps/ethercat-CommandRescan.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandSdos.o -MD -MP -MF .deps/ethercat-CommandSdos.Tpo -c -o
ethercat-CommandSdos.o `test -f 'CommandSdos.cpp' || echo
'./'`CommandSdos.cpp

mv -f .deps/ethercat-CommandSdos.Tpo .deps/ethercat-CommandSdos.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandSiiRead.o -MD -MP -MF .deps/ethercat-CommandSiiRead.Tpo
-c -o ethercat-CommandSiiRead.o `test -f 'CommandSiiRead.cpp' || echo
'./'`CommandSiiRead.cpp

mv -f .deps/ethercat-CommandSiiRead.Tpo .deps/ethercat-CommandSiiRead.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandSiiWrite.o -MD -MP -MF
.deps/ethercat-CommandSiiWrite.Tpo -c -o ethercat-CommandSiiWrite.o `test -f
'CommandSiiWrite.cpp' || echo './'`CommandSiiWrite.cpp

mv -f .deps/ethercat-CommandSiiWrite.Tpo .deps/ethercat-CommandSiiWrite.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandSlaves.o -MD -MP -MF .deps/ethercat-CommandSlaves.Tpo -c
-o ethercat-CommandSlaves.o `test -f 'CommandSlaves.cpp' || echo
'./'`CommandSlaves.cpp

mv -f .deps/ethercat-CommandSlaves.Tpo .deps/ethercat-CommandSlaves.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandSoeRead.o -MD -MP -MF .deps/ethercat-CommandSoeRead.Tpo
-c -o ethercat-CommandSoeRead.o `test -f 'CommandSoeRead.cpp' || echo
'./'`CommandSoeRead.cpp

mv -f .deps/ethercat-CommandSoeRead.Tpo .deps/ethercat-CommandSoeRead.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandSoeWrite.o -MD -MP -MF
.deps/ethercat-CommandSoeWrite.Tpo -c -o ethercat-CommandSoeWrite.o `test -f
'CommandSoeWrite.cpp' || echo './'`CommandSoeWrite.cpp

mv -f .deps/ethercat-CommandSoeWrite.Tpo .deps/ethercat-CommandSoeWrite.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandStates.o -MD -MP -MF .deps/ethercat-CommandStates.Tpo -c
-o ethercat-CommandStates.o `test -f 'CommandStates.cpp' || echo
'./'`CommandStates.cpp

mv -f .deps/ethercat-CommandStates.Tpo .deps/ethercat-CommandStates.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandUpload.o -MD -MP -MF .deps/ethercat-CommandUpload.Tpo -c
-o ethercat-CommandUpload.o `test -f 'CommandUpload.cpp' || echo
'./'`CommandUpload.cpp

mv -f .deps/ethercat-CommandUpload.Tpo .deps/ethercat-CommandUpload.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandVersion.o -MD -MP -MF .deps/ethercat-CommandVersion.Tpo
-c -o ethercat-CommandVersion.o `test -f 'CommandVersion.cpp' || echo
'./'`CommandVersion.cpp

mv -f .deps/ethercat-CommandVersion.Tpo .deps/ethercat-CommandVersion.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandXml.o -MD -MP -MF .deps/ethercat-CommandXml.Tpo -c -o
ethercat-CommandXml.o `test -f 'CommandXml.cpp' || echo './'`CommandXml.cpp

mv -f .deps/ethercat-CommandXml.Tpo .deps/ethercat-CommandXml.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-DataTypeHandler.o -MD -MP -MF
.deps/ethercat-DataTypeHandler.Tpo -c -o ethercat-DataTypeHandler.o `test -f
'DataTypeHandler.cpp' || echo './'`DataTypeHandler.cpp

mv -f .deps/ethercat-DataTypeHandler.Tpo .deps/ethercat-DataTypeHandler.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-FoeCommand.o -MD -MP -MF .deps/ethercat-FoeCommand.Tpo -c -o
ethercat-FoeCommand.o `test -f 'FoeCommand.cpp' || echo './'`FoeCommand.cpp

mv -f .deps/ethercat-FoeCommand.Tpo .deps/ethercat-FoeCommand.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-MasterDevice.o -MD -MP -MF .deps/ethercat-MasterDevice.Tpo -c
-o ethercat-MasterDevice.o `test -f 'MasterDevice.cpp' || echo
'./'`MasterDevice.cpp

mv -f .deps/ethercat-MasterDevice.Tpo .deps/ethercat-MasterDevice.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-NumberListParser.o -MD -MP -MF
.deps/ethercat-NumberListParser.Tpo -c -o ethercat-NumberListParser.o `test
-f 'NumberListParser.cpp' || echo './'`NumberListParser.cpp

mv -f .deps/ethercat-NumberListParser.Tpo .deps/ethercat-NumberListParser.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-SdoCommand.o -MD -MP -MF .deps/ethercat-SdoCommand.Tpo -c -o
ethercat-SdoCommand.o `test -f 'SdoCommand.cpp' || echo './'`SdoCommand.cpp

mv -f .deps/ethercat-SdoCommand.Tpo .deps/ethercat-SdoCommand.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-SoeCommand.o -MD -MP -MF .deps/ethercat-SoeCommand.Tpo -c -o
ethercat-SoeCommand.o `test -f 'SoeCommand.cpp' || echo './'`SoeCommand.cpp

mv -f .deps/ethercat-SoeCommand.Tpo .deps/ethercat-SoeCommand.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-main.o -MD -MP -MF .deps/ethercat-main.Tpo -c -o
ethercat-main.o `test -f 'main.cpp' || echo './'`main.cpp

mv -f .deps/ethercat-main.Tpo .deps/ethercat-main.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-sii_crc.o -MD -MP -MF .deps/ethercat-sii_crc.Tpo -c -o
ethercat-sii_crc.o `test -f 'sii_crc.cpp' || echo './'`sii_crc.cpp

mv -f .deps/ethercat-sii_crc.Tpo .deps/ethercat-sii_crc.Po

arm-unknown-linux-uclibcgnueabi-g++ -DHAVE_CONFIG_H -I. -I..    -I../include
-I../master -Wall -DREV=`if test -s ../revision; then cat ../revision; else
hg id -i .. 2>/dev/null || echo "unknown"; fi` -fno-strict-aliasing -g -O2
-MT ethercat-CommandEoe.o -MD -MP -MF .deps/ethercat-CommandEoe.Tpo -c -o
ethercat-CommandEoe.o `test -f 'CommandEoe.cpp' || echo './'`CommandEoe.cpp

mv -f .deps/ethercat-CommandEoe.Tpo .deps/ethercat-CommandEoe.Po

/bin/sh ../libtool --tag=CXX   --mode=link
arm-unknown-linux-uclibcgnueabi-g++ -I../include -I../master -Wall -DREV=`if
test -s ../revision; then cat ../revision; else hg id -i .. 2>/dev/null ||
echo "unknown"; fi` -fno-strict-aliasing -g -O2   -o ethercat soe_errors.o
ethercat-Command.o ethercat-CommandAlias.o ethercat-CommandCStruct.o
ethercat-CommandConfig.o ethercat-CommandData.o ethercat-CommandDebug.o
ethercat-CommandDomains.o ethercat-CommandDownload.o
ethercat-CommandFoeRead.o ethercat-CommandFoeWrite.o ethercat-CommandGraph.o
ethercat-CommandMaster.o ethercat-CommandPdos.o ethercat-CommandRegRead.o
ethercat-CommandRegWrite.o ethercat-CommandRescan.o ethercat-CommandSdos.o
ethercat-CommandSiiRead.o ethercat-CommandSiiWrite.o
ethercat-CommandSlaves.o ethercat-CommandSoeRead.o
ethercat-CommandSoeWrite.o ethercat-CommandStates.o ethercat-CommandUpload.o
ethercat-CommandVersion.o ethercat-CommandXml.o ethercat-DataTypeHandler.o
ethercat-FoeCommand.o ethercat-MasterDevice.o ethercat-NumberListParser.o
ethercat-SdoCommand.o ethercat-SoeCommand.o ethercat-main.o
ethercat-sii_crc.o ethercat-CommandEoe.o  

libtool: link: arm-unknown-linux-uclibcgnueabi-g++ -I../include -I../master
-Wall -DREV=unknown -fno-strict-aliasing -g -O2 -o ethercat soe_errors.o
ethercat-Command.o ethercat-CommandAlias.o ethercat-CommandCStruct.o
ethercat-CommandConfig.o ethercat-CommandData.o ethercat-CommandDebug.o
ethercat-CommandDomains.o ethercat-CommandDownload.o
ethercat-CommandFoeRead.o ethercat-CommandFoeWrite.o ethercat-CommandGraph.o
ethercat-CommandMaster.o ethercat-CommandPdos.o ethercat-CommandRegRead.o
ethercat-CommandRegWrite.o ethercat-CommandRescan.o ethercat-CommandSdos.o
ethercat-CommandSiiRead.o ethercat-CommandSiiWrite.o
ethercat-CommandSlaves.o ethercat-CommandSoeRead.o
ethercat-CommandSoeWrite.o ethercat-CommandStates.o ethercat-CommandUpload.o
ethercat-CommandVersion.o ethercat-CommandXml.o ethercat-DataTypeHandler.o
ethercat-FoeCommand.o ethercat-MasterDevice.o ethercat-NumberListParser.o
ethercat-SdoCommand.o ethercat-SoeCommand.o ethercat-main.o
ethercat-sii_crc.o ethercat-CommandEoe.o 

make[2]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/tool'

Making all in lib

make[2]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/lib'

/bin/sh ../libtool  --tag=CC   --mode=compile
arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -I./..
-fno-strict-aliasing -g -O2 -MT libethercat_la-common.lo -MD -MP -MF
.deps/libethercat_la-common.Tpo -c -o libethercat_la-common.lo `test -f
'common.c' || echo './'`common.c

libtool: compile:  arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I.. -I./.. -fno-strict-aliasing -g -O2 -MT libethercat_la-common.lo -MD -MP
-MF .deps/libethercat_la-common.Tpo -c common.c -o libethercat_la-common.o

mv -f .deps/libethercat_la-common.Tpo .deps/libethercat_la-common.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile
arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -I./..
-fno-strict-aliasing -g -O2 -MT libethercat_la-domain.lo -MD -MP -MF
.deps/libethercat_la-domain.Tpo -c -o libethercat_la-domain.lo `test -f
'domain.c' || echo './'`domain.c

libtool: compile:  arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I.. -I./.. -fno-strict-aliasing -g -O2 -MT libethercat_la-domain.lo -MD -MP
-MF .deps/libethercat_la-domain.Tpo -c domain.c -o libethercat_la-domain.o

mv -f .deps/libethercat_la-domain.Tpo .deps/libethercat_la-domain.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile
arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -I./..
-fno-strict-aliasing -g -O2 -MT libethercat_la-master.lo -MD -MP -MF
.deps/libethercat_la-master.Tpo -c -o libethercat_la-master.lo `test -f
'master.c' || echo './'`master.c

libtool: compile:  arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I.. -I./.. -fno-strict-aliasing -g -O2 -MT libethercat_la-master.lo -MD -MP
-MF .deps/libethercat_la-master.Tpo -c master.c -o libethercat_la-master.o

mv -f .deps/libethercat_la-master.Tpo .deps/libethercat_la-master.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile
arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -I./..
-fno-strict-aliasing -g -O2 -MT libethercat_la-sdo_request.lo -MD -MP -MF
.deps/libethercat_la-sdo_request.Tpo -c -o libethercat_la-sdo_request.lo
`test -f 'sdo_request.c' || echo './'`sdo_request.c

libtool: compile:  arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I.. -I./.. -fno-strict-aliasing -g -O2 -MT libethercat_la-sdo_request.lo
-MD -MP -MF .deps/libethercat_la-sdo_request.Tpo -c sdo_request.c -o
libethercat_la-sdo_request.o

mv -f .deps/libethercat_la-sdo_request.Tpo
.deps/libethercat_la-sdo_request.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile
arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -I./..
-fno-strict-aliasing -g -O2 -MT libethercat_la-slave_config.lo -MD -MP -MF
.deps/libethercat_la-slave_config.Tpo -c -o libethercat_la-slave_config.lo
`test -f 'slave_config.c' || echo './'`slave_config.c

libtool: compile:  arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I.. -I./.. -fno-strict-aliasing -g -O2 -MT libethercat_la-slave_config.lo
-MD -MP -MF .deps/libethercat_la-slave_config.Tpo -c slave_config.c -o
libethercat_la-slave_config.o

mv -f .deps/libethercat_la-slave_config.Tpo
.deps/libethercat_la-slave_config.Plo

/bin/sh ../libtool  --tag=CC   --mode=compile
arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I..    -I./..
-fno-strict-aliasing -g -O2 -MT libethercat_la-voe_handler.lo -MD -MP -MF
.deps/libethercat_la-voe_handler.Tpo -c -o libethercat_la-voe_handler.lo
`test -f 'voe_handler.c' || echo './'`voe_handler.c

libtool: compile:  arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I.
-I.. -I./.. -fno-strict-aliasing -g -O2 -MT libethercat_la-voe_handler.lo
-MD -MP -MF .deps/libethercat_la-voe_handler.Tpo -c voe_handler.c -o
libethercat_la-voe_handler.o

mv -f .deps/libethercat_la-voe_handler.Tpo
.deps/libethercat_la-voe_handler.Plo

/bin/sh ../libtool --tag=CC   --mode=link
arm-unknown-linux-uclibcgnueabi-gcc -I./.. -fno-strict-aliasing -g -O2
-version-info 1:0:0  -o libethercat.la -rpath
/home/user1/buildroot-2011.05/output/target/opt/lib libethercat_la-common.lo
libethercat_la-domain.lo libethercat_la-master.lo
libethercat_la-sdo_request.lo libethercat_la-slave_config.lo
libethercat_la-voe_handler.lo  

libtool: link: ar cru .libs/libethercat.a  libethercat_la-common.o
libethercat_la-domain.o libethercat_la-master.o libethercat_la-sdo_request.o
libethercat_la-slave_config.o libethercat_la-voe_handler.o

libtool: link: ranlib .libs/libethercat.a

libtool: link: ( cd ".libs" && rm -f "libethercat.la" && ln -s
"../libethercat.la" "libethercat.la" )

make[2]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/lib'

Making all in examples

make[2]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples'

make  all-recursive

make[3]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples'

Making all in dc_user

make[4]: Entering directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples/dc_
user'

arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I../..
-I../../include -g -O2 -MT ec_dc_user_example-main.o -MD -MP -MF
.deps/ec_dc_user_example-main.Tpo -c -o ec_dc_user_example-main.o `test -f
'main.c' || echo './'`main.c

mv -f .deps/ec_dc_user_example-main.Tpo .deps/ec_dc_user_example-main.Po

/bin/sh ../../libtool --tag=CC   --mode=link
arm-unknown-linux-uclibcgnueabi-gcc -I../../include -g -O2 -L../../lib/.libs
-lethercat -lrt  -o ec_dc_user_example ec_dc_user_example-main.o  

libtool: link: arm-unknown-linux-uclibcgnueabi-gcc -I../../include -g -O2 -o
ec_dc_user_example ec_dc_user_example-main.o
-L/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/lib/.libs
/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/lib/.libs/lib
ethercat.a -lrt

ec_dc_user_example-main.o: In function `cyclic_task':

/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples/dc_u
ser/main.c:164: undefined reference to `clock_nanosleep'

collect2: ld returned 1 exit status

make[4]: *** [ec_dc_user_example] Error 1

make[4]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples/dc_
user'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples'

make[2]: *** [all] Error 2

make[2]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory
`/home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d'

make: *** [all] Error 2

user1 at dhcppc15:~/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20111118/bfb367ff/attachment-0004.htm>


More information about the Etherlab-users mailing list