Date: Sun, 04 Jul 2004 01:57:44 -0600 From: Scott Long <scottl@samsco.org> To: Kris Kennaway <kris@obsecurity.org> Cc: current@freebsd.org Subject: Re: Odd linker errors Message-ID: <40E7B878.3070203@samsco.org> In-Reply-To: <20040704023714.GA73697@xor.obsecurity.org> References: <20040704023714.GA73697@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote: > 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' > The addition of files/patch-dsh-dsh.c seems to be triggering this. It appears to declare the 'malloc_options' symbol. Looking at stdlib.h, the real name should be '_malloc_options' (and including stdlib.h is the better way to get this declaration). This is also documented correctly in the malloc(2) manpage. > > net/mopd: > > >>file.o(.text+0x623): In function `GetAOutFileInfo': >>: undefined reference to `le32toh' >>file.o(.text+0x63b): In function `GetAOutFileInfo': >>: undefined reference to `le32toh' > I can't reproduce this here. However, netbooting a VAX probably isn't a terribly common occurrance these days. > > 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' > This one gives me: ===> Registering installation for pdflib-5.0.3_1 ===> Returning to build of grace-5.1.14_3 Error: shared library "pdf.7" does not exist *** Error code 1 Stop in /usr/ports/math/grace. Note that grace/files/patch-ai was recently removed, but I'm not sure if it makes a difference. Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E7B878.3070203>