[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling problem with shared libs
From: |
Gerd Bürger |
Subject: |
compiling problem with shared libs |
Date: |
Thu, 19 Apr 2001 16:55:28 +0200 (CEST) |
Hi,
I am trying to compile octave-2.0.16 with the configuration attached
at the end. I get the following error in the liboctave
step. (Compiling without shared libs is no problem.)
-------------------------------
c++ -shared -L../libcruft -L../readline -L../kpathsea -L../glob -L. -lcruft
-lreadline -lkpathsea -lglob -lg2c -lm
-L/home/buerger/local/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/2.95.2
-L/home/buerger/local/rs6000-ibm-aix4.2.1.0/lib -L/home/buerger/local/lib -lm
/home/buerger/local/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/2.95.2/libgcc.a -o
liboctave.so Bounds.o CollocWt.o DAE.o DASSL.o FEGrid.o LinConst.o LPsolve.o
LSODE.o NLEqn.o Quad.o Range.o cmd-hist.o data-conv.o dir-ops.o f2c-main.o
file-ops.o filemode.o getopt.o getopt1.o idx-vector.o lo-ieee.o lo-mappers.o
lo-specfun.o lo-utils.o mach-info.o mkdir.o oct-alloc.o oct-glob.o oct-term.o
pathsearch.o prog-args.o rename.o rmdir.o str-vec.o tempname.o tempnam.o
Array.o Array2.o Array3.o DiagArray2.o MArray.o MArray2.o MDiagArray2.o
base-lu.o Array-C.o Array-b.o Array-ch.o Array-i.o Array-d.o Array-s.o
Array-str.o MArray-C.o MArray-ch.o MArray-i.o MArray-d.o MArray-s.o
Array-flags.o CColVector.o CDiagMatrix.o CMatrix.o CRowVector.o CmplxAEPBAL.o
CmplxCHOL.o CmplxDET.o CmplxHESS.o CmplxLU.o CmplxQR.o CmplxQRP.o CmplxSCHUR.o
CmplxSVD.o EIG.o MArray-misc.o chMatrix.o dColVector.o dDiagMatrix.o dMatrix.o
dRowVector.o dbleAEPBAL.o dbleCHOL.o dbleDET.o dbleGEPBAL.o dbleHESS.o dbleLU.o
dbleQR.o dbleQRP.o dbleSCHUR.o dbleSVD.o
ld: 0711-224 WARNING: Duplicate symbol: _getopt_internal
ld: 0711-224 WARNING: Duplicate symbol: ._getopt_internal
ld: 0711-224 WARNING: Duplicate symbol: .getopt
ld: 0711-224 WARNING: Duplicate symbol: optarg
ld: 0711-224 WARNING: Duplicate symbol: optind
ld: 0711-224 WARNING: Duplicate symbol: opterr
ld: 0711-224 WARNING: Duplicate symbol: optopt
ld: 0711-224 WARNING: Duplicate symbol: getopt
ld: 0711-224 WARNING: Duplicate symbol: getopt_long
ld: 0711-224 WARNING: Duplicate symbol: .getopt_long
ld: 0711-224 WARNING: Duplicate symbol: .getopt_long_only
ld: 0711-224 WARNING: Duplicate symbol: getopt_long_only
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .__get_eh_context
ld: 0711-317 ERROR: Undefined symbol: .__sjthrow
ld: 0711-317 ERROR: Undefined symbol: .__terminate
ld: 0711-317 ERROR: Undefined symbol: .__rtti_class
ld: 0711-317 ERROR: Undefined symbol: exception virtual table
ld: 0711-317 ERROR: Undefined symbol: .__eh_alloc
-------------------------------
Any hints?
Gerd
-------------------------------
Octave is now configured for rs6000-ibm-aix4.2.1.0
Source directory: .
Installation prefix: /home/buerger/local
C compiler: gcc -mminimal-toc -g -O2 -Wall
C++ compiler: c++ -mminimal-toc -fno-rtti -fno-exceptions
-fno-implicit-templates
-g -O2 -Wall
Fortran compiler: g77 -O
Fortran libraries: -lg2c -lm
-L/home/buerger/local/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/2.
95.2 -L/home/buerger/local/rs6000-ibm-aix4.2.1.0/lib -L/home/buerger/local/lib
-lm /home/buer
ger/local/lib/gcc-lib/rs6000-ibm-aix4.2.1.0/2.95.2/libgcc.a
Use GNU readline: true
Default pager: less
gnuplot: gnuplot
Do internal array bounds checking: false
Build shared libraries: true
Minimal kernel option: false
Dynamic Linking (dlopen/dlsym): true
Dynamic Linking (shl_load/shl_findsym): false
-------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- compiling problem with shared libs,
Gerd Bürger <=