cURL / Mailing Lists / curl-users / Single Mail

curl-users

Linking problem with a sample example ftpget.c

From: karim Hamed-Abdelouahab <khamed_at_progese.com>
Date: Thu, 13 Mar 2003 10:10:50 +0100

Hi,

I tried to compile the example "ftpget.c" on a linux (RedHat 8.0
distribution) with gcc (gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)). I
downloaded the libcurl (version 7.10.2) and I installed openssl-0.9.6i.

I tried also with libcurl (version 7.10.3) I've got the same linking problem
like printed among:

gcc -c -g main.cc
gcc -o ../../../bin/recorder main.o -lcurl -lssl -lcrypto
main.o: In function `main':
/home/khamed/dev/src/recorder/src/main.cc:31: undefined reference to
`__gxx_personality_v0'
collect2: ld a retourné 1 code d'état d'exécution
make: *** [recorder] Erreur 1

Can someone help me?

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-13