Thomas, > This looks like a serious problem with your cross compiler / glibc > setup. Can you compile cyclictest on one of your desktop machines and > link it statically ?
As I wrote I have problems linking it statically! gcc -Wall -O2 -lpthread -lrt cyclictest.c -o cyclictest -static results in /tmp/cc30ryGd.o: In function `main': cyclictest.c:(.text+0x4a2): undefined reference to `pthread_create' cyclictest.c:(.text+0x6d9): undefined reference to `pthread_kill' cyclictest.c:(.text+0x6f0): undefined reference to `pthread_join' /tmp/cc30ryGd.o: In function `timerthread': cyclictest.c:(.text+0x839): undefined reference to `clock_gettime' cyclictest.c:(.text+0x881): undefined reference to `timer_settime' cyclictest.c:(.text+0x90c): undefined reference to `clock_gettime' cyclictest.c:(.text+0xa7b): undefined reference to `clock_gettime' cyclictest.c:(.text+0xa8c): undefined reference to `clock_nanosleep' cyclictest.c:(.text+0xb08): undefined reference to `timer_delete' cyclictest.c:(.text+0xb79): undefined reference to `clock_gettime' cyclictest.c:(.text+0xbd8): undefined reference to `clock_nanosleep' cyclictest.c:(.text+0xc37): undefined reference to `timer_create' collect2: ld returned 1 exit status while gcc -Wall -O2 cyclictest.c -o cyclictest -lrt -lpthread -static compiles and links fine! Any idea why the order matters? -- Steven - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
