Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 1999 22:10:24 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Sean-Paul Rees <sean@flame.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: socket.h errors
Message-ID:  <19990305221023.A14607@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.05.9903051926530.83676-100000@valiant.dreamfire.net>; from "Sean-Paul Rees" on Fri Mar  5 19:28:44 GMT 1999
References:  <Pine.BSF.4.05.9903051926530.83676-100000@valiant.dreamfire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 05), Sean-Paul Rees said:
> Background: I have written several little network utilities.
> 
> Problem: I get a strange socket.h set of parse errors, and I can't figure
> out whats wrong.
> 
> Information: I get the following errors. How do I fix them?
> [sean@valiant]-~/coding/c/netutil/netutil> make
> gcc -O2 -c main.c
> In file included from netutil.h:18,
>                  from main.c:17:
> /usr/include/sys/socket.h:139: parse error before `u_char'
> /usr/include/sys/socket.h:139: warning: no semicolon at end of struct or

man inet and make sure you have all the required #includes, in the
right order.

	-Dan Nelson
	dnelson@emsphone.com


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?19990305221023.A14607>