From owner-freebsd-questions Tue May 22 5:15:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-9.dsl.lsan03.pacbell.net [63.207.60.9]) by hub.freebsd.org (Postfix) with ESMTP id 7D74137B424 for ; Tue, 22 May 2001 05:15:56 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id DADE066B5F; Tue, 22 May 2001 05:15:55 -0700 (PDT) Date: Tue, 22 May 2001 05:15:55 -0700 From: Kris Kennaway To: Urban Olsson Cc: freebsd-questions@FreeBSD.org Subject: Re: Compiling problems Message-ID: <20010522051555.A20670@xor.obsecurity.org> References: <778DFE9B4E3BD111A74E08002BA3DC0D03DA520F@trab-hermes.haninge.trab.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <778DFE9B4E3BD111A74E08002BA3DC0D03DA520F@trab-hermes.haninge.trab.se>; from Urban.E.Olsson@telia.se on Tue, May 22, 2001 at 02:09:32PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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