[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 70482] New: arts/flow/gsl/gslwchunk doesn't link on Solaris
From: Torsten Kasch <tk () CeBiTec ! Uni-Bielefeld ! DE>
Date: 2003-12-15 8:05:01
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=70482
Summary: arts/flow/gsl/gslwchunk doesn't link on Solaris (missing
"-lm")
Product: configure
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: coolo@kde.org
ReportedBy: tk@CeBiTec.Uni-Bielefeld.DE
Version: (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc version 2.95.3 20010315 (release)
OS: Solaris
trying to compile arts on Solaris 8 (SPARC) breaks for me with:
source='gslwchunk.c' object='gslwchunk.o' libtool=no \
depfile='.deps/gslwchunk.Po' tmpdepfile='.deps/gslwchunk.TPo' \
depmode=gcc /bin/bash ../../admin/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../flow -I../../flow -I../../mcop -I../.. \
-I/vol/kde-3.2.0/include -I/vol/qt-3.2.3/include -I/usr/openwin/include \
-I/vol/local/include -I/vol/graphics/include -I../../libltdl -DQT_THREAD_SUPPORT \
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -threads \
-I/vol/gtk-2.2.1/include/glib-2.0 -I/vol/gtk-2.2.1/lib/glib-2.0/include -DNDEBUG \
-O2 -threads -I/vol/gtk-2.2.1/include/glib-2.0 -I/vol/gtk-2.2.1/lib/glib-2.0/include \
-DNDEBUG -O2 -threads -I/vol/gtk-2.2.1/include/glib-2.0 \
-I/vol/gtk-2.2.1/lib/glib-2.0/include -c `test -f 'gslwchunk.c' || echo \
'./'`gslwchunk.c
/bin/bash ../../libtool --silent --mode=link gcc -DNDEBUG -O2 -threads \
-I/vol/gtk-2.2.1/include/glib-2.0 -I/vol/gtk-2.2.1/lib/glib-2.0/include -DNDEBUG -O2 \
-threads -I/vol/gtk-2.2.1/include/glib-2.0 -I/vol/gtk-2.2.1/lib/glib-2.0/include \
-R/vol/kde-3.2.0/lib -R/vol/qt-3.2.3/lib -R/vol/local/lib -R/vol/graphics/lib -o \
gslwchunk gslwchunk.o libgsl.la
ld: warning: file /vol/gtk-2.2.1/lib/libgmodule-2.0.so: attempted multiple inclusion \
of file
ld: warning: file /vol/gtk-2.2.1/lib/libgthread-2.0.so: attempted multiple inclusion \
of file
ld: warning: file /vol/gtk-2.2.1/lib/libglib-2.0.so: attempted multiple inclusion of \
file Undefined first referenced
symbol in file
tan ./.libs/libgsl.a(gslsignal.o) (symbol belongs to \
implicit dependency /usr/lib/libm.so.1) pow \
./.libs/libgsl.a(gslsignal.o) (symbol belongs to implicit dependency \
/usr/lib/libm.so.1) sinh ./.libs/libgsl.a(gslmath.o) \
(symbol belongs to implicit dependency /usr/lib/libm.so.1) tanh \
./.libs/libgsl.a(gslmath.o) (symbol belongs to implicit dependency \
/usr/lib/libm.so.1) sqrt ./.libs/libgsl.a(gslmath.o) \
(symbol belongs to implicit dependency /usr/lib/libm.so.1) sin \
./.libs/libgsl.a(gslsignal.o) (symbol belongs to implicit dependency \
/usr/lib/libm.so.1) cosh ./.libs/libgsl.a(gslmath.o) \
(symbol belongs to implicit dependency /usr/lib/libm.so.1) cos \
./.libs/libgsl.a(gslsignal.o) (symbol belongs to implicit dependency \
/usr/lib/libm.so.1)
ld: fatal: Symbol referencing errors. No output written to .libs/gslwchunk
collect2: ld returned 1 exit status
make[3]: *** [gslwchunk] Error 1
make[3]: Leaving directory `/vol/src/kde/cvs/arts/flow/gsl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vol/src/kde/cvs/arts/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vol/src/kde/cvs/arts'
make: *** [all] Error
applying the following trivial patch to arts/flow/gsl/Makefile.am resolved this issue \
for me:
diff -u -3 -p -u -r1.32 Makefile.am
--- Makefile.am 2 Oct 2003 11:58:49 -0000 1.32
+++ Makefile.am 15 Dec 2003 08:03:34 -0000
@@ -17,7 +17,7 @@ libgsl_la_LDFLAGS = -no-undefined $(all_
noinst_PROGRAMS = $(GSL_NOINST_PROGS)
-GSL_progs_ldadd = libgsl.la $(USE_THREADS)
+GSL_progs_ldadd = libgsl.la -lm $(USE_THREADS)
GSL_cc_dummy = dummy.cc
$(srcdir)/dummy.cc: gslconfig.h
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic