Bug 48628

Summary: Kdm doesn't compile in Solaris 9 sparc
Product: kdm Reporter: Hasso Tepper <hasso>
Component: generalAssignee: kdm bugs tracker <kdm-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Hasso Tepper 2002-10-03 15:19:27 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc-3.2 
OS:          Solaris

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../backend -I/opt/kde3/include -I/opt/qt3x/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -Dsun -Dsparc -DSVR4 -DSYSV -DTCPCONN -DUNIXCONN -DOSMAJORVERSION=5 -DOSMINORVERSION=9 -DHAS_MKSTEMP -DHAVE_GETUSERSHELL -DUSE_SYSLOG -DUSE_PAM -DXDMCP -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE  -c -o chooser.o `test -f chooser.cpp || echo './'`chooser.cpp
In file included from CXdmcp.h:42,
                 from DXdmcp.h:27,
                 from chooser.cpp:18:
../backend/dm.h:53:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/iso/string_iso.h:31,
                 from /usr/include/string.h:18,
                 from /opt/qt3x/include/qcstring.h:46,
                 from /opt/qt3x/include/qstring.h:43,
                 from /opt/qt3x/include/qwindowdefs.h:44,
                 from /opt/qt3x/include/qwidget.h:42,
                 from /opt/qt3x/include/qdialog.h:42,
                 from DXdmcp.h:23,
                 from chooser.cpp:18:
/usr/include/sys/feature_tests.h:142:1: warning: this is the location of the previous definition
chooser.cpp: In function `int main(int, char**)':
chooser.cpp:82: `setenv' undeclared (first use this function)
chooser.cpp:82: (Each undeclared identifier is reported only once for each
   function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `chooser.o'
Comment 1 Stephan Kulow 2002-10-03 15:23:54 UTC
Subject: kdebase/kdm/chooser

Log Message:
+#include <config.h>
CCMAIL: 48628-close@bugs.kde.org

------------------------------------------------------------------------------
M  chooser.cpp (rev: 1.9, +1 -0)