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.kra...@dspcg.com>
To: etherlab-users <etherlab-users@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>


 
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to