Netinet6
From: Aaron Dalton (aaron_at_finch.st)
Date: 10/31/03
- Previous message: Xpression: "crontab question..."
- Next in thread: Kris Kennaway: "Re: Netinet6"
- Reply: Kris Kennaway: "Re: Netinet6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-questions@freebsd.org Date: Fri, 31 Oct 2003 12:15:03 -0700
I have been trying to compile some C++ socket code. I get the same
errors with multiple software packages so I'm thinking it's something
FreeBSD-related. I am a BSD newb so I would appreciate any advice you
could give me. Below are the errors themselves. Thank you so much for
your time.
-BEGIN COMPILER OUTPUT
gcc -Wall -fPIC -I../include -funroll-all-loops -ffast-math
-fomit-frame-pointer -O2 -D_GNU_SOURCE -D_REENTRANT -c loopback.c
In file included from nlinternal.h:31,
from loopback.c:33:
/usr/include/malloc.h:2: warning: #warning "this file includes
<malloc.h> which is deprecated, use <stdlib.h> instead"
In file included from loopback.c:51:
/usr/include/netinet/in.h:235: syntax error before `in_addr_t'
/usr/include/netinet/in.h:287: syntax error before `u_char'
In file included from /usr/include/netinet/in.h:469,
from loopback.c:51:
/usr/include/netinet6/in6.h:122: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:144: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:149: syntax error before `u_int32_t'
/usr/include/netinet6/in6.h:612: syntax error before `*'
/usr/include/netinet6/in6.h:613: warning: type defaults to `int' in
declaration of `inet6_option_append'
/usr/include/netinet6/in6.h:614: syntax error before `*'
/usr/include/netinet6/in6.h:614: warning: type defaults to `int' in
declaration of `inet6_option_alloc'
/usr/include/netinet6/in6.h:614: warning: data definition has no type or
storage class
/usr/include/netinet6/in6.h:615: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:631: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:636: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:638: syntax error before `u_int8_t'
loopback.c: In function `loopback_Read':
loopback.c:480: warning: implicit declaration of function `ntohs'
loopback.c: In function `loopback_WritePacket':
loopback.c:556: warning: implicit declaration of function `htons'
*** Error code 1
Stop in /home/aaron/Desktop/hawknl/src.
-END COMPILER OUTPUT
-- Aaron Dalton aaron@finch.st http://aaron.finch.st _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Xpression: "crontab question..."
- Next in thread: Kris Kennaway: "Re: Netinet6"
- Reply: Kris Kennaway: "Re: Netinet6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|