Re: Odd linker errors

From: David O'Brien <obrien_at_freebsd.org>
Date: Wed, 7 Jul 2004 00:46:19 -0700
On Sun, Jul 04, 2004 at 04:48:55AM -0700, Kris Kennaway wrote:
> > >>>>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.
> > >
> > >I couldn't even find where it was calling le32toh.
> > 
> > Are le32toh and similar functions supposed to be visible to userland?  I 
> > thought that they were only visible to the kernel.  Either way, 
> > something isn't right with your environment.
> 
> That's the weird thing, this is a clean world built a few days ago,
> and the port hasn't changed in 8 months.

This may be related to my sys/sys/imgact_aout.h or include/a.out.h
commits.  I'll take a look after I'm done chasing Binutils issues.

-- 
-- David  (obrien_at_FreeBSD.org)
Received on Wed Jul 07 2004 - 05:46:21 UTC

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