Bug 21089 - Error compiling Mono source from git on Ubuntu 10.04 (gmcs version)
Summary: Error compiling Mono source from git on Ubuntu 10.04 (gmcs version)
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-07-03 08:44 UTC by Bhagya
Modified: 2014-07-04 11:24 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Bhagya 2014-07-03 08:44:44 UTC
Hello,

I downloaded Mono source from Git as an anonymous user using git clone git://github.com/mono/mono.git . Then did ./autogen.sh --prefix=/usr/local and then make V=1. The following error was shown (The log below is from an incremental make).

Git submodules updated successfully
make  all-recursive
make[1]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono'
Making all in po
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/po'
Making all in mcs
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/po/mcs'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/po/mcs'
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/po'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/po'
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/po'
Making all in libgc
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc'
Making all in m4
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/m4'
Making all in include
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/include'
Making all in private
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/include/private'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/include/private'
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/include'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/include'
Making all in doc
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc/doc'
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc'
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/libgc'
Making all in eglib
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib'
make  all-recursive
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib'
Making all in m4
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib/m4'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib/m4'
Making all in src
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib/src'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib/src'
Making all in test
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib/test'
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib'
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib'
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/eglib'
Making all in mono
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono'
Making all in arch
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/arch'
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/arch'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/arch'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/arch'
Making all in utils
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/utils'
make  all-am
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/utils'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/utils'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/utils'
Making all in io-layer
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/io-layer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/io-layer'
Making all in cil
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/cil'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/cil'
Making all in metadata
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/metadata'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/metadata'
Making all in mini
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/mini'
make  all-am
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/mini'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/mini'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/mini'
Making all in dis
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/dis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/dis'
Making all in monograph
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/monograph'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/monograph'
Making all in tests
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests'
Making all in cas
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas'
Making all in assembly
make[5]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/assembly'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/assembly'
Making all in linkdemand
make[5]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/linkdemand'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/linkdemand'
Making all in inheritance
make[5]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/inheritance'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/inheritance'
Making all in demand
make[5]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/demand'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/demand'
Making all in threads
make[5]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/threads'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas/threads'
make[5]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas'
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/cas'
Making all in assemblyresolve
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/assemblyresolve'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/assemblyresolve'
Making all in gc-descriptors
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/gc-descriptors'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests/gc-descriptors'
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/tests'
Making all in unit-tests
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/unit-tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/unit-tests'
Making all in benchmark
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/benchmark'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/benchmark'
Making all in profiler
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/profiler'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono/profiler'
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono'
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mono'
Making all in ikvm-native
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/ikvm-native'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/ikvm-native'
Making all in support
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/support'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/support'
Making all in data
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data'
Making all in net_2_0
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_2_0'
Making all in Browsers
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_2_0/Browsers'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_2_0/Browsers'
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_2_0'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_2_0'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_2_0'
Making all in net_4_0
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_0'
Making all in Browsers
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_0/Browsers'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_0/Browsers'
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_0'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_0'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_0'
Making all in net_4_5
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_5'
Making all in Browsers
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_5/Browsers'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_5/Browsers'
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_5'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_5'
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data/net_4_5'
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data'
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/data'
Making all in runtime
make[2]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/runtime'
if test -w /home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs; then :; else chmod -R +w /home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs; fi
cd /home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs && make  NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_4_0 net_4_5 xbuild_12   ' CC='gcc' all-profiles
*** Assuming PLATFORM is 'linux'.
make[3]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
make profile-do--net_2_0--all profile-do--net_3_5--all profile-do--net_4_0--all profile-do--net_4_5--all profile-do--xbuild_12--all
make[4]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
make PROFILE=basic all
make[5]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
make[6]: Entering directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
gmcs /warn:0 /out:build/deps/basic-profile-check.exe build/common/basic-profile-check.cs
build/common/basic-profile-check.cs(9,46): error CS0241: Default parameter specifiers are not permitted
build/common/basic-profile-check.cs(9,51): error CS8032: Internal compiler error during parsing, Run with -v for details
Compilation failed: 2 error(s), 0 warnings
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
make[6]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** You need Mono version 2.4 or better installed to build MCS
*** Check mono README for information on how to bootstrap a Mono installation.
make[5]: *** [do-profile-check] Error 1
make[5]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bhagya/DOWNLOAD/Utility/CLR.NET/Mono/mono'
make: *** [all] Error 2

It is suggesting me to use Mono version 2.4 or better. But I have Mono version 2.4.4 already installed on my machine running Ubuntu 10.04LTS, Linux kernel 2.6.32-53-generic. Later, I also tried to do a make get-monolite-latest, but the it was not able to connect to the url (sth like storage.bos.xamarin.com) from where monolite was supposed to be downloaded.

Please let me how I can proceed with the compilation.

Thank you,
Anoop
Comment 1 Zoltan Varga 2014-07-03 16:07:41 UTC
make get-monolite-latest should work now, there were some problems with the site.
Comment 2 Bhagya 2014-07-04 11:24:11 UTC
Thank you. It worked with mono from get-monolite-latest. Changing the status to resolved.