|
From: Don S. <sp...@or...> - 2001-10-05 19:35:55
|
| I have corrected the pstex.c gccism constructs, testing with "gcc
| -Wall -pedantic -ansi"! and I will CVS commit them soon.
|
| However ntk.c has such constructs. I will not change them, as ntk.c
| is still under dev.
|
| Jo=E3o
Thanks Jo=E3o for sending the modified pstex.c. However,when I tried
the new version of pstex.c under the AIX compiler (xlc), I now get
the following errors:
xlc -fpic -c -qcpluscmt -I. pstex.c
"pstex.c", line 48.47: 1506-277 (S) Syntax error: possible missing ')' or ',=
'?
"pstex.c", line 50.5: 1506-045 (S) Undeclared identifier pdt.
"pstex.c", line 52.24: 1506-045 (S) Undeclared identifier
plDevType_FileOriented.
"pstex.c", line 54.24: 1506-045 (S) Undeclared identifier plD_init_fp.
"pstex.c", line 54.42: 1506-275 (S) Unexpected text plD_init_pstex encounter=
ed.
"pstex.c", line 55.24: 1506-045 (S) Undeclared identifier plD_line_fp.
"pstex.c", line 55.42: 1506-275 (S) Unexpected text plD_line_ps encountered.
"pstex.c", line 56.24: 1506-045 (S) Undeclared identifier plD_polyline_fp.
"pstex.c", line 56.42: 1506-275 (S) Unexpected text plD_polyline_ps
encountered.
"pstex.c", line 57.24: 1506-045 (S) Undeclared identifier plD_eop_fp.
"pstex.c", line 57.42: 1506-275 (S) Unexpected text plD_eop_ps encountered.
"pstex.c", line 58.24: 1506-045 (S) Undeclared identifier plD_bop_fp.
"pstex.c", line 58.42: 1506-275 (S) Unexpected text plD_bop_pstex encountere=
d.
"pstex.c", line 59.24: 1506-045 (S) Undeclared identifier plD_tidy_fp.
"pstex.c", line 59.42: 1506-275 (S) Unexpected text plD_tidy_pstex encounter=
ed.
"pstex.c", line 60.24: 1506-045 (S) Undeclared identifier plD_state_fp.
"pstex.c", line 60.42: 1506-275 (S) Unexpected text plD_state_ps encountered=
=2E
"pstex.c", line 61.24: 1506-045 (S) Undeclared identifier plD_esc_fp.
"pstex.c", line 61.42: 1506-275 (S) Unexpected text plD_esc_pstex encountere=
d.
make: 1254-004 The error code from the last command is 1.
I have been able to successfully install plplot-5.0.4 under AIX using
the following configure line:
configure --prefix=3D/tmp/gpfs200a/dspong/plplot-5.0.4 --with-gcc \
--enable-tcl=3Dno --enable-tk=3Dno --enable-itcl=3Dno
This is then followed by the usual make and make install commands. I
can live with this for now as I can apparently link to the
gcc-compiled plplot from AIX compiled code without problems. I'll
also look into getting tk and tck installed.
--
_________________________________________________________
Donald A. Spong, Fusion Energy Theory, ORNL
Snail-mail: P. O. Box 2009
Oak Ridge, Tennessee 37831-8071
Phone: (865) 574-1304 FAX: (865) 576-7926
E-mail: sp...@or...
_________________________________________________________
|