This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch libfortran/28452] random intrinsics for large reals
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: fortran at gcc dot gnu dot org
- Cc: Thomas dot Koenig at online dot de
- Date: Sat, 29 Jul 2006 14:19:46 -0400 (EDT)
- Subject: Re: [Patch libfortran/28452] random intrinsics for large reals
Thomas,
I am having problems compiling current gcc trunk with your random-patch-3.diff patch applied
on MacOS X 10.4. The stock gcc trunk from yesterday compiles fine but with your patch applied
the build fails with...
/bin/sh ./libtool --mode=compile /sw/src/fink.build/gcc4-4.1.999-20060728/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc4-4.1.999-20060728/darwin_objdir/./gcc/ -B/sw/lib/gcc4/powerpc-apple-darwin8/bin/ -B/sw/lib/gcc4/powerpc-apple-darwin8/lib/ -isystem /sw/lib/gcc4/powerpc-apple-darwin8/include -isystem /sw/lib/gcc4/powerpc-apple-darwin8/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.2-20060728/libgfortran -I. -iquote../../../gcc-4.2-20060728/libgfortran/io -I../../../gcc-4.2-20060728/libgfortran/../gcc -I../../../gcc-4.2-20060728/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -c -o random.lo `test -f 'intrinsics/random.c' || echo '../../../gcc-4.2-20060728/libgfortran/'`intrinsics/random.c
/sw/src/fink.build/gcc4-4.1.999-20060728/darwin_objdir/./gcc/xgcc -B/sw/src/fink.build/gcc4-4.1.999-20060728/darwin_objdir/./gcc/ -B/sw/lib/gcc4/powerpc-apple-darwin8/bin/ -B/sw/lib/gcc4/powerpc-apple-darwin8/lib/ -isystem /sw/lib/gcc4/powerpc-apple-darwin8/include -isystem /sw/lib/gcc4/powerpc-apple-darwin8/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc-4.2-20060728/libgfortran -I. -iquote../../../gcc-4.2-20060728/libgfortran/io -I../../../gcc-4.2-20060728/libgfortran/../gcc -I../../../gcc-4.2-20060728/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -g -O2 -c ../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c -fno-common -DPIC -o .libs/random.o
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c: In function 'rnumber_16':
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c:146: error: 'f' undeclared (first use in this function)
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c:146: error: (Each undeclared identifier is reported only once
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c:146: error: for each function it appears in.)
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c:135: warning: unused parameter 'v'
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c: At top level:
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c:356: error: expected ')' before '*' token
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c: In function 'arandom_r16':
../../../gcc-4.2-20060728/libgfortran/intrinsics/random.c:622: error: 'kiss_seed_4' undeclared (first use in this function)
make[3]: *** [random.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libgfortran] Error 2
make: *** [all] Error 2
If you have a suggested fix for this, I'll give it a try.
Jack