I'm rather new to C++ programing. I'm using the dev-C++ program on a
windows XP OS. I'm trying to compile the code for a multi user dungeon
(MUD) called circle-mud.
When I compile I get the following errors:
----
Compiler: Default compiler
Building Makefile: "C:\EvoMud\circle-3.1\src\Makefile.win"
Executing make...
make.exe -f "C:\EvoMud\circle-3.1\src\Makefile.win" all
g++.exe act.comm.o act.informative.o act.item.o act.movement.o
act.offensive.o act.other.o act.social.o act.wizard.o alias.o ban.o
boards.o bsd-snprintf.o castle.o class.o comm.o config.o constants.o
db.o fight.o graph.o handler.o house.o interpreter.o limits.o magic.o
mail.o mobact.o modify.o objsave.o olc.o random.o shop.o spec_assign.o
spec_procs.o spell_parser.o spells.o utils.o weather.o -o "EvoMud.exe"
-L"C:/Dev-Cpp/lib"
comm.o(.text+0x4ec):comm.c: undefined reference to `closesocket@4'
comm.o(.text+0x570):comm.c: undefined reference to `WSAStartup@8'
comm.o(.text+0x5db):comm.c: undefined reference to `socket@12'
comm.o(.text+0x5ec):comm.c: undefined reference to `WSAGetLastError@0'
comm.o(.text+0x639):comm.c: undefined reference to `setsockopt@20'
comm.o(.text+0x6a2):comm.c: undefined reference to `setsockopt@20'
comm.o(.text+0x6e2):comm.c: undefined reference to `htons@4'
comm.o(.text+0x70d):comm.c: undefined reference to `bind@12'
comm.o(.text+0x72b):comm.c: undefined reference to `closesocket@4'
comm.o(.text+0x758):comm.c: undefined reference to `listen@8'
comm.o(.text+0x846):comm.c: undefined reference to `select@20'
comm.o(.text+0xb4f):comm.c: undefined reference to `select@20'
comm.o(.text+0xb7c):comm.c: undefined reference to `__WSAFDIsSet@8'
comm.o(.text+0xbd2):comm.c: undefined reference to `__WSAFDIsSet@8'
comm.o(.text+0xd28):comm.c: undefined reference to `__WSAFDIsSet@8'
comm.o(.text+0x1080):comm.c: undefined reference to `__WSAFDIsSet@8'
comm.o(.text+0x1f65):comm.c: undefined reference to `htonl@4'
comm.o(.text+0x1fa9):comm.c: undefined reference to `htonl@4'
comm.o(.text+0x1fbd):comm.c: undefined reference to `htonl@4'
comm.o(.text+0x1fe3):comm.c: undefined reference to `inet_ntoa@4'
comm.o(.text+0x200f):comm.c: undefined reference to `inet_addr@4'
comm.o(.text+0x2071):comm.c: undefined reference to `setsockopt@20'
comm.o(.text+0x20c8):comm.c: undefined reference to `accept@12'
comm.o(.text+0x2111):comm.c: undefined reference to `closesocket@4'
comm.o(.text+0x216a):comm.c: undefined reference to `closesocket@4'
comm.o(.text+0x21cf):comm.c: undefined reference to `gethostbyaddr@12'
comm.o(.text+0x21fb):comm.c: undefined reference to `inet_ntoa@4'
comm.o(.text+0x2269):comm.c: undefined reference to `closesocket@4'
comm.o(.text+0x278d):comm.c: undefined reference to `send@16'
comm.o(.text+0x27c1):comm.c: undefined reference to `WSAGetLastError@0'
comm.o(.text+0x27cd):comm.c: undefined reference to `WSAGetLastError@0'
comm.o(.text+0x289f):comm.c: undefined reference to `recv@16'
comm.o(.text+0x28d3):comm.c: undefined reference to `WSAGetLastError@0'
comm.o(.text+0x28df):comm.c: undefined reference to `WSAGetLastError@0'
comm.o(.text+0x3108):comm.c: undefined reference to `closesocket@4'
comm.o(.text+0x35a8):comm.c: undefined reference to `ioctlsocket@12'
collect2: ld returned 1 exit status
make.exe: *** [EvoMud.exe] Error 1
Execution terminated
----
comm.o is some sort of encrypted file. I had never even heard of
".o" files before.
Thanks!