Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 05:15:55 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Urban Olsson <Urban.E.Olsson@telia.se>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Compiling problems
Message-ID:  <20010522051555.A20670@xor.obsecurity.org>
In-Reply-To: <778DFE9B4E3BD111A74E08002BA3DC0D03DA520F@trab-hermes.haninge.trab.se>; from Urban.E.Olsson@telia.se on Tue, May 22, 2001 at 02:09:32PM %2B0200
References:  <778DFE9B4E3BD111A74E08002BA3DC0D03DA520F@trab-hermes.haninge.trab.se>

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

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

On Tue, May 22, 2001 at 02:09:32PM +0200, Urban Olsson wrote:

> "/usr/include/sys/socket.h:52: syntax error before =B4sa_family_t=B4"
>=20
> It seems to be a type related problem. It seems like the compiler does not
> recognize u_char, u_short etc. The solution is probably simple but the
> problem is no less irritating so some help would be appreciated.

You're missing at least one header, for example:

#include <sys/types.h>

Kris

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7Clh7Wry0BWjoQKURAra5AJ42ZDmv7HqeL7iH2eR70yl7ey81MwCfbY2m
2XRNQI9z9L2Ewaete/0dskM=
=na35
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--

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?20010522051555.A20670>