News:

Come Chat with us live! Learn how HERE!

Main Menu

Undefined reference to 'in6addr_any'

Started by googles, December 07, 2008, 09:38:04 PM

googles

Hi..Im having some problems compiling..When i try to compile i get the following error:


DED_CC src/qcommon/net_ip.c
LD build/release-mingw32-x86/tremded.x86.exe
build/release-mingw32-x86/ded/net_ip.o(.text+0x1309):net_ip.c: undefined reference to `in6addr_any'
build/release-mingw32-x86/ded/net_ip.o(.text+0x130f):net_ip.c: undefined reference to `in6addr_any'
build/release-mingw32-x86/ded/net_ip.o(.text+0x1318):net_ip.c: undefined reference to `in6addr_any'
build/release-mingw32-x86/ded/net_ip.o(.text+0x131e):net_ip.c: undefined reference to `in6addr_any'
make[2]: *** [build/release-mingw32-x86/tremded.x86.exe] Error 1


in6addr_any is a reference to ws2tcpip.h..Even thought i have the header file...any ideas?

Lakitu7

You know you're going to need to give more information, like what SVN revision you're trying to compile, if you have modified it, and information about your build environment.


Lakitu7

It does when compiled from later revisions. 1.1 does not.

googles

#4
I followed http://tremulous.net/forum/index.php?topic=3408.0 to the word...Im compiling a 32 bit FSM build...It worked fine for frak...Also, i can compile if i comment out the line, but then im stuck without IPv6 support...

Edit:

Forgot to add that I am using Windows to compile...

kevlarman

for those who find this thread with the search: you need mingw 4.x to compile trem with ipv6 support, upgrading will fix the issue.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----