|
undefined reference
Hi, I'm trying to compile something and I think it is in C.
There are 3 files t3wmbof.c, rwbits.h, and winerr.h.
I'm am using mingw but I get errors like:
E:\DOCUME~1\Jim\LOCALS~1\Temp/ccqY5aaa.o(.text+0x8a1):t3wmbof.c: undefined reference to `inet_ntoa@4'
E:\DOCUME~1\Jim\LOCALS~1\Temp/ccqY5aaa.o(.text+0x8f2):t3wmbof.c: undefined reference to `socket@12'
E:\DOCUME~1\Jim\LOCALS~1\Temp/ccqY5aaa.o(.text+0x954):t3wmbof.c: undefined reference to `closesocket@4'
E:\DOCUME~1\Jim\LOCALS~1\Temp/ccqY5aaa.o(.text+0x9ad):t3wmbof.c: undefined reference to `socket@12'
E:\DOCUME~1\Jim\LOCALS~1\Temp/ccqY5aaa.o(.text+0xc76):t3wmbof.c: undefined reference to `closesocket@4'
Any ideas how I can turn this into an exe file to be used in cmd? The souce files seems quit basic and are less than 15Kb in size.
Thanks for your time.
Jimbo
|