From kde-bugs-dist Tue Oct 14 11:20:39 2003 From: Torsten Kasch Date: Tue, 14 Oct 2003 11:20:39 +0000 To: kde-bugs-dist Subject: [Bug 66024] New: kdm fails to compile on Solaris due to missing X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=106613044518223 ------- 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=66024 Summary: kdm fails to compile on Solaris due to missing #include Product: kdm Version: unspecified Platform: Compiled Sources OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: ossi@kde.org ReportedBy: tk@Genetik.Uni-Bielefeld.DE Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc version 2.95.3 20010315 (release) OS: Solaris Building kdebase stops in kdm/kfrontend with the following error: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../backend -I../../kcontrol/background -I/vol/kde-cvs/include -I/vol/qt-3.2.1/include -I/usr/openwin/include -I/vol/local/include -I/vol/graphics/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -g -O2 -D_GNU_SOURCE -c `test -f 'genkdmconf.c' || echo './'`genkdmconf.c genkdmconf.c: In function `displace': genkdmconf.c:334: `PATH_MAX' undeclared (first use in this function) genkdmconf.c:334: (Each undeclared identifier is reported only once genkdmconf.c:334: for each function it appears in.) genkdmconf.c:334: size of array `bn' has non-integer type genkdmconf.c: In function `main': genkdmconf.c:3446: `PATH_MAX' undeclared (first use in this function) make[2]: *** [genkdmconf.o] Error 1 make[2]: Leaving directory `/vol/src/kde/cvs/kdebase/kdm/kfrontend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vol/src/kde/cvs/kdebase/kdm/kfrontend' make: *** [all-recursive] Error 1 Simply adding "#include " at the end of the list of includes in genkdmconf.c resolved this problem for me.