curl-library
Problems compiling simple.c on AIX with Visual Age compiler (xlc)
Date: Tue, 17 Feb 2004 10:05:26 -0800 (PST)
Hello,
I tried to compile the sample program simple.c on AIX
5.1 using IBM's Visual Age compiler, and I got the
following error at the linking stage:
> xlc -I/usr/local/include -L/usr/local/lib simple.c
-lcurl -lz
ld : 0711-317 ERREUR : Symbole non defini : .__umoddi3
ld : 0711-317 ERREUR : Symbole non defini : .__udivdi3
ld : 0711-317 ERREUR : Symbole non defini :
.__floatdidf
ld : 0711-345 Pour plus de dÈtails, utilisez
l'option -bloadmap ou -bnoquiet.
By the way "Symbole non defini" means "Undefined
symbol" in french.
After some research, I found that the missing symbols
come from libgcc. I was able to get hold of the
library by downloading the runtime version of gcc from
http://aixpdslib.seas.ucla.edu/packages/gccruntime.html
and extracted the libgcc.a. I recompiled with that
library but the compiler complained that the library
is not in the correct format. What is the problem?
Can't the xlc compiler understand libraries generated
with gcc?
Any ideas? Do I need to recompile libcurl with xlc. I
tried but it seems like the build procedure is
designed to work only with gcc.
Hicham Bahi
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
Received on 2004-02-17