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

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

[Octave-bug-tracker] [bug #60567] oct-file has an undefined symbol


From: Robert Jenssen
Subject: [Octave-bug-tracker] [bug #60567] oct-file has an undefined symbol
Date: Sun, 9 May 2021 19:01:27 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.gnu.org/bugs/?60567>

                 Summary: oct-file has an undefined symbol
                 Project: GNU Octave
            Submitted by: morgawr
            Submitted on: Sun 09 May 2021 11:01:25 PM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Robert Jenssen
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Running complex_matrix_test.sh with octave-6.2.0 works as expected.

Running complex_matrix_test.sh with octave-7.0.0:
$ sh complex_matrix_test.sh > out.7.0.0  2>&1
$ cat out.7.0.0 
+ OCTAVE_VER=7.0.0
+ ls
complex_matrix.cc
complex_matrix.m
complex_matrix_test.m
complex_matrix_test.sh
out.7.0.0
+ /usr/local/octave-7.0.0/bin/octave --no-gui --eval ver
----------------------------------------------------------------------
GNU Octave Version: 7.0.0 (hg id: 1b945016d837)
GNU Octave License: GNU General Public License
Operating System: Linux 5.11.18-300.fc34.x86_64 #1 SMP Mon May 3 15:10:32 UTC
2021 x86_64
----------------------------------------------------------------------
Package Name  | Version | Installation directory
--------------+---------+-----------------------
     control  |   3.2.0 |
.../octave-7.0.0/share/octave/packages/control-3.2.0
          io  |   2.6.3 |
/usr/local/octave-7.0.0/share/octave/packages/io-2.6.3
       optim  |   1.6.1 | .../octave-7.0.0/share/octave/packages/optim-1.6.1
      signal  |   1.4.1 | .../octave-7.0.0/share/octave/packages/signal-1.4.1
  statistics  |   1.4.2 | .../share/octave/packages/statistics-1.4.2
      struct  |  1.0.17 |
.../octave-7.0.0/share/octave/packages/struct-1.0.17
    symbolic  |   2.9.0 |
.../octave-7.0.0/share/octave/packages/symbolic-2.9.0
+ rm complex_matrix.oct
rm: cannot remove 'complex_matrix.oct': No such file or directory
+ octave --no-gui complex_matrix_test.m
ans = 0
warning: Using Octave m-file version of function complex_matrix()!
warning: called from
    complex_matrix at line 4 column 3
    complex_matrix_test at line 11 column 3

H = -3.9650e-05 - 7.0719e-01i
+ /usr/local/octave-7.0.0/bin/mkoctfile -v -Wall -Werror complex_matrix.cc
g++ -c  -fPIC -I/usr/local/octave-7.0.0/include/octave-7.0.0/octave/..
-I/usr/local/octave-7.0.0/include/octave-7.0.0/octave
-I/usr/local/octave-7.0.0/include  -pthread -fopenmp -m64 -march=nehalem -O2
-std=c++11 -I/usr/local/octave-7.0.0/include  -Wall -Werror  
complex_matrix.cc -o /tmp/oct-dxexzT.o
g++ -I/usr/local/octave-7.0.0/include/octave-7.0.0/octave/..
-I/usr/local/octave-7.0.0/include/octave-7.0.0/octave
-I/usr/local/octave-7.0.0/include  -pthread -fopenmp -m64 -march=nehalem -O2
-std=c++11 -I/usr/local/octave-7.0.0/include  -Wall -Werror -o
complex_matrix.oct  /tmp/oct-dxexzT.o  -shared -Wl,-Bsymbolic 
-L/usr/local/octave-7.0.0/lib -shared -Wl,-Bsymbolic  
-L/usr/local/octave-7.0.0/lib -shared -Wl,-Bsymbolic 
-L/usr/local/octave-7.0.0/lib 
+ ls
complex_matrix.cc
complex_matrix.m
complex_matrix.oct
complex_matrix_test.m
complex_matrix_test.sh
out.7.0.0
+ /usr/local/octave-7.0.0/bin/octave --no-gui complex_matrix_test.m
ans = 0
error: /home/robj/TMP/complex_matrix_test/complex_matrix.oct: failed to load:
/home/robj/TMP/complex_matrix_test/complex_matrix.oct: undefined symbol:
_ZmlRK16ComplexRowVectorRK13ComplexMatrix
error: called from
    complex_matrix_test at line 11 column 3
$



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 09 May 2021 11:01:25 PM UTC  Name: complex_matrix.cc  Size: 2KiB  
By: morgawr
Test files showing undefined symbol
<http://savannah.gnu.org/bugs/download.php?file_id=51408>
-------------------------------------------------------
Date: Sun 09 May 2021 11:01:25 PM UTC  Name: complex_matrix.m  Size: 709B  
By: morgawr
Test files showing undefined symbol
<http://savannah.gnu.org/bugs/download.php?file_id=51409>
-------------------------------------------------------
Date: Sun 09 May 2021 11:01:25 PM UTC  Name: complex_matrix_test.m  Size: 223B
  By: morgawr
Test files showing undefined symbol
<http://savannah.gnu.org/bugs/download.php?file_id=51410>
-------------------------------------------------------
Date: Sun 09 May 2021 11:01:25 PM UTC  Name: complex_matrix_test.sh  Size:
318B   By: morgawr
Test files showing undefined symbol
<http://savannah.gnu.org/bugs/download.php?file_id=51411>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60567>

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




reply via email to

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