[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 124416] New: kdelibs 3.5.2 - Compile error on Solaris 8:
From: stevee () zuken ! co ! uk
Date: 2006-03-28 11:07:49
Message-ID: 20060328130745.124416.stevee () zuken ! co ! uk
[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=124416
Summary: kdelibs 3.5.2 - Compile error on Solaris 8: duplicate
extern
Product: kdelibs
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: coolo kde org
ReportedBy: stevee zuken co uk
Version: kde 3.5.2 (using KDE KDE 3.5.1)
Installed from: Compiled From Sources
Compiler: gcc 3.4.3
OS: Solaris
I get this compile error when building kdelibs-3.5.2 on Solaris 8:
if /bin/bash ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. \
-I.. -I../dcop -I. -I../kio/kssl -I../kjs -I../kdefx -I../kdecore/network -I../dcop \
-I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio \
-I../kio/kfile -I.. -I/opt/qt/include -I/opt/kde/include \
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include \
-I/gorbag/exta/cad/externals/SOLARIS/include/libart-2.0 -DQT_THREAD_SUPPORT \
-I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT \
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -Wno-long-long -Wundef -Wall -W \
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include \
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 \
-fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe \
-fno-exceptions -mcpu=ultrasparc -Wno-non-virtual-dtor -fno-exceptions -fno-check-new \
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT \
-DQT_NO_TRANSLATION -MT ksycoca.lo -MD -MP -MF ".deps/ksycoca.Tpo" -c -o ksycoca.lo \
ksycoca.cpp; \ then mv -f ".deps/ksycoca.Tpo" ".deps/ksycoca.Plo"; else rm -f \
".deps/ksycoca.Tpo"; exit 1; fi ksycoca.cpp:46: error: duplicate `extern'
Which appears to be caused by this code:
#ifdef Q_OS_SOLARIS
extern "C" extern int madvise(caddr_t, size_t, int);
#endif
Changing it to:
#ifdef Q_OS_SOLARIS
extern "C" int madvise(caddr_t, size_t, int);
#endif
allows it to compile
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic