[quake2] quake2 on ipv6

mike at vinge.mine.nu mike at vinge.mine.nu
Mon Feb 18 15:50:25 EST 2002


i just got ipv6 working in linux, and i'm trying to compile quake2.
however, these are the errors i get:

gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DHAVE_SIN6_LEN -O2
-ffast-math -funroll-loops -malign-loops=2 -malign-jumps=2
-malign-functions=2 -g -DLINUX_VERSION='"3.21+rCVS"' -o
releasei386/client/net_udp6.o -c src/linux/net_udp6.c
src/linux/net_udp6.c: In function `NetadrToSockadr':
src/linux/net_udp6.c:103: structure has no member named `sin6_len'
src/linux/net_udp6.c:115: structure has no member named `ss_len'
src/linux/net_udp6.c:130: structure has no member named `sin6_len'
src/linux/net_udp6.c: In function `NET_BaseAdrToString':
src/linux/net_udp6.c:267: structure has no member named `ss_len'
src/linux/net_udp6.c:275: structure has no member named `sin6_len'
src/linux/net_udp6.c:288: structure has no member named `ss_len'
src/linux/net_udp6.c: In function `NET_SendPacket':
src/linux/net_udp6.c:614: structure has no member named `sin6_len'
src/linux/net_udp6.c: In function `NET_Socket':
src/linux/net_udp6.c:757: warning: `newsocket' might be used
uninitialized in this function
make[1]: *** [releasei386/client/net_udp6.o] Error 1

I looked around, and i guess sin6_len is supposed to be defined in
<netinet/in.h>, but my (glibc2.2.4) version doesn't have it. Any idea
where i could get one that works?
 
-- 
To smash a single atom, all mankind was intent.
Now any day the atom may return the compliment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake2/attachments/20020218/4f4fc5de/attachment.pgp>


More information about the quake2 mailing list