[Serdev] compile error on FreeBSD 5.2 'IPV6_ADD_MEMBERSHIP
undeclared'
Jev
jev at ecad.org
Fri Jul 23 17:32:36 UTC 2004
Hi Guys,
After a clean checkout of HEAD on FreeBSD 5.2-RELEASE #2 I get the
following error. Following the error you will find my OS version, source
version, gcc version.... Need more info? Let me know...
Cheers,
-Jev
quintero# gmake
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops
-malign-double -falign-loops -mcpu=athlon -DNAME='"ser"'
-DVERSION='"0.8.13-dev-36-malloc"' -DARCH='"i386"' -DOS='"freebsd"'
-DCOMPILER='"gcc 3.3"' -D__CPU_i386 -D__OS_freebsd
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -c udp_server.c -o udp_server.o
udp_server.c: In function `setup_mcast_rcvr':
udp_server.c:258: error: `IPV6_ADD_MEMBERSHIP' undeclared (first use in
this function)
udp_server.c:258: error: (Each undeclared identifier is reported only once
udp_server.c:258: error: for each function it appears in.)
gmake: *** [udp_server.o] Error 1
quintero# grep '$Id' udp_server.c
* $Id: udp_server.c,v 1.67 2004/07/05 15:19:14 andrei Exp $
quintero# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
quintero# uname -a
FreeBSD quintero 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Wed Jan 14 19:04:32
GMT 2004 jev at quintero:/usr/obj/usr/src/sys/QUINTERO i386
More information about the Serdev
mailing list