On Feb 2, 8:23 pm, kcrisman <kcris...@gmail.com> wrote:
> On PPC OSX.4.11:
>
> While building ntl-5.4.2.p5:
>
> g++ -I../include -I. -O2 -g -fPIC -dynamiclib -undefined
> dynamic_lookup -o libntl.dylib FFT.o FacVec.o GF2.o <lots more>
> vec_ulong.o vec_vec_ulong.o -L/Users/.../sage-3.3.alpha4/local/lib -
> lgmp
> ld: common symbols not allowed with MH_DYLIB output format with the -
> multi-module option
> ctools.o definition of common __ntl_IsFinite__local (size 8)
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link
> edit command failed
> make[2]: *** [libntl.dylib] Error 1
> Failed to build NTL dylib.
Ok, that is a side effect of not setting -fno-common. I am curious
which gcc release this is. You can try
export SHAREDFLAGS="-fno-common"
and restart the build. The real fix is to set that flag when needed
and not to set it globally.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---