OS X 10.4 continues... Here is my next build error, this time in linking
mwrank in the Sage library. Apparently something wasn't completely
compiled in the libflint build? In particular, there is apparently only a
libflint.a compiled in my log for the flint spkg (pkg?), though there is
both .a and .dylib in local/lib, and there is something in them related to
this:
$ nm -a local/lib/libflint.dylib | grep _nmod_mat_clear
U _nmod_mat_clear
U _nmod_mat_clear
U _nmod_mat_clear
000e597c T _nmod_mat_clear
U _nmod_mat_clear
U _nmod_mat_clear
U _nmod_mat_clear
001a6860 T _fq_nmod_mat_clear
001a6860 - 01 0022 FUN fq_nmod_mat_clear:F(0,1)=(0,1)
U _fq_nmod_mat_clear
U _fq_nmod_mat_clear
So a lot of these are undefined, but at least one of them isn't - I'm in
way over my head here, though. Here's the error, anyway.
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -DNTL_ALL
-I/Users/student/Desktop/sage-6.2.beta4/local/include
-I/Users/student/Desktop/sage-6.2.beta4/local/include/csage
-I/Users/student/Desktop/sage-6.2.beta4/src
-I/Users/student/Desktop/sage-6.2.beta4/src/sage/ext
-I/Users/student/Desktop/sage-6.2.beta4/local/include
-I/Users/student/Desktop/sage-6.2.beta4/local/include/csage
-I/Users/student/Desktop/sage-6.2.beta4/src
-I/Users/student/Desktop/sage-6.2.beta4/src/sage/ext
-I/Users/student/Desktop/sage-6.2.beta4/local/include/python2.7 -c
sage/libs/mwrank/mwrank.c -o
build/temp.macosx-10.4-ppc-2.7/sage/libs/mwrank/mwrank.o
-fno-strict-aliasing -w
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -DNTL_ALL
-I/Users/student/Desktop/sage-6.2.beta4/local/include
-I/Users/student/Desktop/sage-6.2.beta4/local/include/csage
-I/Users/student/Desktop/sage-6.2.beta4/src
-I/Users/student/Desktop/sage-6.2.beta4/src/sage/ext
-I/Users/student/Desktop/sage-6.2.beta4/local/include
-I/Users/student/Desktop/sage-6.2.beta4/local/include/csage
-I/Users/student/Desktop/sage-6.2.beta4/src
-I/Users/student/Desktop/sage-6.2.beta4/src/sage/ext
-I/Users/student/Desktop/sage-6.2.beta4/local/include/python2.7 -c
sage/libs/mwrank/wrap.cc -o
build/temp.macosx-10.4-ppc-2.7/sage/libs/mwrank/wrap.o -fno-strict-aliasing
-w
g++ -bundle -undefined dynamic_lookup
-L/Users/student/Desktop/sage-6.2.beta4/local/lib
build/temp.macosx-10.4-ppc-2.7/sage/libs/mwrank/mwrank.o
build/temp.macosx-10.4-ppc-2.7/sage/libs/mwrank/wrap.o
-L/Users/student/Desktop/sage-6.2.beta4/local/lib -lcsage -lec -lntl -lpari
-lgmp -lgmpxx -lstdc++ -lm -lstdc++ -lntl -o
build/lib.macosx-10.4-ppc-2.7/sage/libs/mwrank/mwrank.so
/usr/bin/ld: warning can't open dynamic library: libflint.dylib referenced
from: /Users/student/Desktop/sage-6.2.beta4/local/lib/libec.dylib (checking
for undefined symbols may be affected) (No such file or directory, errno =
2)
/usr/bin/ld: Undefined symbols:
_nmod_mat_clear referenced from libec expected to be defined in
libflint.dylib
_nmod_mat_init referenced from libec expected to be defined in
libflint.dylib
_nmod_mat_rref referenced from libec expected to be defined in
libflint.dylib
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
real 1m51.288s
user 1m1.432s
sys 0m22.164s
make[2]: ***
[/Users/student/Desktop/sage-6.2.beta4/local/var/lib/sage/installed/sage]
Error 1
make[1]: *** [all] Error 2
real 1m55.248s
user 1m2.059s
sys 0m22.969s
***************************************************************
Error building Sage.
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.