Re: Odd linker errors

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sun, 4 Jul 2004 14:39:06 +0200
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!

Received on Sun Jul 04 2004 - 10:39:09 UTC

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