[Ecls-list] Problem compiling on Linux

David_Creelman at pa.com.au David_Creelman at pa.com.au
Tue Jan 30 22:24:36 UTC 2007


Hi,

I get this error when trying to compile the latest CVS on Linux.

cd build; make
make[1]: Entering directory `/home/davidc/download/ecl/ecl/build'
if [ -f CROSS-COMPILER ]; then \
                         touch ecl_min; \
             else \
                         gcc  -o ecl_min cinit.o c/all_symbols.o -L./
libeclmin.a -leclgmp -leclgc  -ldl  -lm  ;\            fi
libeclmin.a(num_log.o): In function `__gmpz_popcount':
/home/davidc/download/ecl/ecl/build/ecl/gmp.h:1736: undefined reference to
`__gmpn_popcount'
/home/davidc/download/ecl/ecl/build/ecl/gmp.h:1736: undefined reference to
`__gmpn_popcount'
.//libeclgmp.a(gcd_1.o): In function `__gmpn_gcd_1':
gcd_1.c:(.text+0x53): undefined reference to `__gmpn_modexact_1c_odd'
collect2: ld returned 1 exit status
make[1]: *** [ecl_min] Error 1
make[1]: Leaving directory `/home/davidc/download/ecl/ecl/build'
make: *** [all] Error 2

Tried looking at where the error happens, but I'm not familiar with gmps
internals.

Regards
David






More information about the ecl-devel mailing list