trouble with gsl on AIX
Brian Gough
bjg@network-theory.co.uk
Wed Dec 19 13:20:00 GMT 2001
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.
More information about the Gsl-discuss
mailing list