Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 09:42:13 -0200 (EDT)
From:      "Gustavo Rios" <grios@ddsecurity.com.br>
To:        freebsd-hackers@freebsd.org
Subject:   Included file errors
Message-ID:  <Pine.BSF.4.10.9911170938160.2084-100000@vitoria.ddsecurity.com.br>

next in thread | raw e-mail | index | archive | help
I am trying to compile a C source, but i get some strange error.

In file included from stats.c:15:
/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
union
/usr/include/sys/socket.h:140: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:142: parse error before `}'
/usr/include/sys/socket.h:150: parse error before `u_short'
/usr/include/sys/socket.h:150: warning: no semicolon at end of struct or
union
/usr/include/sys/socket.h:151: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:266: parse error before `caddr_t'
/usr/include/sys/socket.h:266: warning: no semicolon at end of struct or
union
/usr/include/sys/socket.h:267: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:269: parse error before `msg_iovlen'
/usr/include/sys/socket.h:269: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:270: parse error before `msg_control'
/usr/include/sys/socket.h:270: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:271: parse error before `msg_controllen'
/usr/include/sys/socket.h:271: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:273: parse error before `}'
/usr/include/sys/socket.h:293: parse error before `u_int'
/usr/include/sys/socket.h:293: warning: no semicolon at end of struct or
union
/usr/include/sys/socket.h:297: parse error before `}'
/usr/include/sys/socket.h:314: parse error before `pid_t'
/usr/include/sys/socket.h:314: warning: no semicolon at end of struct or
union
/usr/include/sys/socket.h:315: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:316: parse error before `cmcred_euid'
/usr/include/sys/socket.h:316: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:317: parse error before `cmcred_gid'
/usr/include/sys/socket.h:317: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:319: parse error before `cmcred_groups'
/usr/include/sys/socket.h:319: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:320: parse error before `}'
/usr/include/sys/socket.h:343: parse error before `u_short'
/usr/include/sys/socket.h:343: warning: no semicolon at end of struct or
union
/usr/include/sys/socket.h:345: parse error before `}'
/usr/include/sys/socket.h:351: parse error before `caddr_t'
/usr/include/sys/socket.h:351: warning: no semicolon at end of struct or
union
/usr/include/sys/socket.h:355: parse error before `msg_accrights'
/usr/include/sys/socket.h:355: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:357: parse error before `}'
/usr/include/sys/socket.h:388: parse error before `recv'
/usr/include/sys/socket.h:388: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:389: parse error before `recvfrom'
/usr/include/sys/socket.h:389: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:390: parse error before `recvmsg'
/usr/include/sys/socket.h:390: warning: data definition has no type or
storage class
...
...
...
In file included from stats.c:16:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
/usr/include/arpa/inet.h:92: warning: parameter has incomplete type
/usr/include/arpa/inet.h:96: warning: parameter has incomplete type


BTW, i am running 3.3Stable.

--
ADA, n.:
	Something you need only know the name of to be an Expert in
Computing.  Useful in sentences like, "We had better develop an ADA
awareness."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911170938160.2084-100000>