Re: posix timer test program / glibc patch to make glibc posix compliant
From: Tomasz Torcz (zdzichu_at_irc.pl)
Date: 11/21/04
- Previous message: Tomasz Torcz: "Re: Why no linux-2.6.8.2? (was Re: new dev model)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Nov 2004 20:35:46 +0100 To: linux-kernel@vger.kernel.org
On Thu, Nov 18, 2004 at 04:26:07PM -0800, Christoph Lameter wrote:
> 2. the source code of the program
How to compile your program? I'm getting linker errors:
zdzichu@mother:/mnt/ram% gcc -lpthread ct.c
/tmp/ccHn66Ii.o(.text+0x19): In function `t_clock_getres':
: undefined reference to `clock_getres'
/tmp/ccHn66Ii.o(.text+0x5c): In function `t_clock_gettime':
: undefined reference to `clock_gettime'
/tmp/ccHn66Ii.o(.text+0x9f): In function `t_clock_settime':
: undefined reference to `clock_settime'
/tmp/ccHn66Ii.o(.text+0xe2): In function `t_clock_getcpuclockid':
: undefined reference to `clock_getcpuclockid'
/tmp/ccHn66Ii.o(.text+0x13b): In function `t_timer_create':
: undefined reference to `timer_create'
/tmp/ccHn66Ii.o(.text+0x17e): In function `t_timer_gettime':
: undefined reference to `timer_gettime'
/tmp/ccHn66Ii.o(.text+0x1c4): In function `t_timer_settime':
: undefined reference to `timer_settime'
/tmp/ccHn66Ii.o(.text+0x20a): In function `t_timer_delete':
: undefined reference to `timer_delete'
/tmp/ccHn66Ii.o(.text+0x247): In function `t_timer_getoverrun':
: undefined reference to `timer_getoverrun'
/tmp/ccHn66Ii.o(.text+0xdb6): In function `clock_scan':
: undefined reference to `clock_gettime'
/tmp/ccHn66Ii.o(.text+0xdd8): In function `clock_scan':
: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
zdzichu@mother:/mnt/ram% fg
(-lpthread is needed to get rid of 'undefined reference to pthread_*'
errors). I have glibc-2.3.3-200410112214.
-- Tomasz Torcz "God, root, what's the difference?" zdzichu@irc.-nie.spam-.pl "God is more forgiving." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Tomasz Torcz: "Re: Why no linux-2.6.8.2? (was Re: new dev model)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Compiling? (win32 with mingw)
... I've been trying to compile 3.4.3 using gcc and MinGW under WinXP. ... but it
bugs me that I can't get the Windows/tiles version ... get a bunch of linker errors
along the lines of the following: ... undefined reference to `load_keyboard_handler' ...
(rec.games.roguelike.nethack) - Re: 2.4.24 doesnt compile clearly...
... > no lexical mistakes, but misleading information. ... > does not compile
for you, ... : undefined reference to `sis_malloc' ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - 2.6.10 compile error - blackbird_load_firmware
... I get the following error message when I try to compile the new ... :
undefined reference to `request_firmware' ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - [2.6.3-mm1] error reporting
... I tried to compile 2.6.3-mm1, and here is what I got: ... UPD include/linux/compile.h
... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Xilinx EDK : mb-gcc linker errors with C++ features
... linker errors result for "realloc" if Library/OS parameters ... system.make
program; exit;" Started... ... write.o: undefined reference to `outbyte' ...
same linker errors occur as listed above. ... (comp.arch.fpga)