Odd linker errors

David O'Brien obrien at freebsd.org
Wed Jul 7 00:46:21 PDT 2004


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)


More information about the freebsd-current mailing list