[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 141594] New: Compile error on Solaris 8 - src/kgpgme.cpp has no
From: stevee () zuken ! co ! uk
Date: 2007-02-12 14:19:26
Message-ID: 20070212151924.141594.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=141594
Summary: Compile error on Solaris 8 - src/kgpgme.cpp has no
declaration for getenv
Product: basket
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: slaout linux62 org
ReportedBy: stevee zuken co uk
Version: 1.0 (using KDE KDE 3.5.6)
Installed from: Compiled From Sources
Compiler: gcc 3.4.6
OS: Solaris
I get this compile error on Solaris:
if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. \
-I.. -I/opt/kde/include -I/opt/qt/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/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include \
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 \
-I/gorbag/exta/cad/externals/SOLARIS/include -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 -D_FILE_OFFSET_BITS=64 \
-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 -MT kgpgme.lo -MD -MP -MF ".deps/kgpgme.Tpo" \
-c -o kgpgme.lo `test -f 'kgpgme.cpp' || echo './'`kgpgme.cpp; \
then mv -f ".deps/kgpgme.Tpo" ".deps/kgpgme.Plo"; \
else rm -f ".deps/kgpgme.Tpo"; exit 1; \
fi
kgpgme.cpp: In static member function `static bool KGpgMe::isGnuPGAgentAvailable()':
kgpgme.cpp:360: error: `getenv' was not declared in this scope
On Solaris getenv is declared in <stdlib.h>. Including that in kgpgme.cpp solves the \
problem.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic