BUG: gsl-0.4.1/randist/discrete.c typename stack_t conflict on HP
Frederick W. Wheeler
wheeler@cipr.rpi.edu
Wed Jun 30 04:40:00 GMT 1999
Hello,
I don't subscribe to gsl-discuss@sourceware.cygnus.com, so please
contact me directly if there are any questions of comments regarding
this report.
% uname -a
HP-UX hpw5 B.10.20 A 9000/780 unknown
% gcc --version
egcs-2.91.66
I just tried to compile gsl-0.4.1 on this machine using:
configure \
--prefix=/home/wheeler/usr/stow//gsl-0.4.1 \
--exec-prefix=/home/wheeler/usr/stow//gsl-0.4.1/hppa1.1-hp-hpux10.20
make
I got this compilation error:
Making all in randist
make[2]: Entering directory `/tmp/build-hppa1.1-hp-hpux10.20-gsl-0.4.1/gsl-0.4.1/randist'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../rng -I./../specfunc -I./../err -I.. -g -O2 -c bernoulli.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../rng -I./../specfunc -I./../err -I.. -g -O2 -c beta.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../rng -I./../specfunc -I./../err -I.. -g -O2 -c binomial.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../rng -I./../specfunc -I./../err -I.. -g -O2 -c cauchy.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../rng -I./../specfunc -I./../err -I.. -g -O2 -c chisq.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../rng -I./../specfunc -I./../err -I.. -g -O2 -c discrete.c
discrete.c:141: conflicting types for `stack_t'
/usr/include/sys/newsig.h:50: previous declaration of `stack_t'
Perhaps stack_t should be changed to gsl_stack_t in discrete.c?
I was not able to figure out the sequence of includes that led to
sys/newsig.h.
gsl compiled perfectly for me on a Solaris 2.6 machine.
Thanks,
Fred Wheeler
--
Fred Wheeler
wheeler@cipr.rpi.edu
www.cipr.rpi.edu/wheeler
More information about the Gsl-discuss
mailing list