[Uml-devel] [ uml-Bugs-637924 ] [PATCH] build errors on redhat 8.0

noreply at sourceforge.net noreply at sourceforge.net
Wed Nov 13 10:59:04 UTC 2002


Bugs item #637924, was opened at 2002-11-13 19:58
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=382951&aid=637924&group_id=24919

Category: Build system
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martijn Kruithof (jmkf)
Assigned to: Nobody/Anonymous (nobody)
Summary: [PATCH] build errors on redhat 8.0

Initial Comment:
Building on redhat 8.0 fails with:

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:32: parse error before `,' token
tokenizer.l:32: `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:32: initializer list being treated as
compound expression
tokenizer.l:32: syntax error before `{' token
tokenizer.l:33: parse error before `}' token
tokenizer.l: In function `void inComment(MyLexer*)':
tokenizer.l:182: parse error before `,' token
make[3]: *** [tokenizer.o] Error 1
make[3]: Leaving directory
`/home/jkf/umbrello-1.1/uml/classparser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jkf/umbrello-1.1/uml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jkf/umbrello-1.1'
make: *** [all] Error 2

gettext seems to be some macro which gets expanded.

The gettext is however unnecessary as the YYText()
function of FlexLexer already provides the necessary
behaviour.

Can be solved with the included patch:


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=382951&aid=637924&group_id=24919




More information about the umbrello-devel mailing list