Problems compiling simple.c on AIX with Visual Age compiler (xlc)
Date: Tue, 17 Feb 2004 10:05:26 -0800 (PST)
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
ld : 0711-317 ERREUR : Symbole non defini : .__umoddi3
ld : 0711-317 ERREUR : Symbole non defini : .__udivdi3
ld : 0711-317 ERREUR : Symbole non defini :
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
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
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.
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
Received on 2004-02-17