From help-octave-request at bevo dot che dot wisc dot edu Fri Dec 15 11:01:45 2000 Subject: Re: Debugging .oct file building From: "John W. Eaton" To: Thomas Hoffmann , help-octave@bevo.che.wisc.edu Date: Fri, 15 Dec 2000 11:01:40 -0600 On 15-Dec-2000, John W. Eaton wrote: | On 15-Dec-2000, Thomas Hoffmann wrote: | | | It was a desperate attempt to get away w/o recompiling gcc on HP-UX: | | | | c++ -shared -fPIC -o oregonator.oct oregonator.o | | /usr/ccs/bin/ld: DP relative code in file | | /opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.2/libstdc++.a(cstrmain.o) - shared library must be | | position | | independent. Use +z or +Z to recompile. | | collect2: ld returned 1 exit status | | Ah. I think you need to do exactly what the error message says and | rebuild Octave's libraries as shared libraries. Sorry, that should be rebuild libstdc++ to be a shared library. Isn't that the default now with gcc 2.95.x? Did you build it from sources yourself? Did you specifically request --disable-shared when you ran configure? jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------