From: <jca...@in...> - 2002-01-21 01:23:11
|
On Sunday 20 January 2002 16:59, Alan W. Irwin wrote: | On Sat, 19 Jan 2002, Alan W. Irwin wrote: | > On Sun, 20 Jan 2002, [iso-8859-1] Jo=E3o Cardoso wrote: | > > 2-Fortran examples x06f.f and x07f.f don't compile, eg: | > | > Fortran has worked forever for me, but I just tried again, and no | > problem. Thus, I cannot confirm your bug report. Did you | > configure with --with-double? That is required for fortran. | | I woke up this morning realizing that last sentence was wrong.=20 | IIRC, Maurice fixed up single precision and fortran at some point.=20 | Anyhow, Joao, please give lots more particulars about the | configuration that lead to the problem. I don't see it here at all | using --with-double. But you may have some different configuration | that did not work as expected or there may be something wrong with | the m4 pre-processing that occurs on your machine. Nothing at all, almost a plain "configure" (cd ../cf; autoconf; mv configure ..); ../configure --disable-java=20 --without-shlib command: ../configure --disable-java --without-shlib system: Linux-2.2.18 prefix: /usr/local CC: gcc -c -O =20 LDC: gcc =20 CXX: g++ -c -O=20 LDCXX: g++ =20 F77: g77 -c -O=20 LDF: g77 =20 INCS: -I. LIBS: -litk3.1 -ltk8.3 -litcl3.1 -ltcl8.3 -L/usr/X11R6/lib=20 -lX11 -lgd -lpng -ljpeg -lz -ldl -lm -lg2c LIB_TAG: =20 devices: plmeta null xterm tek4010 tek4010f tek4107 tek4107f=20 mskermit conex vlt versaterm dg300 png jpeg ps psc xfig ljii hp7470=20 hp7580 lj_hpgl ljiip imp xwin tk pbm pstex Available device drivers static: plmeta null tek dg300 gd ps xfig ljii hpgl ljiip=20 impress xwin tk pbm pstex dynamic: =20 with_shlib: no with_double: no with_debug: no with_opt: yes with_warn: no with_profile: no with_gcc: yes with_rpath: yes enable_xwin: yes enable_tcl: yes enable_tk: yes enable_itcl: yes enable_cxx: yes enable_python: no enable_f77: yes enable_java: no enable_octave: no enable_gnome: no jcard@rick:~/tmp/plplot/tmp > g77 --version GNU Fortran 0.5.25 19991024 (release) jcard@rick:~/tmp/plplot/tmp > m4 --version GNU m4 1.4o configuring the same as above, but adding "--with-double " does not solve the problem. Again, it is: m4 -S2000 -B8192 x06f.fm4 >x06f.f g77 -c -O x06f.f Line too long as of (?) [info -f g77 M LEX] x06f.f: In program `MAIN__': x06f.f:29: warning: call plmtex('b', real (1.5), real (0.1*i+0.05), 1 x06f.f:52: (continued): call plmtex('t', real (1.5), real (0.5), real (0.5), 2 Too few arguments for `plmtex' at (2) versus invocation at (1) [info=20 -f g77 M GLOBALS] x06f.f:52:=20 call plmtex('t', real (1.5), real (0.5), real (0.5), 1 2 Invalid token at (2) in expression or subexpression at (1) make: *** [x06f.o] Error 1 This is in suse-7.0; in suse-7.2 the same error occurs. Sorry I can't=20 help more, Joao |