Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 17:20:25 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Tyler Spivey <tyler@wapvi.bc.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: include files
Message-ID:  <20000610172025.C795@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.LNX.4.10.10006100708110.15084-100000@viper.wapvi.bc.ca>
References:  <20000610113752.B795@strontium.scientia.demon.co.uk> <Pine.LNX.4.10.10006100708110.15084-100000@viper.wapvi.bc.ca>

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

--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 <protocols.h>' 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




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