Gerhard Niklasch on Fri, 23 Aug 2002 16:05:12 +0200 (MET DST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Newbie question |
In response to: > Message-ID: <Pine.GSO.4.02.10208231440390.2207-100000@client2.comlab> > Date: Fri, 23 Aug 2002 14:49:47 +0100 (BST) > From: Jon Lockley <Jon.Lockley@comlab.ox.ac.uk> > To: pari-users@list.cr.yp.to >... build it with the Sun Workshop compilers (i.e. cc etc) instead. (I'm > running Sun Workshop6, update 2 under SunOs 5.7 on a SUN Ultra 5). > > The Configure script works fine, but when I try to build > gp-dyn I get: ... > Undefined first referenced > symbol in file > subllx /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so ... > ld: fatal: Symbol referencing errors. No output written to gp-dyn Fixed in the current CVS version of the stable branch but this means it'll be fixed in 2.1.5 when that is released. The problem is that one object file (kernel2.o) which should be mentioned in the Makefile is omitted. The fix affects config/Makefile.SH and files in src/kernel/sparcv8/; I can send you what's needed directly unless you want to go to the CVS repository (see CVS.txt in the base directory) and pick up the latest stable branch yourself. (The tag name is: cvs update -r release-2-1-patches ) Hint #1: use fpversion to obtain a hint about -xcache etc. options for an optimized build. Hint #2: use -fsimple=1; the Sun FD6U2 cc 5.3 defaults to -fsimple=2 at higher optimization levels, which is deadly to PARI. (All these options must be given _after_ the -fast macro if -fast is used, or the -fast expansion will override them.) Cheers, Gerhard