[Kde-accessibility] [Bug 56034] New: unable to compile on SPARC/Solaris9

Lars Tunkrans 56034@bugs.kde.org
16 Mar 2003 17:48:10 -0000


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=56034     
           Summary: unable to compile on SPARC/Solaris9
           Product: kmouth
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: gunnar@schmi-dt.de
        ReportedBy: lars.tunkrans@bredband.net


Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          Gcc 3.2.2 
OS:          Solaris

While trying to Build  KDE accessibility  on SPARC / SOLARIS 9.....


# ./configure
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
not using lib directory suffix
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.9 ld.so
checking for msgfmt... /opt/sfw/bin/msgfmt
checking for gmsgfmt... /opt/sfw/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
found xgettext programs is not GNU xgettext; ignore it
checking for strlcat... yes
checking if strlcat needs custom prototype... no
checking for strlcpy... yes
checking if strlcpy needs custom prototype... no
checking for main in -lutil... no
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... no
checking for inet_ntoa in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) no
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries , headers
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking whether g++ supports -mt... no
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/local/qt/lib, headers /usr/local/qt/include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/local/qt/bin/moc
checking for uic... /usr/local/qt/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/local/kde/lib, headers /usr/local/kde/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/local/kde/bin/dcopidl
checking for dcopidl2cpp... /usr/local/kde/bin/dcopidl2cpp
checking for mcopidl... /usr/local/kde/bin/mcopidl
checking for artsc-config... /usr/local/kde/bin/artsc-config
checking for kde-config... /usr/local/kde/bin/kde-config
checking for meinproc... /usr/local/kde/bin/meinproc
checking for setenv... no
checking if setenv needs custom prototype... yes - in libkdefakes
checking for unsetenv... no
checking if unsetenv needs custom prototype... yes - in libkdefakes
checking if doc should be compiled... yes
checking if kmag should be compiled... yes
checking if kmousetool should be compiled... yes
checking if kmouth should be compiled... yes
checking if po should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating doc/Makefile
fast creating doc/kmag/Makefile
fast creating doc/kmag/images/Makefile
fast creating doc/kmousetool/Makefile
fast creating doc/kmouth/Makefile
fast creating kmag/Makefile
fast creating kmousetool/Makefile
fast creating kmousetool/kmousetool/Makefile
fast creating kmousetool/kmousetool/pics/Makefile
fast creating kmouth/Makefile
fast creating kmouth/books/Makefile
fast creating kmouth/icons/Makefile
fast creating kmouth/icons/app/Makefile
fast creating kmouth/icons/history/Makefile
fast creating kmouth/icons/phrase/Makefile
fast creating kmouth/icons/phrasebook/Makefile
fast creating kmouth/phrasebook/Makefile
fast creating po/Makefile
fast creating po/da/Makefile
fast creating po/de/Makefile
fast creating po/he/Makefile
fast creating po/hu/Makefile
fast creating po/pt/Makefile
fast creating po/sv/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Good - your configure finished. Start make now

#gmake 


   Skipping  some  dozens of lines.....

Making all in .
gmake[3]: Entering directory `/opt/src/kde3apps/kdeaccessibility-0.9.2/kmouth'
/usr/local/qt/bin/uic -L /usr/local/kde/lib/kde3/plugins/designer -nounload -o preferencesui.h ./preferencesui.ui
/usr/local/qt/bin/uic -L /usr/local/kde/lib/kde3/plugins/designer -nounload -o texttospeechconfigurationui.h ./texttospeechconfigurationui.ui
source='texttospeechconfigurationwidget.cpp' object='texttospeechconfigurationwidget.o' libtool=no \
depfile='.deps/texttospeechconfigurationwidget.Po' tmpdepfile='.deps/texttospeechconfigurationwidget.TPo' \
depmode=gcc3 /bin/bash ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Iphrasebook -I/usr/local/kde/include -I/usr/local/qt/include    -DQT_THREAD_SUPPORT -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2 -mcpu=ultrasparc -Wa,-xarch=v8plusa -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o texttospeechconfigurationwidget.o `test -f 'texttospeechconfigurationwidget.cpp' || echo './'`texttospeechconfigurationwidget.cpp
In file included from texttospeechconfigurationwidget.cpp:28:
speech.h:50: declaration of `__iob' as array of references
gmake[3]: *** [texttospeechconfigurationwidget.o] Error 1
gmake[3]: Leaving directory `/opt/src/kde3apps/kdeaccessibility-0.9.2/kmouth'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/opt/src/kde3apps/kdeaccessibility-0.9.2/kmouth'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/src/kde3apps/kdeaccessibility-0.9.2'
gmake: *** [all] Error 2


    GCC 3.2.2  on SPARC / SOLARIS9  is unhappy  about the speech.h  
    header file included in Kmouth.


   Kmag  and Kmousetool  compiles and works when I build them separately from 
   Kmouth.