From owner-freebsd-questions Sat Jun 10 11:20:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id CDB3F37BEFE for ; Sat, 10 Jun 2000 11:20:09 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 130nzm-000HsN-00; Sat, 10 Jun 2000 17:20:26 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 130nzl-0007o0-00; Sat, 10 Jun 2000 17:20:25 +0100 Date: Sat, 10 Jun 2000 17:20:25 +0100 From: Ben Smithurst To: Tyler Spivey Cc: freebsd-questions@freebsd.org Subject: Re: include files Message-ID: <20000610172025.C795@strontium.scientia.demon.co.uk> References: <20000610113752.B795@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="dkEUBIird37B8yKS" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --dkEUBIird37B8yKS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tyler Spivey wrote: > how d i check? i have aceess to a linux shell. Well, see what's in Linux's protocols.h and see if any of the FreeBSD headers contain something similar. e.g. it might contain #define SOME_CONSTANT_NAME some_value or struct some_struct_name { =2E.. }; then you can try $ find /usr/include | xargs grep SOME_CONSTANT_NAME so find a FreeBSD header with similar stuff (or some_struct_name, or whatever). If you don't find anything in the Linux header which you can find on FreeBSD, I don't know what else to suggest, other than removing the '#include ' line from whatever you're compiling and see what errors you get. If gcc says 'FOO_BAR undeclared' then grep for FOO_BAR in FreeBSD's header files (see find/xargs command above). hope this helps, --=20 Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D --dkEUBIird37B8yKS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: B3xGf1dOAXjGTppzHLHygcUr4NXIZw4K iQCVAwUBOUJqxisPVtiZOS99AQHY4wQApRPrJS7yiVu55694+IM/XzhBQHyHxLty GNU2GMSSvKxbBT2BqgMuMsI5LaAjRQXkx05u0Z1mHanlGz3hmGqsgIEw1QOROs9A 3WxROS/TXvCnGi2TgxnKQGjGopRhJ4wALyywJp14acjLhZkxoWiabGNqaOMxXhji +Zcx27nTgQE= =OjMy -----END PGP SIGNATURE----- --dkEUBIird37B8yKS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message