From: Tomasz Torcz <zdzichu@irc.pl>
To: linux-kernel@vger.kernel.org
Subject: Re: posix timer test program / glibc patch to make glibc posix compliant
Date: Sun, 21 Nov 2004 20:35:46 +0100 [thread overview]
Message-ID: <20041121193546.GA11338@irc.pl> (raw)
In-Reply-To: <Pine.LNX.4.58.0411181616590.418@schroedinger.engr.sgi.com>
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."
next prev parent reply other threads:[~2004-12-31 15:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-19 0:26 posix timer test program / glibc patch to make glibc posix compliant Christoph Lameter
2004-11-21 19:35 ` Tomasz Torcz [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-19 0:28 Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041121193546.GA11338@irc.pl \
--to=zdzichu@irc.pl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.