[Mono-devel-list] Mono 0.29 on RedHat 9 compile error mini.c; "MBState" undeclared , inssel.h not found
Hundemer P.,DP ITS,SCC,TR
P.Hundemer at deutschepost.de
Thu Dec 4 05:18:33 EST 2003
I ran './configure', no problem was reported, then i ran 'make install' and
it compiles nice without any error till mini.c:
make[2]: Entering directory `/home/****/mono-0.29/mono-0.29/mono/mini'
source='mini.c' object='mini.lo' libtool=yes \
depfile='.deps/mini.Plo' tmpdepfile='.deps/mini.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I../../libgc/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES
-D_GNU_SOURCE -D_REENTRANT -fexceptions -D_FILE_OFFSET_BITS=64 -g -O2
-fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
-c -o mini.lo `test -f 'mini.c' || echo './'`mini.c
rm -f .libs/mini.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgc/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGC_LINUX_THREADS
-DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions
-D_FILE_OFFSET_BITS=64 -g -O2 -fno-strict-aliasing -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -c mini.c -MT mini.lo -MD -MP -MF
.deps/mini.TPlo -fPIC -DPIC -o .libs/mini.lo
mini.c:47:20: inssel.h: No such file or directory
mini.c:6605: parse error before "MBState"
mini.c:6606: warning: function declaration isn't a prototype
mini.c: In function `emit_state':
mini.c:6607: `MBState' undeclared (first use in this function)
mini.c:6607: (Each undeclared identifier is reported only once
mini.c:6607: for each function it appears in.)
mini.c:6607: `kids' undeclared (first use in this function)
mini.c:6608: warning: implicit declaration of function `mono_burg_rule'
mini.c:6608: `state' undeclared (first use in this function)
mini.c:6608: `goal' undeclared (first use in this function)
mini.c:6609: `mono_burg_nts' undeclared (first use in this function)
mini.c:6610: `MBEmitFunc' undeclared (first use in this function)
mini.c:6610: parse error before "emit"
mini.c:6614: `MB_NTERM_reg' undeclared (first use in this function)
mini.c:6618: `cfg' undeclared (first use in this function)
mini.c:6621: `MB_NTERM_lreg' undeclared (first use in this function)
mini.c:6625: `MB_NTERM_freg' undeclared (first use in this function)
mini.c:6633: warning: implicit declaration of function `mono_burg_kids'
mini.c:6646: `emit' undeclared (first use in this function)
mini.c:6646: `mono_burg_func' undeclared (first use in this function)
mini.c:6647: `emit' used prior to declaration
mini.c:6647: warning: implicit declaration of function `emit'
mini.c: In function `mini_select_instructions':
mini.c:6715: `MBState' undeclared (first use in this function)
mini.c:6715: `mbstate' undeclared (first use in this function)
mini.c:6738: warning: implicit declaration of function `mono_burg_label'
mini.c:6744: `MB_NTERM_stmt' undeclared (first use in this function)
mini.c: In function `mini_init':
mini.c:7654: warning: implicit declaration of function `mono_burg_init'
make[2]: *** [mini.lo] Error 1
make[2]: Leaving directory `/home/****/mono-0.29/mono-0.29/mono/mini'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/****/mono-0.29/mono-0.29/mono'
make: *** [install-recursive] Error 1
______________________
mini.c:47:20: inssel.h: No such file or directory
I looked for that file on my machine, and i could not find it, a seach in
google showed me that there was an mono bug with this file missing some
month ago, i commented the line out and the compiler generates just the same
errors.
Where is this file and has it the definiton for 'MBState' ? Any solution?
regards
Philipp Hundemer
More information about the Mono-devel-list
mailing list