[etherlab-users] install on non-PC
babbittner at aol.com
babbittner at aol.com
Fri Nov 18 18:27:31 CET 2011
Apparently uclibc doesn't provide clock_nanosleep.
For a possible solution see: http://lists.uclibc.org/pipermail/uclibc/2010-March/043660.html
-----Original Message-----
From: Jeff Krasky <jeff.krasky at dspcg.com>
To: etherlab-users <etherlab-users at etherlab.org>
Sent: Fri, Nov 18, 2011 9:24 am
Subject: Re: [etherlab-users] install on non-PC
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=armCXX=arm-unknown-linux-uclibcgnueabi-g++ CC=arm-unknown-linux-uclibcgnueabi-gcc
and then Idid a
make clean
and then
make ARCH=arm CROSS_COMPILE=arm-unknown-linux-uclibcgnueabi-
The problem that standsout now appears to be this: /home/user1/Desktop/EtherCAT4Atmel/etherlabmaster-4adb56c4198d/examples/dc_user/main.c:164:undefined reference to `clock_nanosleep'
collect2: ld returned 1 exit status
Is ‘clock_nanosleep’ something that isdefined for Desktop Linux but not for the embedded Linux?
<deletia>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20111118/3db8c089/attachment-0004.htm>
More information about the Etherlab-users
mailing list