Odd linker errors

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sat, 3 Jul 2004 19:37:14 -0700
A number of ports are starting to fail with errors like:

net/clusterit:

> cc -O -pipe -DCLUSTERS -o dsh dsh.o ../common/common.o
> dsh.o(.text+0x86): In function `main':
> : undefined reference to `malloc_options'

net/mopd:

> file.o(.text+0x623): In function `GetAOutFileInfo':
> : undefined reference to `le32toh'
> file.o(.text+0x63b): In function `GetAOutFileInfo':
> : undefined reference to `le32toh'

math/grace:

> plotone.o(.text+0x19f): In function `do_hardcopy':
> : warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
> pdfdrv.o(.text+0x2f1): In function `pdfinitgraphics':
> : undefined reference to `PDF_open_fp'

The oddness is the lack of anything before the second colon in the
linker error; I don't remember seeing this before.  Also, I'm not sure
why clusterit and mopd are failing (grace is a port error).

Kris

Received on Sun Jul 04 2004 - 00:37:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC