curl-users
Re: Basic Sample - ERROR
From: Andrés García <fandom_at_retemail.es>
Date: Sun, 29 Dec 2002 02:22:32 +0100
Date: Sun, 29 Dec 2002 02:22:32 +0100
> Please, can you tell me why I get this error message,
>
> C:\CURLAPP>make -f makefile.win
> gcc -c mysource.c -I"C:/curl/include"
> gcc -o myapp mysource.o -I"C:/curl/include" -L"C:/curl" -l"curl"
> C:/curl/libcurl.a(easy.o)(.text+0x23): undefined reference to
> `WSAStartup_at_8'
> C:/curl/libcurl.a(easy.o)(.text+0x3c): undefined reference to
> `WSACleanup_at_0'
Try:
gcc -o myapp mysource.o -I"C:/curl/include"-L"C:/curl" -lcurl -lwsock32
-lws2_32 -lwinmm
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-29