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: trouble with gsl on AIX


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.


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