View Single Post
Old May 29th, 2006, 12:11 AM   #1
J_I_M_B_O
Newbie
 
Join Date: May 2006
Posts: 12
Rep Power: 0 J_I_M_B_O is an unknown quantity at this point
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
J_I_M_B_O is offline   Reply With Quote