[Mono-dev] Build Error -- Bootstrap compiler: Mono C# compiler version 3.0.12.0 main.c: In function ‘create_file_names’: main.c:306:12: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result [-Wunused-result] mkstemp(action_file_name); ^ main.c:307:12: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result [-Wunused-result] mkstemp(prolog_file_name); ^ main.c:308:12: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result [-Wunused-result] mkstemp(local_file_name); ^ ./../jay/jay: 7 shift/reduce conflicts. mkdir -p -- ../class/lib/basic/ MCS [basic] basic.exe cs-parser.jay(7041,10): error CS1729: The type `Mono.CSharp.Tokenizer' does not contain a constructor that takes `3' arguments cs-tokenizer.cs(435,10)

Isaac Gouy igouy2 at yahoo.com
Tue Oct 29 18:58:01 UTC 2013


Ubuntu 13.10 Linux x86 3.11.0-12-generic 

$ git clone git://github.com/mono/llvm.git
$ cd llvm
$ git checkout mono
$ ./configure --prefix=/usr/local/src/monollvm --enable-optimized --enable-targets="x86"
$ make && make install

$ cd ..
$ git clone git://github.com/mono/mono
$ cd mono
$ export MONO_USE_LLVM=1
$ PATH=/usr/local/src/monollvm/bin:$PATH
$ ./autogen.sh --prefix=/usr/local  --enable-llvm=yes
$ make

...

cd /usr/local/src/mono/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_4_0 net_4_5  ' CC='gcc' all-profiles
mkdir -p -- build/deps
Bootstrap compiler: Mono C# compiler version 3.0.12.0
main.c: In function ‘create_file_names’:
main.c:306:12: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result [-Wunused-result]
     mkstemp(action_file_name);
            ^
main.c:307:12: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result [-Wunused-result]
     mkstemp(prolog_file_name);
            ^
main.c:308:12: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result [-Wunused-result]
     mkstemp(local_file_name);
            ^
./../jay/jay: 7 shift/reduce conflicts.
mkdir -p -- ../class/lib/basic/
MCS     [basic] basic.exe
cs-parser.jay(7041,10): error CS1729: The type `Mono.CSharp.Tokenizer' does not contain a constructor that takes `3' arguments
cs-tokenizer.cs(435,10): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
make[7]: *** [../class/lib/basic/basic.exe] Error 1
make[6]: *** [do-all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [profile-do--basic--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/usr/local/src/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mono'
make: *** [all] Error 2


More information about the Mono-devel-list mailing list