Dear Developers,

First of all, sorry for the long time in responding as most of my fricas build problems have gone away.

Present state of play is that

[1] I have upgraded to Snow Leopard - OS 10.6.8 and XCode 3.2.
[2] I can build fricas using sbcl  1.0.53 with
cd ~/fricas-1.1.4
./configure
# -j8 because I have a 4 core Xeon; try -j4 or lower for Core2 cpu's:
make -j8
su
make install

[3] I can build gmp with
./configure
make
make check # (everything passes)
su
make install

[4] I still can't build fricas with gmp and I think it may well be simply that I don't know the
magic imprecations to get the build to work.

Here is what I have tried:

./configure --enable-gmp
make

this fails, with the tail end of the output:

gcc -g -fPIC -O2 -fno-strength-reduce -Wall -D_GNU_SOURCE -I/usr/include -I/usr/include/sys -c -I/Users/jalaluddin/Downloads/fricas-1.1.4/src/include -I/Users/jalaluddin/Downloads/fricas-1.1.4/config XSpadFill.c -o XSpadFill.o ar ru libspad.a bsdsignal.o cfuns-c.o sockio-c.o cursor.o edin.o fnct_key.o openpty.o prt.o wct.o halloc.o hash.o pixmap.o spadcolors.o util.o XDither.o XShade.o XSpadFill.o
ar: creating archive libspad.a
ranlib libspad.a
gcc -g -dynamiclib -single_module bsdsignal.o cfuns-c.o sockio-c.o -o /Users/jalaluddin/Downloads/fricas-1.1.4/target/i686-apple-darwin10.8.0/lib/libspad.so gcc -g -fPIC -dynamiclib -single_module gmp_wrap.c -o /Users/jalaluddin/Downloads/fricas-1.1.4/target/i686-apple-darwin10.8.0/lib/gmp_wrap.so
Undefined symbols:
  "___gmpn_mul", referenced from:
      _gmp_sb_mul in cctZH9Na.o
  "___gmpn_tdiv_qr", referenced from:
      _gmp_sb_div_rem in cctZH9Na.o
  "___gmpn_lshift", referenced from:
      _gmp_gcd0 in cctZH9Na.o
  "___gmpn_rshift", referenced from:
      _gmp_gcd0 in cctZH9Na.o
      _gmp_gcd0 in cctZH9Na.o
  "___gmpn_sqrtrem", referenced from:
      _gmp_sb_isqrt in cctZH9Na.o
  "___gmpn_gcd", referenced from:
      _gmp_gcd0 in cctZH9Na.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [/Users/jalaluddin/Downloads/fricas-1.1.4/target/i686-apple-darwin10.8.0/lib/gmp_wrap.so] Error 1
make[1]: *** [all-lib] Error 2
make: *** [all-src] Error 2
sh-3.2#

Any clues as to what to do?

Note that this is not a high priority as I have a functioning up-to-date fricas;
for all I know the problem may go away if and when I upgrade to XCode 3.2.6.

Regards,

Jalaluddin

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to