From: <jc...@fe...> - 2003-03-26 13:20:14
|
On Wednesday 26 March 2003 03:05, Alan W. Irwin wrote: | On Wed, 26 Mar 2003, Joao Cardoso wrote: ... | Inspired by your question and these results, I did a lot of | experimentation and finally found that if | | ld -o plplot_octave.oct plplot_octave.o -L../../src/.libs -lplplotd | | is replaced by | | g++ -shared -o plplot_octave.oct plplot_octave.o -L../../src/.libs | -lplplotd | | then all the linking problems disappear! So clearly, the netbsd | version of mkoctfile is set up improperly for that system: | | i.e., | | grep SH_LD `which mkoctfile` |grep '=' | | : ${SH_LD="ld"} | : ${SH_LDFLAGS=""} | | When it should have been the Linux result: | | grep SH_LD `which mkoctfile` | grep '=' | | : ${SH_LD="/usr/bin/g++"} | : ${SH_LDFLAGS="-shared"} | | Have you been able to build octave on your OSF1 system? I have not tried, but the system mkoctfile says: : ${SH_LD="c++"} : ${SH_LDFLAGS="-shared -Xlinker -expect_unresolved -Xlinker '*'"} Forget my other mail where I ask you to run octave_config_info. Only on octave versions 2.1xx is there information about SH_LD and SH_LDFLAGS. | I am trying | to get some idea (2 data points are more statistically significant | than 1 ...;-)) whether this is just a netbsd problem with mkoctfile | or are we going to have consistent problems when we use mkoctfile on | any Unix system other than Linux? Perhaps you should contact the package maintainer, or send a bug-report to the Octave lists. The second is not very likely to show results, as 2.1.xx is the main concern. Joao | | Alan | __________________________ | Alan W. Irwin | email: ir...@be... | phone: 250-727-2902 | | Astronomical research affiliation with Department of Physics and | Astronomy, University of Victoria (astrowww.phys.uvic.ca). | | Programming affiliations with the Canadian Centre for Climate | Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot | scientific plotting software package (plplot.org). | | __________________________ | | Linux-powered Science | __________________________ |