Read error in configuration file line 69 !
Bugfix courtesy of Joachim Danz:
In file xgui/sources/ui_config.c change line 495 from:
for (i=0; (i<>UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS);
i++) {
to:
for (i=0; (i<UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS)
&& (i<noParams); i++) {
MAXFLOAT undefined in symtab.cBugfix courtesy of Marco Otilio Peņa Diaz, based on previous suggestions by Sylvia Wong, Tom Doris, James Holzwarth:
In symtab.c, after #include <math.h>, add
#ifndef MAXFLOAT
#ifdef FLT_MAX
#define MAXFLOAT FLT_MAX
#else
#define MAXFLOAT 3.40282347e+38F
#endif
#endif
Bugfix for Mandrake Linux 8.2 courtesy of Peter Billen:
In symtab.c, after #include <math.h>, add
#include <float.h>
Workaround courtesy of Boris Hollas:
Please make sure that in the KDE Control Center, in branch
Desktop -> Style, the option
Apply fonts and color to non-KDE apps
is switched off.
gcc -I../.. -I../../kernel/sources -I../../xgui/iconsXgui
-I/usr/X11R6/include -g -O2 -c ui_confirmer.c
/usr/include/bits/string2.h: In function `__strcpy_small':
In file included from /usr/include/string.h:346,
from /usr/X11R6/include/X11/Intrinsic.h:66,
from ui.h:30,
from ui_confirmer.c:23:
/usr/include/bits/string2.h:405: warning: empty declaration
/usr/include/bits/string2.h:423: parse error before `='
/usr/include/bits/string2.h:426: parse error before `='
/usr/include/bits/string2.h:431: parse error before `='
/usr/include/bits/string2.h:436: parse error before `='
/usr/include/bits/string2.h:443: parse error before `='
/usr/include/bits/string2.h:445: parse error before `='
make[1]: *** [ui_confirmer.o] Error 1
make[1]: Leaving directory
`/home/tcoates/jaz/cvs-checkout/research/snns/SNNSv4.2/xgui/sources'
make: *** [compile-xgui] Error 2
Workaround courtesy of Bernhard Tschirren:
change the following in xgui/sources/ui.h:to
#ifndef __ui
#define __ui
#ifndef __ui_h
#define __ui_h
Workaround:
Not known