Odd linker errors

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Jul 4 05:39:09 PDT 2004


On Sun, Jul 04, 2004 at 03:22:57AM -0600, Scott Long 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.
+> >
+> >Kris
+> >
+> 
+> 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.

They are visable in the userland. I'm using them in geom(8).

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- 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/20040704/03cb3a94/attachment.bin


More information about the freebsd-current mailing list