Odd linker errors

Kris Kennaway kris at obsecurity.org
Sat Jul 3 19:37:16 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040703/9eb4bed1/attachment.bin


More information about the freebsd-current mailing list