From: Mark Pilon <mpilon@midrivers.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: libc not finding atexit() w/ -lm
Date: Tue, 16 Oct 2001 08:06:38 -0600 [thread overview]
Message-ID: <3BCC3EEE.35029A2F@midrivers.com> (raw)
all,
I'm attempting to link a .o containing the whetstone benchmark
to a package of stand-alone (runs pre-linux) diags and, depending
where in LD's args I stick -lm:
whetstone.o: In function `whetstone_main':
whetstone.o(.text+0x414): undefined reference to `sin'
whetstone.o(.text+0x420): undefined reference to `cos'
whetstone.o(.text+0x434): undefined reference to `cos'
.
.
.
OR,
/home/mpilon/ppc_tools/ppc_home/powerpc-linux/lib/libc.so.6: undefined
reference to `atexit'
make[1]: *** [mercury] Error 1
make[1]: Leaving directory `/home/mpilon/mercury/diagboot'
-- I suspect I'd get the latter error if I fixed the first.
I built my own tools so I suspect a path problem or lack of a patch;
I searched the linuxppc-embedded list but found nothing for 'atexit'
all help appreciated,
Mark
--
Mark Pilon
Minolta-QMS
P.O. Box 37
Fallon, MT. 59326-0037
1-406-853-0433
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
reply other threads:[~2001-10-16 14:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3BCC3EEE.35029A2F@midrivers.com \
--to=mpilon@midrivers.com \
--cc=linuxppc-embedded@lists.linuxppc.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.