linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* libc not finding atexit() w/ -lm
@ 2001-10-16 14:06 Mark Pilon
  0 siblings, 0 replies; only message in thread
From: Mark Pilon @ 2001-10-16 14:06 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-16 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-16 14:06 libc not finding atexit() w/ -lm Mark Pilon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).