octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54276] Linking issues


From: anonymous
Subject: [Octave-bug-tracker] [bug #54276] Linking issues
Date: Mon, 9 Jul 2018 08:02:37 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?54276>

                 Summary: Linking issues
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 09 Jul 2018 12:02:35 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Simon
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I used the following configure command:

./configure
--prefix=/work/scratch/ettouas/logiciels/octave/INSTALL/rh7/octave/4.4.0
--enable-shared --disable-docs
--with-blas=/work/logiciels/rh7/lapack/3.6.1/lib/libblas.so
--with-lapack=/work/logiciels/rh7/lapack/3.6.1/lib/liblapack.so
--with-java-homedir=/work/logiciels/rhall/jdk/1.8.0_112
--with-hdf5-includedir=/work/logiciels/rh7/hdf5/1.8.17/include
--with-hdf5-libdir=/work/logiciels/rh7/hdf5/1.8.17/lib --disable-silent-rules


After typing 'make', I get the following errors:
liboctave/.libs/liboctave.so: undefined reference to `lsame_'
liboctave/.libs/liboctave.so: undefined reference to `zgemm_'
...
libinterp/.libs/liboctinterp.so: undefined reference to `dlag2_'
...
liboctave/.libs/liboctave.so: undefined reference to `zgbtrf_'
collect2: error: ld returned 1 exit status
make[2]: *** [src/octave-cli] Error 1


It looks like some BLAS/LAPACK methods were not linked properly.
When I add the flag '--enable-link-all-dependencies' in the configure options,
it fixes this issue.

However, I have to mention that I did not need to add this flag to get a
working build for octave-4.2.1





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54276>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]