[Mono-dev] Error building Mono from scratch

schneider at jsschneider.de schneider at jsschneider.de
Thu Mar 16 09:46:01 EST 2006


Hi all,

I get some strange error buildung the latest snapshot of mono from
source.
Configure runs fine, but make says: 

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread
-I/dev/shm/mono_install/ginst//include/glib-2.0
-I/dev/shm/mono_install/ginst//lib/glib-2.0/include -I..
-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP
-D_FILE_OFFSET_BITS=64 -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -MT serial.lo -MD -MP -MF .deps/serial.Tpo -c serial.c 
-fPIC -DPIC -o .libs/serial.o
serial.c:16:20: serial.h: No such file or directory
serial.c:20: warning: no previous prototype for `open_serial'
serial.c:44: warning: no previous prototype for `close_serial'
serial.c:50: warning: no previous prototype for `read_serial'
serial.c:70: warning: no previous prototype for `write_serial'
serial.c:89: warning: no previous prototype for `discard_buffer'
serial.c:94: syntax error before "MonoParity"
serial.c:95: warning: function declaration isn't a prototype
serial.c: In function `set_attributes':
serial.c:98: `fd' undeclared (first use in this function)
serial.c:98: (Each undeclared identifier is reported only once
serial.c:98: for each function it appears in.)
serial.c:100: `baud_rate' undeclared (first use in this function)
serial.c:125: `parity' undeclared (first use in this function)
serial.c:126: `NoneParity' undeclared (first use in this function)
serial.c:130: `Odd' undeclared (first use in this function)
serial.c:134: `Even' undeclared (first use in this function)
serial.c:138: `Mark' undeclared (first use in this function)
serial.c:141: `Space' undeclared (first use in this function)
serial.c:147: `dataBits' undeclared (first use in this function)
serial.c:158: `stopBits' undeclared (first use in this function)
serial.c:159: `NoneStopBits' undeclared (first use in this function)
serial.c:162: `One' undeclared (first use in this function)
serial.c:165: `Two' undeclared (first use in this function)
serial.c:168: `OnePointFive' undeclared (first use in this function)
serial.c:178: `handshake' undeclared (first use in this function)
serial.c:179: `NoneHandshake' undeclared (first use in this function)
serial.c:182: `RequestToSend' undeclared (first use in this function)
serial.c:187: `RequestToSendXOnXOff' undeclared (first use in this
function)
serial.c:192: `XOnXOff' undeclared (first use in this function)
serial.c: At top level:
serial.c:213: warning: no previous prototype for `list_serial_devices'
make[2]: *** [serial.lo] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/dev/shm/mono_install/mono-1.1.13.20060313/support«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/dev/shm/mono_install/mono-1.1.13.20060313«
make: *** [all] Fehler

Can you see a solution for that one, or give me any hint where the bug is
hidden?

Cheers,

Johannes




More information about the Mono-devel-list mailing list