[Uml-devel] 1.1 Beta 1 Compile Error

Jonathan Riddell jr at jriddell.org
Mon Sep 23 13:33:01 UTC 2002


> Attempting to compile on linux, gcc v3.2, fails on tokenizer.cc:
>
> source='tokenizer.cc' object='tokenizer.o' libtool=no \
> depfile='.deps/tokenizer.Po' tmpdepfile='.deps/tokenizer.TPo' \
> depmode=gcc3 /bin/sh ../../admin/depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde
> -I/usr/lib/qt3-gcc3.2/include -I/usr/X11R6/include
> -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -fno-exceptions -fno-check-new
> -c -o tokenizer.o `test -f 'tokenizer.cc' || echo './'`tokenizer.cc
> ./tokenizer.l:31: parse error before `,' token
> ./tokenizer.l:31: `char*dcgettext' redeclared as different kind of symbol
> /usr/include/libintl.h:52: previous declaration of `char* dcgettext(const
>    char*, const char*, int)'
> ./tokenizer.l:31: initializer list being treated as compound expression
> ./tokenizer.l:31: syntax error before `{' token
> ./tokenizer.l:32: parse error before `}' token
> ./tokenizer.l: In function `void inComment(MyLexer*)':
> ./tokenizer.l:181: parse error before `,' token
> make: *** [tokenizer.o] Error 1

Sorry, I don't seem to have replied to this.

It could be a gcc 3.2 thing, anyone succeeded with GCC 3.2?

Or it could be a flex thing, what version of flex do you have?

Jonathan Riddell






More information about the umbrello-devel mailing list