|Justin C. Walker on Fri, 29 Nov 2002 16:35:06 -0800|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|Re: --host in Configure|
A bit more... On Friday, November 29, 2002, at 12:25 PM, Justin C. Walker wrote:
On Thursday, November 28, 2002, at 12:39 PM, Bill Allombert wrote:
OK, I waddled back to my system, and tried to figure out the problem with the Makefile generated by Configure. 'make' doesn't make it easy :-}First, the 'separator' error arises becase the library name is terminated with a ';', which causes the system some indigestion. Cf. the line below marked with <<<<<.Second, you don't appear to need "-I/usr/local/include" for Mac OS X, at least in versions 10.2 and later. I'll check into that further, but as it is (on 10.2.2 with all tools updates installed), the compiler grouses about having that directory specified.Finally (or, third), 'ld' grouses about the argument to "-i". The complaint is:/usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol namesThe line in question is/usr/bin/ld -o libpari-2.2.2.dylib -install_name /usr/local/lib/libpari-2.2.2.dylib -compatibility_version 2.2 -current_version 2.2.5 kernel.o mp.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bibli1.o bibli2.o buch1.o buch2.o buch3.o buch4.o galconj.o gen1.o gen2.o gen3.o ifactor1.o perm.o polarit1.o polarit2.o polarit3.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o aprcl.o elliptic.o galois.o kummer.o mpqs.o nffactor.o stark.o subfield.o thue.o anal.o compat.o errmsg.o es.o helpmsg.o init.o sumiter.o mpinl.o
On a lark, and because I believe that it's the right thing to use, I replaced 'ld' with 'libtool -dynamic' in the above, and got a batch of 'multiple definition' complaints:
ld: for architecture ppc ld: multiple definitions of symbol _hiremainder kernel.o definition of _hiremainder in section (__DATA,__common) mp.o definition of _hiremainder in section (__DATA,__common) ld: multiple definitions of symbol _overflow kernel.o definition of _overflow in section (__DATA,__common) mp.o definition of _overflow in section (__DATA,__common) alglin1.o definition of _hiremainder in section (__DATA,__common) alglin1.o definition of _overflow in section (__DATA,__common) ... [I think every .o in town was mentioned]Seems curious that the compiles were done with '-fno-common', but common shows up in the .o, but that may be my lack of comprehension of this area.
This might show a need for one of the special Mac OS X flags (flat-namespace, ...).
Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | If you're not confused, | You're not paying attention *--------------------------------------*-------------------------------*