|
| From: | dezperado |
| Subject: | [Octave-bug-tracker] [bug #61393] [octave forge] (sparsersb) Crash while "pkg test sparsersb" |
| Date: | Mon, 17 Oct 2022 15:39:38 -0400 (EDT) |
Follow-up Comment #23, bug #61393 (project octave):
The compiler line on your listing
https://savannah.gnu.org/bugs/index.php?61393#comment6
was missing -I. (include local directory) for some reason -- so this patch is
a workaround.
WRT your latest output -- the link line on
https://savannah.gnu.org/bugs/index.php?61393#comment22
also here
x86_64-w64-mingw32-g++ -g -O2 -DRSBPP_HAS_RSB_H=1
-I/home/osboxes/mxe-octave-stable/usr/x86_64-w64-mingw32/include
-I/home/osboxes/mxe-octave-stable/tmp-librsb/librsb-1.3.0.1
-DRSBPP_HAS_RSB_H=1
-L/home/osboxes/mxe-octave-stable/usr/x86_64-w64-mingw32/lib rsbtt.cpp -o
rsbtt
is not linking to any library.
I would have expected something like:
libtool: link: g++ -fopenmp -O0 -ggdb -pipe -std=c++17
-I/home/osboxes/mxe-octave-stable/tmp-librsb/librsb-1.3.0.1/
-DRSBPP_HAS_RSB_H=1 -o .libs/rsbtt rsbtt.o ./.libs/librsbpp.so -lpthread
-lstdc++fs -fopenmp
(notice ./.libs/librsbpp.so -lpthread -lstdc++fs ..)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61393>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |