[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 66024] New: kdm fails to compile on Solaris due to missing
From:       Torsten Kasch <tk () Genetik ! Uni-Bielefeld ! DE>
Date:       2003-10-14 11:20:39
[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=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 <limits.h>" at the end of the list of includes in \
genkdmconf.c resolved this problem for me.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic