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

List:       kde-core-devel
Subject:    2_2_BRANCH compile error on Solaris?
From:       Hans Meine <hans_meine () gmx ! net>
Date:       2001-11-28 2:03:04
[Download RAW message or body]

Hi!

I got a strange compile error under Solaris with the current 2.2 tree,
can somebody remember any change which could have caused this?
____________________________________________________________________

c++ -DHAVE_CONFIG_H -I. -I../../../kdelibs/kdecore -I.. -I../../../kdelibs/dcop \
-I../../../kdelibs/libltdl -I../../../kdelibs/kdecore -I../../../kdelibs/kdeui \
-I../../../kdelibs/kssl -I/software/qt-2.3.0/SunOS-5.6/include \
-I/software/kde-2.2/include -I/software/jpeg-6b/include \
-I/software/zlib-1.1.3/include -I/software/openssl-0.9.6b/SunOS-5.6/include \
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -DNDEBUG -O2 \
-fno-exceptions -fno-check-new -ftemplate-depth-99 -DQT_NO_TRANSLATION \
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/kapp.pp -c \
../../../kdelibs/kdecore/kapp.cpp  -fPIC -DPIC -o .libs/kapp.o In file included from \
/usr/include/netdb.h:98,  from ../../../kdelibs/kdecore/kapp.cpp:103:
/usr/include/sys/socket.h:61: declaration does not declare anything
gmake[3]: *** [kapp.lo] Error 1
____________________________________________________________________

Older 2.2 CVS (kapp.h from 2001/09/15) worked, though.

If you are as curious as I was, the offending line is the second
typedef in the following snippet:

____________________________________________________________________

#ifndef _SOCKLEN_T
#define _SOCKLEN_T

#if defined(_XPG4_2) && !defined(_XPG5) && !defined(_LP64)
typedef size_t          socklen_t;
#else
typedef uint32_t        socklen_t;
#endif  /* defined(_XPG4_2) && !defined(_XPG5) && !defined(_LP64) */
____________________________________________________________________

Hmm, seems to be some strange #define somewhere else.

-- 
Ciao,  /  /
      /--/
     /  / ANS                          .,* Hamburg, Germany *,.


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

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