gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: Free and Open Source Axiom exists


From: Paul Zimmermann
Subject: [Gcl-devel] Re: Free and Open Source Axiom exists
Date: Mon, 17 Nov 2003 13:24:51 +0100

Tim,

   > On my laptop (Athlon under Mandrake 9.0):
   > norroy% make
   > ...
   > gcc -o raw_pre_gcl /var/tmp/axiom/obj/linux/lib/cfuns-c.o 
/var/tmp/axiom/obj/linux/lib/sockio-c.o \
   >         -L.   -lpre_gcl -lm  /usr/lib/libbfd.a /usr/lib/libiberty.a 
-lreadline -lncurses -lc -lgclp /var/tmp/axiom/obj/linux/lib/libspad.a
   > gcc: /usr/lib/libbfd.a: No such file or directory
   > gcc: /usr/lib/libiberty.a: No such file or directory
   > make[4]: *** [raw_pre_gcl] Error 1
   > make[4]: Leaving directory `/var/tmp/axiom/lsp/gcl-2.6.1/unixport'
   > make[3]: *** [unixport/saved_pre_gcl] Error 2
   > make[3]: Leaving directory `/var/tmp/axiom/lsp/gcl-2.6.1'
   > cp: cannot stat `unixport/saved_gcl': No such file or directory
   > make[2]: *** [gcldir] Error 1
   > make[2]: Leaving directory `/var/tmp/axiom/lsp'
   > make[1]: *** [lspdir] Error 2
   > make[1]: Leaving directory `/var/tmp/axiom'
   > make: *** [all] Error 2
   > 

   On the laptop it appears you need libbfd.a

I have libbfd, but only a dynamic library:

norroy% find /usr -name "libbfd*" -print
/usr/lib/libbfd-2.12.90.0.15.so
/usr/lib/libbfd.so

I have libiberty.h but no library:

norroy% find /usr -name "libiberty*" -print
/usr/include/libiberty.h

   I didn't run into this on Mandrake but did on Debian.
   I have a FAQ item that says:

   > FAQ 9: GCL does not build on my system: libbfd.a and bfd.a are missing
   > 
   > We are using the option \texttt{--enable-statsysbfd} when building GCL (see
   > lsp/Makefile) so libbfd.a and bfd.h files are necessary on your system.
   > 
   > On Debian GNU/Linux, the needed package is 'binutils-dev'.

   I'm not sure which package contains libbfd on Mandrake distros
   but I'll look and get back to you.

Ok, is --enable-statsysbfd really mandatory?
Btw I could not find this faq on the Axiom web page. Where is it?

   > mermoz% make
   > ...
   > cp init_pre_gcl.lsp foo
   > echo " (in-package \"USER\")(system:save-system \"saved_pre_gcl\")" >>foo
   > /tmp/axiom/lsp/gcl-2.6.1/unixport/raw_pre_gcl 
/tmp/axiom/lsp/gcl-2.6.1/unixport/ -libdir /tmp/axiom/lsp/gcl-2.6.1/ < foo
   > 
   > Unrecoverable error: Segmentation violation..
   > make[4]: *** [saved_pre_gcl] Error 134
   > rm init_pre_gcl.lsp raw_pre_gcl
   > make[4]: Leaving directory `/tmp/axiom/lsp/gcl-2.6.1/unixport'
   > make[3]: *** [unixport/saved_pre_gcl] Error 2
   > make[3]: Leaving directory `/tmp/axiom/lsp/gcl-2.6.1'
   > cp: cannot stat `unixport/saved_gcl': No such file or directory
   > make[2]: *** [gcldir] Error 1
   > make[2]: Leaving directory `/tmp/axiom/lsp'
   > make[1]: *** [lspdir] Error 2
   > make[1]: Leaving directory `/tmp/axiom'
   > make: *** [all] Error 2

   Segmentation violation? Wow, that's odd. It appears that the linker
   failed. What kind of workstation hardware are you running?

mermoz% cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 9
cpu MHz         : 2992.522
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips        : 5976.88

Regards,
Paul







reply via email to

[Prev in Thread] Current Thread [Next in Thread]