[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architectu
From: |
david laxer |
Subject: |
[Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64 |
Date: |
Sun, 7 Mar 2021 13:36:35 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15 |
Follow-up Comment #28, bug #59968 (project octave):
It was a mistake. There were extra newlines messing up 'configure'.
../configure \
CC=/usr/bin/clang \
CXX=/usr/bin/clang++ \
CCLD=/usr/bin/clang \
CXXLD=/usr/bin/clang++ \
CCFLAGS="-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk"
CXXFLAGS="-std=c++17 -stdlib=libc++ -arch x86_64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
-I/Users/davidlaxer/SuiteSparse/include -I/opt/local/libexec/qt5/include
-I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include"
CPPFLAGS="-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
-I/Users/davidlaxer/SuiteSparse/include -I/opt/local/include
-I/opt/local/libexec/qt5/include
-I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include"
LDFLAGS="-L/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib
-L/Users/davidlaxer/SuiteSparse/lib/ -L/opt/local/libexec/qt5/lib
-L/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/lib"
DYLD_LIBRARY_PATH="-L/opt/local/lib -L/opt/local/libexec/qt5/lib
-L/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/lib"
LD_LIBRARY_PATH="-L/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib
-L/Users/davidlaxer/SuiteSparse/lib/ -L/opt/local/lib
-L/opt/local/libexec/qt5/lib
-L/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/lib"
--with-suitesparseconfig-includedir=/Users/davidlaxer/SuiteSparse/include
--with-suitesparseconfig-libdir=/Users/davidlaxer/SuiteSparse/lib
--disable-readline --with-sundials_ida-includedir=/opt/local/include/sundials
--with-sundials_ida-libdir=/opt/local/lib/ --with-qt=5
--with-libiconv-prefix=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr
...
$ make V=1 all
...
/bin/sh ./libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H
-I. -I.. -Iliboctave -I../liboctave -I../liboctave/array -Iliboctave/numeric
-I../liboctave/numeric -Iliboctave/operators -I../liboctave/operators
-I../liboctave/system -I../liboctave/util -I../liboctave/wrappers
-I../liboctave/external/Faddeeva -I/opt/local/include -I/opt/local/include
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
-I/Users/davidlaxer/SuiteSparse/include -I/opt/local/include
-I/opt/local/libexec/qt5/include
-I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include -fPIC
-Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -fvisibility=hidden
-std=c++17 -stdlib=libc++ -arch x86_64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
-I/Users/davidlaxer/SuiteSparse/include -I/opt/local/libexec/qt5/include
-I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include -MT
liboctave/numeric/libnumeric_la-lo-specfun.lo -MD -MP -MF
liboctave/numeric/.deps/libnumeric_la-lo-specfun.Tpo -c -o
liboctave/numeric/libnumeric_la-lo-specfun.lo `test -f
'liboctave/numeric/lo-specfun.cc' || echo
'../'`liboctave/numeric/lo-specfun.cc
libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I.. -Iliboctave
-I../liboctave -I../liboctave/array -Iliboctave/numeric -I../liboctave/numeric
-Iliboctave/operators -I../liboctave/operators -I../liboctave/system
-I../liboctave/util -I../liboctave/wrappers -I../liboctave/external/Faddeeva
-I/opt/local/include -I/opt/local/include
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
-I/Users/davidlaxer/SuiteSparse/include -I/opt/local/include
-I/opt/local/libexec/qt5/include
-I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include -fPIC
-Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -fvisibility=hidden
-std=c++17 -stdlib=libc++ -arch x86_64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
-I/Users/davidlaxer/SuiteSparse/include -I/opt/local/libexec/qt5/include
-I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include -MT
liboctave/numeric/libnumeric_la-lo-specfun.lo -MD -MP -MF
liboctave/numeric/.deps/libnumeric_la-lo-specfun.Tpo -c
../liboctave/numeric/lo-specfun.cc -fno-common -DPIC -o
liboctave/numeric/.libs/libnumeric_la-lo-specfun.o
../liboctave/numeric/lo-specfun.cc:2216:16: error: use of undeclared
identifier
'lgamma_r'
result = lgamma_r (x, &sgngam);
^
../liboctave/numeric/lo-specfun.cc:2235:16: error: use of undeclared
identifier
'lgammaf_r'
result = lgammaf_r (x, &sgngam);
^
2 errors generated.
make[2]: *** [liboctave/numeric/libnumeric_la-lo-specfun.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
(base) MacBook-Pro:.buil
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59968>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, (continued)
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/05
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/06
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/06
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Kai Torben Ohlhus, 2021/03/06
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/07
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/07
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64,
david laxer <=
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/07
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Markus Mützel, 2021/03/07
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, david laxer, 2021/03/07
- [Octave-bug-tracker] [bug #59968] ld: symbol(s) not found for architecture x86_64, Dmitri A. Sergatskov, 2021/03/07