[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging .oct file building
From: |
John W. Eaton |
Subject: |
Re: Debugging .oct file building |
Date: |
Fri, 15 Dec 2000 11:01:40 -0600 |
On 15-Dec-2000, John W. Eaton <address@hidden> wrote:
| On 15-Dec-2000, Thomas Hoffmann <address@hidden> 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
-------------------------------------------------------------