More HPUX compile problems

Ravikiran Rajagopal <[email protected]>
Newsgroups gmane.comp.kde.non-linux
Message-ID <[email protected]>
Hello,
  I decided to get rid of aRts as Harri porten suggested. I discovered that 
one needs to define _INCLUDE_HPUX_SOURCE in order to get dcopserver.cpp 
compiled. The next point of failure was in kapplication.cpp. How do I get 
around this? 

Thanks in advance,
Ravi

/bin/sh ../libtool --mode=compile --tag=CXX aCC -DHAVE_CONFIG_H -I. -I. -I.. 
-I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio 
-I../kio/kfile -I/apps/packages/qt/vrsync/include -I. 
-I/apps/packages/kde3/include -I/apps/packages/include  -lpthread 
-DQT_THREAD_SUPPORT  -I/apps/packages/pcre/v3.9/include  -AA 
-D_XOPEN_SOURCE_EXTENDED -I/apps/packages/include -D_INCLUDE_HPUX_SOURCE  
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  
-c -o kapplication.lo `test -f kapplication.cpp || echo './'`kapplication.cpp
aCC -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../libltdl -I../kdecore 
-I../kdeui -I../kio -I../kio/kio -I../kio/kfile 
-I/apps/packages/qt/vrsync/include -I. -I/apps/packages/kde3/include 
-I/apps/packages/include -lpthread -DQT_THREAD_SUPPORT 
-I/apps/packages/pcre/v3.9/include -AA -D_XOPEN_SOURCE_EXTENDED 
-I/apps/packages/include -D_INCLUDE_HPUX_SOURCE -DQT_NO_TRANSLATION 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c kapplication.cpp  
+Z -DPIC -o .libs/kapplication.o
Error 312: "./kstandarddirs.h", line 567 # Local variable instance may not be 
used in default argument expression.
    har *type, const QString& filename, const KInstance* instance = 
KGlobal::instance() );
                                                                    
^^^^^^^^^^^^^^^^^
Error 283: "./kstandarddirs.h", line 567 # Illegal operand type in call 
expression.
    har *type, const QString& filename, const KInstance* instance = 
KGlobal::instance() );
                                                                    
^^^^^^^^^^^^^^^^^
Error 312: "./kstandarddirs.h", line 577 # Local variable instance may not be 
used in default argument expression.
    har *type, const QString& filename, const KInstance* instance = 
KGlobal::instance() );
                                                                    
^^^^^^^^^^^^^^^^^
Error 283: "./kstandarddirs.h", line 577 # Illegal operand type in call 
expression.
    har *type, const QString& filename, const KInstance* instance = 
KGlobal::instance() );
                                                                    
^^^^^^^^^^^^^^^^^
Error 312: "./kiconloader.h", line 272 # Local variable instance may not be 
used in default argument expression.
                        KInstance *instance=KGlobal::instance());
                                            ^^^^^^^^^^^^^^^^^
Error 283: "./kiconloader.h", line 272 # Illegal operand type in call 
expression.
                        KInstance *instance=KGlobal::instance());
                                            ^^^^^^^^^^^^^^^^^
Error 312: "./kiconloader.h", line 283 # Local variable instance may not be 
used in default argument expression.
                        KInstance *instance=KGlobal::instance());
                                            ^^^^^^^^^^^^^^^^^
Error 283: "./kiconloader.h", line 283 # Illegal operand type in call 
expression.
                        KInstance *instance=KGlobal::instance());
                                            ^^^^^^^^^^^^^^^^^
Error 312: "./kiconloader.h", line 289 # Local variable instance may not be 
used in default argument expression.
            KInstance *instance=KGlobal::instance());
                                ^^^^^^^^^^^^^^^^^
Error 283: "./kiconloader.h", line 289 # Illegal operand type in call 
expression.
            KInstance *instance=KGlobal::instance());
                                ^^^^^^^^^^^^^^^^^
Error 312: "./kiconloader.h", line 300 # Local variable instance may not be 
used in default argument expression.
                        KInstance *instance=KGlobal::instance());
                                            ^^^^^^^^^^^^^^^^^
Error 283: "./kiconloader.h", line 300 # Illegal operand type in call 
expression.
                        KInstance *instance=KGlobal::instance());
                                            ^^^^^^^^^^^^^^^^^
Error 699: "./kiconloader.h", line 300 # Error limit reached; halting 
compilation.
                        KInstance *instance=KGlobal::instance());
                                            ^^^^^^^^^^^^^^^^^
gmake[3]: *** [kapplication.lo] Error 1
gmake[3]: Leaving directory `/tmp/ravi/src/kde/kdelibs/kdecore'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/ravi/src/kde/kdelibs/kdecore'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/ravi/src/kde/kdelibs'
gmake: *** [all] Error 2
er
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.