[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54235] problems building Octave on Solaris
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #54235] problems building Octave on Solaris |
Date: |
Wed, 11 Jul 2018 16:54:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #75, bug #54235 (project octave):
After all the object files and convenience libraries are listed in that final
linking command, I see
[...] -Wl,-z -Wl,defaultextract -Wl,-R -Wl,/opt/csw/lib -Wl,-R
-Wl,/export/home/denber/octave-4.4.0x/liboctave/.libs -Wl,-R -Wl,/usr/sfw/lib
-Wl,-R -Wl,/opt/csw/lib -Wl,-R -Wl,/usr/local/lib/octave/4.4.0x -Wl,-R
-Wl,/usr/sfw/lib /opt/csw/lib/libstdc++.so liboctave/.libs/liboctave.so
-L/opt/csw/lib -L/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../.. -L/lib
-L/usr/lib -L/usr/sfw/lib -lfreetype -lz -L/usr/openwin/lib -lX11 -llapack -lm
-L/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2
-L/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/../../../../sparc-sun-solaris2.10/lib
-L/usr/ccs/lib /usr/sfw/lib/libstdc++.so -lm -lrt /opt/csw/lib/libgomp.so
-lgcc_s -lpthread -lc -lgcc_s -lpthread -lc
/opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/crtend.o /usr/lib/crtn.o
-pthreads -fopenmp -g -O2 -pthreads -fopenmp -Wl,-h -Wl,liboctinterp.so.5 -o
libinterp/.libs/liboctinterp.so.5.0.0
So for some reason, g++ is linking with things from both /usr/sfw and
/opt/csw.
What is the definition of FLIBS that Octave's configure script determines? It
should be listed in the summary that configure prints and recorded in the
generated Makefile.
Are the versions of g++, gcc, and gfortran you are using all form the same
installation? Are they consistent about where they look for headers and
library files? You can check that by compiling trivial programs using each:
echo "int x = 0;" > foo.cc ; g++ -v foo.cc
echo "int x = 0;" > foo.c ; gcc -v foo.c
echo " end" > foo.f ; gfortran -v foo.f
Can you post the results of executing these commands on your system, and also
the value of FLIBS that is in the Makefile?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54235>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, (continued)
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/10
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/10
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/10
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/10
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/10
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/10
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/10
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/11
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, John W. Eaton, 2018/07/11
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/11
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris,
John W. Eaton <=
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/11
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/11
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/11
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/12
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/12
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Rik, 2018/07/12
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/12
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/12
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Michele, 2018/07/12
- [Octave-bug-tracker] [bug #54235] problems building Octave on Solaris, Mike Miller, 2018/07/12