bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] GSL Build on HPUX-11 Problems


From: Warren Gray
Subject: Re: [Bug-gsl] GSL Build on HPUX-11 Problems
Date: Tue, 21 Apr 2009 16:18:40 -0400

The -g option won't work in the HP's cc compiler. But adding
-DGSL_C99_INLINE
was tried without success. The cc compiler we have is old (pre C99). The
HPUX
aCC compiler would probably work, but I no longer have access to that one.

To make it build, I found that if I commented out the HAVE_INLINE in the
config.h file, it would build successfully.

It seems that the gsl/gsl_inline.h file is not doing the right thing for
this
old cc compiler. Obviously the ./configure tests noted that it has inline
capability, but somehow the generated object code is duplicating the
symbols of inlined routines.

Perhaps the ./configure tests can be expanded to configure this in
an improved way?

Even though I got the project to build ok at this point, I found that the
"make check" doesn't get very far.  I'll have to investigate this further
when I get more time. In a nutshell, the compiler options are not being
fully respected, since I get the message:

    ld: Mismatched ABI (not an ELF file) for test.o

This is probably because the test module compiled the default ABI, while
I have specified +DA2.0W for a 64 bit build.

I'll try to followup with a proper log about that later when I have a few
moments.

I didn't get to the AIX issue yet... later.

Thanks, Warren.

On Tue, Apr 21, 2009 at 11:14 AM, Brian Gough <address@hidden> wrote:

> At Mon, 20 Apr 2009 12:47:20 -0400,
> Warren Gray wrote:
> > I have attempted to build GSL-1.12 on HPUX-11, unsuccessfully.  I
> > have attached the make output in make_out.txt.gz, the configure
> > output in config.log.gz and a list of locally installed directories
> > in localdirs.txt.gz (essentially ncurses, gmplib, bison, postgress
> > and a handful of other things like gmake).
>
> Thanks for the bug report.  Can you try it with
> ./configure CFLAGS="-DGSL_C99_INLINE -g -O2"
> (see the INSTALL file for more information).
>
> --
> Brian Gough
>
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]