[uClibc] pthread_cond_timedwait error

Lee Lai laili at interepoch.com.tw
Tue Aug 2 10:51:34 UTC 2005


Hi everybody,

i got a test program from internet,it is a very simple test program witch uses pthread_cond_timedwait.
This program works fine on my pc,but when i port it to my embedded system, it shows some error messages when i run this program on my embedded system.

# test
transient_worker........
[60] test: obsolete system call 00ffffff.
Code: 00000014 7fffffff (00a80001) ffffffff 00a7c180
Illegal instruction

my embedded system spec is:
cpu: arm9
cc: arm-elf-gcc ( gcc version 2.95.3 20010315)
uclibc:0.9.26

compiler options:
arm-elf-gcc -D_REENTRANT -O2 -g -fomit-frame-pointer   -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -I/work/snapgear/lib/uClibc/include -I/work/snapgear/lib/libm -I/work/snapgear/lib/libcrypt_old -I/work/snapgear -fno-builtin -nostartfiles -I/work/snapgear/linux-2.4.x/include  -Wl,-elf2flt /work/snapgear/lib/uClibc/lib/crt0.o /work/snapgear/lib/uClibc/lib/crti.o /work/snapgear/lib/uClibc/lib/crtn.o -L/work/snapgear/lib/uClibc/. -L/work/snapgear/lib/uClibc/lib -L/work/snapgear/lib/libm -L/work/snapgear/lib/libnet -L/work/snapgear/lib/libdes -L/work/snapgear/lib/libaes -L/work/snapgear/lib/libpcap -L/work/snapgear/lib/libcrypt_old -L/work/snapgear/lib/libssl -L/work/snapgear/lib/zlib  test.c  -o  test -lm -lpthread


Any help or pointers will be greatly appreciated.
Thank you.

Lai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20050802/e403b1c2/attachment.htm 


More information about the uClibc mailing list