Gabriel Dos Reis <[EMAIL PROTECTED]> writes: | Hi Camm, | | Building GCL-2.6.7 (either pristine release or as part of Axiom) | with GCC-4.2.0 (development source code) on an x86 fails with the | following: | | [...] | | gcc -o raw_gcl \ | -L. -Wl,-Map raw_gcl_map -lgcl -lm -lgmp /usr/lib/libbfd.a /home/gdr/lib/libiberty.a -lreadline -lncurses -lc -lgclp ./libgcl.a(sys_gcl.o)(.text+0x480f): In function `gcl_init_system': | sys_gcl.c: undefined reference to `init_gcl_cmptop' | collect2: ld returned 1 exit status
Additional information: I don't know whether that helps or not [obviously, I'm not familiar with GCL build machinery :-)]. From the build directory, all .o files in cmpnew/ are usual .o files, except gcl_cmptop.o which is identical to gcl_cmptop.data; I suppose that is key to the misbehaviour? soliton[5:16]% file cmpnew/*.o ~/build/gcl-2.6.7 cmpnew/gcl_cmpbind.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpblock.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpcall.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpcatch.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpenv.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpeval.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpflet.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpfun.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpif.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpinline.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmplabel.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmplam.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmplet.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmploc.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpmap.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpmulti.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpspecial.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmptag.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmptop.o: ASCII English text, with very long lines cmpnew/gcl_cmptype.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmputil.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpvar.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpvs.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped cmpnew/gcl_cmpwt.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped soliton[5:17]% diff cmpnew/gcl_cmptop.o cmpnew/gcl_cmptop.data soliton[5:17]% ~/build/gcl-2.6.7 -- Gaby _______________________________________________ Axiom-developer mailing list Axiom-developer@nongnu.org http://lists.nongnu.org/mailman/listinfo/axiom-developer