Hello everybody, I'm trying to compile Clamav 0.87 on an AIX 4.3.3 system. I get the following error:
gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o -L/usr/local/lib -L../libclamav/.libs -lclamav -lz -lbz2 -lpthread -lnsl -Wl,-bnolibpath -Wl,-blibpath:/usr/local/lib:/usr/lib:/lib ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init ld: 0711-317 ERROR: Undefined symbol: .__gmpz_set_ui ld: 0711-317 ERROR: Undefined symbol: .__gmpz_mul_2exp ld: 0711-317 ERROR: Undefined symbol: .__gmpz_add ld: 0711-317 ERROR: Undefined symbol: .__gmpz_powm ld: 0711-317 ERROR: Undefined symbol: .__gmpz_clear ld: 0711-317 ERROR: Undefined symbol: .__gmpz_tdiv_qr_ui ld: 0711-317 ERROR: Undefined symbol: .__gmpz_get_ui ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init_set_str ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. It seems if the compiling process thinks that GMP has not been installed. But this is not the case. I have GMP 4.1.4 installed. The GMP library libgmp.a is located in /usr/local/lib. Does anybody have a clue to what the problem might be ? Thanks in advance... Robert van Bussel Open University of the Netherlands _______________________________________________ http://lurker.clamav.net/list/clamav-users.html