This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Build errors on IRIX 6.5 using MIPSpro C compiler


On Mon, 14 May 2001, Jason Beegan wrote:
> > 
> > I've hit couple of problems building GSL v0.7+ (CVS updated May 10) on IRIX 6.5
> > using the SGI MIPSpro C compiler. Following is the process and some of the
> > results:
> > 
> > Related environment variables:
> > CC=cc
> > SGI_CC=-xansi
> > CPP=cpp
> > 
> > Problem 1:
> > ----------
> > Building with shared libraries dies apparently because a command line has
> > exceeded the maximum length.
> > 
> > % ./configure
> > % make CCFLAGS="-woff 728"
> > ..
> > ..
> > ..
> > (cd .libs/libgsl.lax/libgslvector.al && /bin/ar x /sg1/csb/ldjohn/tmp/gsl-0.7+/
> 
> This might be a libtool problem.  Apparently the version of libtool
> in gsl-0.7 is quite old.
> 
> VERSION=1.3.4
> TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)"
> 
> According to the libtool changelogs there have been a few IRIX related
> fixes since then (and many general fixes too).  Try installing a recent
> version of libtool.
> 
> Then replace the gsl-0.7 `ltconfig' with this short script
> 
> #! /bin/sh
> rm -f libtool;  ln -s /usr/local/bin/libtool libtool
> 
> That's assuming that you've installed the new libtool in /usr/local/bin.
> 
> It's worth a try.
> 
> - Jason

Thanks for the suggestion.  Tried it, but still the same result.  It did clean
up some things (e.g., multiple "-lm" entries), but the length still appears to
be way over the max arg list length.

We don't presently use shared libraries (old development model), so I'm not
overly concerned about this problem right now.

-- Lowell


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]