aloneinc
شنبه 07 مهر 1386, 13:44 عصر
با یاد او
هنگام کامپایل یه سوکت به این ارور ها برخورد کردم دلیل چیه ؟
main.o(.text+0x730):main.c: undefined reference to `WSAStartup@8'
main.o(.text+0x753):main.c: undefined reference to `WSACleanup@0'
main.o(.text+0x76d):main.c: undefined reference to `gethostbyname@4'
main.o(.text+0x800):main.c: undefined reference to `htons@4'
main.o(.text+0x826):main.c: undefined reference to `socket@12'
main.o(.text+0x85f):main.c: undefined reference to `connect@12'
main.o(.text+0x8b0):main.c: undefined reference to `recv@16'
main.o(.text+0x93d):main.c: undefined reference to `send@16'
main.o(.text+0x977):main.c: undefined reference to `recv@16'
main.o(.text+0xa46):main.c: undefined reference to `send@16'
main.o(.text+0xa80):main.c: undefined reference to `recv@16'
main.o(.text+0xb4f):main.c: undefined reference to `send@16'
main.o(.text+0xb89):main.c: undefined reference to `recv@16'
main.o(.text+0xc16):main.c: undefined reference to `send@16'
main.o(.text+0xc50):main.c: undefined reference to `recv@16'
main.o(.text+0xdc1):main.c: undefined reference to `send@16'
main.o(.text+0xdfb):main.c: undefined reference to `recv@16'
main.o(.text+0xe88):main.c: undefined reference to `send@16'
main.o(.text+0xec2):main.c: undefined reference to `recv@16'
main.o(.text+0xf0b):main.c: undefined reference to `closesocket@4'
main.o(.text+0xf13):main.c: undefined reference to `WSACleanup@0'
هنگام کامپایل یه سوکت به این ارور ها برخورد کردم دلیل چیه ؟
main.o(.text+0x730):main.c: undefined reference to `WSAStartup@8'
main.o(.text+0x753):main.c: undefined reference to `WSACleanup@0'
main.o(.text+0x76d):main.c: undefined reference to `gethostbyname@4'
main.o(.text+0x800):main.c: undefined reference to `htons@4'
main.o(.text+0x826):main.c: undefined reference to `socket@12'
main.o(.text+0x85f):main.c: undefined reference to `connect@12'
main.o(.text+0x8b0):main.c: undefined reference to `recv@16'
main.o(.text+0x93d):main.c: undefined reference to `send@16'
main.o(.text+0x977):main.c: undefined reference to `recv@16'
main.o(.text+0xa46):main.c: undefined reference to `send@16'
main.o(.text+0xa80):main.c: undefined reference to `recv@16'
main.o(.text+0xb4f):main.c: undefined reference to `send@16'
main.o(.text+0xb89):main.c: undefined reference to `recv@16'
main.o(.text+0xc16):main.c: undefined reference to `send@16'
main.o(.text+0xc50):main.c: undefined reference to `recv@16'
main.o(.text+0xdc1):main.c: undefined reference to `send@16'
main.o(.text+0xdfb):main.c: undefined reference to `recv@16'
main.o(.text+0xe88):main.c: undefined reference to `send@16'
main.o(.text+0xec2):main.c: undefined reference to `recv@16'
main.o(.text+0xf0b):main.c: undefined reference to `closesocket@4'
main.o(.text+0xf13):main.c: undefined reference to `WSACleanup@0'