Opened 15 years ago

Closed 15 years ago

#21773 closed defect (fixed)

octave-3.2.2 -- build failure -- Undefined symbols: "_znaupd_"

Reported by: bpabbott@… Owned by: alakazam@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: gcc43 Cc: stechert@…, bhadder@…, macports.org@…, halfpricewine@…, mf2k (Frank Schima)
Port: octave

Description (last modified by mf2k (Frank Schima))

Dual 2.3 GHz PowerPC G5 running 10.5.8

Below is the result of my attempt to build Octave.

$ sudo port install octave
--->  Fetching octave
--->  Attempting to fetch octave-3.2.2.tar.gz from ftp://ftp.gnu.org/pub/gnu/octave/
--->  Verifying checksum(s) for octave
--->  Extracting octave
--->  Applying patches to octave
--->  Configuring octave
--->  Building octave
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_math_octave/work/octave-3.2.2" && /usr/bin/make -j2 all " returned error 2
Command output: /opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o daspk.oct daspk.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o dasrt.oct dasrt.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o dassl.oct dassl.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o det.oct det.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o dispatch.oct dispatch.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o dlmread.oct dlmread.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o dmperm.oct dmperm.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o eig.oct eig.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o eigs.oct eigs.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs -larpack
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o fft.oct fft.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
/opt/local/bin/g++-mp-4.3 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o fft2.oct fft2.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -lcholmod -lmetis -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse  -lfftw3 -lfftw3f -lqrupdate -larpack -lreadline  -lncurses -framework Accelerate -lhdf5 -lz -lm  -L/opt/local/lib -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4 -L/opt/local/lib/gcc43/gcc/ppc-apple-darwin9/4.3.4/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran -lSystemStubs
Undefined symbols:
  "_znaupd_", referenced from:
      EigsComplexNonSymmetricFunc(ComplexColumnVector (*)(ComplexColumnVector const&, int&), int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::complex<double>, int, int, int&, ComplexMatrix&, ComplexColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrix<ComplexMatrix>(ComplexMatrix const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int, int&, ComplexMatrix&, ComplexColumnVector&, ComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrixShift<SparseComplexMatrix>(SparseComplexMatrix const&, std::complex<double>, int, int, int&, ComplexMatrix&, ComplexColumnVector&, SparseComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrix<SparseComplexMatrix>(SparseComplexMatrix const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int, int&, ComplexMatrix&, ComplexColumnVector&, SparseComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrixShift<ComplexMatrix>(ComplexMatrix const&, std::complex<double>, int, int, int&, ComplexMatrix&, ComplexColumnVector&, ComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
  "_zneupd_", referenced from:
      EigsComplexNonSymmetricFunc(ComplexColumnVector (*)(ComplexColumnVector const&, int&), int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::complex<double>, int, int, int&, ComplexMatrix&, ComplexColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrix<ComplexMatrix>(ComplexMatrix const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int, int&, ComplexMatrix&, ComplexColumnVector&, ComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrixShift<SparseComplexMatrix>(SparseComplexMatrix const&, std::complex<double>, int, int, int&, ComplexMatrix&, ComplexColumnVector&, SparseComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrix<SparseComplexMatrix>(SparseComplexMatrix const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int, int&, ComplexMatrix&, ComplexColumnVector&, SparseComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
      int EigsComplexNonSymmetricMatrixShift<ComplexMatrix>(ComplexMatrix const&, std::complex<double>, int, int, int&, ComplexMatrix&, ComplexColumnVector&, ComplexMatrix const&, ColumnVector&, ComplexColumnVector&, std::basic_ostream<char, std::char_traits<char> >&, double, int, bool, int, int) in eigs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [eigs.oct] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src] Error 2
make: *** [all] Error 2

Change History (10)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: stechert@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to alakazam@…

comment:2 Changed 15 years ago by bhadder@…

Cc: bhadder@… added

Cc Me!

comment:3 Changed 15 years ago by macports.org@…

Cc: macports.org@… added

Cc Me!

comment:4 Changed 15 years ago by macports.org@…

I get the same error, also on Mac OS X 10.5.8.

comment:5 Changed 15 years ago by halfpricewine@…

Cc: halfpricewine@… added

Cc Me!

comment:6 Changed 15 years ago by holin@…

See #21989 for a possible solution.

comment:7 Changed 15 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:8 Changed 15 years ago by alakazam@…

Status: newassigned

Is this error still present ? Reproductible ? If so, could we have a full debug output ?

comment:9 in reply to:  8 Changed 15 years ago by bpabbott@…

Replying to alakazam@…:

Is this error still present ? Reproductible ? If so, could we have a full debug output ?

Octave-3.2.2 now builds without problems for me.

Thanks

comment:10 Changed 15 years ago by alakazam@…

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.