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... _________________________________________________________ |
From: <jca...@in...> - 2001-10-05 23:43:10
Attachments:
pstex.c
|
On Friday 05 October 2001 20:35, Don Spong wrote: | | 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: I'm sorry! What I sent you is the current development version, not=20 compatible with 5.0.4. I attach the correct file now (I hope). But perhaps you find easier=20 to live with the gcc compiled plplot? I believe that there exists=20 other issues with AIX. =2E.. | | 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.=20 | 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. According to a private Don Spong e-mail, "--disable-pstex" or=20 "enable-pstex=3Dno" is not working, as I hadn't add support for it in=20 "configure". | One further note on the AIX compiler is that I=20 | had to add in the -qcpluscmt flag due to some C++ style comment | lines in ps.c. Thus, I'm paying for my gccisms. That's time to learn with my errors! Joao |