This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: trouble with gsl on AIX
- To: Daniel Rohe <rohe at physik dot RWTH-Aachen dot DE>
- Subject: Re: trouble with gsl on AIX
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Mon, 9 Jul 2001 16:58:19 +0100 (BST)
- Cc: gsl-discuss at sources dot redhat dot com
- References: <3B49A26A.461D0613@physik.rwth-aachen.de>
Daniel Rohe writes:
> I've just tried to compile gsl-0.9 on AIX 4.3.2.
> while the configure script (--disable-shared) seems to run without any
> serious
> complaints (the only one being a message like "shared: not found"),
> trying to compile returns the following: (!?)
>
> Making all in test
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
> -g -c results.c
> cc -DHAVE_CONFIG_H -I. -I. -I.. -g -c results.c
> "results.c", line 70.7: 1506-045 (S) Undeclared identifier va_alist.
> "results.c", line 122.7: 1506-045 (S) Undeclared identifier va_alist.
> "results.c", line 181.7: 1506-045 (S) Undeclared identifier va_alist.
> "results.c", line 241.7: 1506-045 (S) Undeclared identifier va_alist.
> "results.c", line 296.7: 1506-045 (S) Undeclared identifier va_alist.
> "results.c", line 345.7: 1506-045 (S) Undeclared identifier va_alist.
> make: 1254-004 The error code from the last command is 1.
>
Thanks for the bug report. Can you send me the config.h file that is
generated.
I believe the AIX compiler does not define __STDC__ (not sure why).
Edit config.h and put
#define __STDC__ 1
at the top, then try recompiling (make sure that config.h is not
overwritten by the configure script). Let me know if this works.