[Uml-user] Compiling Umbrello

Jean-Francois Ng jean_francois.ng at videotron.ca
Thu Jan 16 12:04:21 UTC 2003


Hello!

I'm trying to compile umbrello under Solaris 9 and I got the following message 
when doing make.

cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/bash ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/root/sources/umbrello-1.1rc2'
Making all in uml
make[2]: Entering directory `/root/sources/umbrello-1.1rc2/uml'
Making all in classparser
make[3]: Entering directory `/root/sources/umbrello-1.1rc2/uml/classparser'
source='tokenizer.cc' object='tokenizer.o' libtool=no \
depfile='.deps/tokenizer.Po' tmpdepfile='.deps/tokenizer.TPo' \
depmode=gcc3 /bin/bash ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include    -DQT_THREAD_SUPPORT  
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -O2 -O0 
-fno-exceptions -fno-check-new  -c -o tokenizer.o `test -f tokenizer.cc || 
echo './'`tokenizer.cc
In file included from /opt/gcc/include/c++/3.2/backward/iostream.h:31,
                 from /opt/kde3/include/FlexLexer.h:47,
                 from tokenizer.cc:238:
/opt/gcc/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning 
This file includes at least one deprecated or antiquated header. Please 
consider using one of the 32 headers found in section 17.4.1.2 of the C++ 
standard. Examples include substituting the <X> header for the <X.h> header 
for C++ includes, or <sstream> instead of the deprecated header 
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from /opt/kde3/include/FlexLexer.h:47,
                 from tokenizer.cc:238:
/opt/gcc/include/c++/3.2/backward/iostream.h:36: using declaration `istream'
   introduced ambiguous type `istream'
tokenizer.cc: In member function `virtual int yyFlexLexer::yylex()':
tokenizer.cc:1311: cannot convert `std::istream*' to `istream*' in assignment
tokenizer.cc: In member function `void yyFlexLexer::yy_load_buffer_state()':
tokenizer.cc:1842: cannot convert `istream*' to `std::istream*' in assignment
tokenizer.cc: In member function `void
   yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
tokenizer.cc:1893: cannot convert `std::istream*' to `istream*' in assignment
make[3]: *** [tokenizer.o] Error 1
make[3]: Leaving directory `/root/sources/umbrello-1.1rc2/uml/classparser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/sources/umbrello-1.1rc2/uml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/sources/umbrello-1.1rc2'
make: *** [all] Error 2


I done what they said from the FAQ, turning off optimization by doing this :

export CXXFLAGS=-O0   that's dash oh zero
make -f Makefile.cvs    if source from CVS
./configure
make
make install

This is the output of 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... /usr/local/bin/install -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 for g++... g++
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 -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
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... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
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 for res_init... no
checking for killpg in -lucb... no
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 char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for X... libraries , headers
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
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 /opt/kde3/lib, headers /opt/kde3/include using 
-mt
checking if Qt compiles without flags... no
checking for moc... /opt/kde3/bin/moc
checking for uic... /opt/kde3/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 /opt/kde3/lib, headers /opt/kde3/include
checking for KDE paths... defaults
checking for dcopidl... /opt/kde3/bin/dcopidl
checking for dcopidl2cpp... /opt/kde3/bin/dcopidl2cpp
checking for mcopidl... /opt/kde3/bin/mcopidl
checking for artsc-config... /opt/kde3/bin/artsc-config
checking for kde-config... /opt/kde3/bin/kde-config
checking for meinproc... /opt/kde3/bin/meinproc
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for setenv... no
configure: creating ./config.status
fast creating uml.spec
config.status: creating config.h
config.status: executing default-1 commands
checking if doc should be compiled... yes
checking if po should be compiled... yes
checking if uml should be compiled... yes
configure: creating ./config.status
fast creating uml.spec
fast creating ./Makefile
fast creating doc/Makefile
fast creating doc/de/Makefile
fast creating doc/de/pics/Makefile
fast creating doc/en/Makefile
fast creating doc/en/pics/Makefile
fast creating po/Makefile
fast creating uml/Makefile
fast creating uml/classparser/Makefile
fast creating uml/clipboard/Makefile
fast creating uml/codegenerators/Makefile
fast creating uml/dialogs/Makefile
fast creating uml/headings/Makefile
fast creating uml/pics/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands

Thank you
Jean-Francois




More information about the umbrello mailing list