On Wed, Apr 11, 2001 at 02:16:25PM +0530, K. H. Gowranga wrote:

>         LD_RUN_PATH="/usr/local/lib" ld -o
> blib/arch/auto/Cyrus/IMAP/IMAP.so  -bhalt:4 -bM:SRE
> -bI:/usr/local/lib/perl5/5.6.0/aix/CORE/perl.exp -bE:IMAP.exp -b noentry
> -lC -lc -L/usr/local/lib IMAP.o ../../lib/libcyrus.a    -lsasl -lssl
> -lcrypto 

[...]

> ld: 0711-317 ERROR: Undefined symbol: .__eprintf
> ld: 0711-317 ERROR: Undefined symbol: .__umoddi3

It seems you have compiled your libraries with gcc. So either use gcc
instead of ld for the final link, or add libgcc.a directly to the link
command. I personally avoid using gcc and compile everything with xlc.

Gabor

-- 
Gabor Gombas                                       Eotvos Lorand University
E-mail: [EMAIL PROTECTED]                        Hungary

Reply via email to