Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2004 14:39:06 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Scott Long <scottl@samsco.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Odd linker errors
Message-ID:  <20040704123906.GF12007@darkness.comp.waw.pl>
In-Reply-To: <40E7CC71.50008@samsco.org>
References:  <20040704023714.GA73697@xor.obsecurity.org> <40E7B878.3070203@samsco.org> <20040704091011.GA81143@xor.obsecurity.org> <40E7CC71.50008@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--uYWnFw6jrkLK8Xp0
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
+> >
+>=20
+> Are le32toh and similar functions supposed to be visible to userland?  I=
=20
+> thought that they were only visible to the kernel.  Either way,=20
+> something isn't right with your environment.

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

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--uYWnFw6jrkLK8Xp0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA5/pqForvXbEpPzQRAipxAKDh3JTxHQLLgDT4Cowu4jcm1onWLgCguzVs
ZdFsUBh7doAxTOMolrKbOY0=
=a0m3
-----END PGP SIGNATURE-----

--uYWnFw6jrkLK8Xp0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040704123906.GF12007>