Bug 11729 - No rule to make target `../../external/ikvm/reflect/*.cs', needed by `../class/lib/basic/basic.exe
Summary: No rule to make target `../../external/ikvm/reflect/*.cs', needed by `../clas...
Status: RESOLVED INVALID
Alias: None
Product: Runtime
Classification: Mono
Component: Tools ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-04-11 07:59 UTC by Heather
Modified: 2017-01-24 10:39 UTC (History)
6 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 INVALID

Description Heather 2013-04-11 07:59:31 UTC
Can't compile mono on Linux / 32bit

Happening with 3.0.8 and 3.0.9

verbose.c:168:14: warning: 'number' may be used uninitialized in this function [-Wmaybe-uninitialized]
verbose.c:160:6: warning: 'act' may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from warshall.c:41:0:
defs.h:303:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
defs.h:304:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
defs.h:305:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
warshall.c:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
warshall.c:95:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
warshall.c:38:13: warning: 'sccsid' defined but not used [-Wunused-variable]
./../jay/jay: 7 shift/reduce conflicts.
mkdir -p -- ../class/lib/basic/
make[7]: *** No rule to make target `../../external/ikvm/reflect/*.cs', needed by `../class/lib/basic/basic.exe'.  Stop.
Comment 1 Zoltan Varga 2013-04-19 14:40:52 UTC
The mono git repository uses submodules, so you need to do git submodule init/git submodule update to initialize them before doing a build.
Comment 2 Tomasz Pajor 2014-06-10 05:58:20 UTC
Hi,

I'm working on homebrew port. I've downloaded a release version from github https://github.com/mono/mono/archive/mono-3.4.0.204.tar.gz. It does not compile. The error is like above. How can I approach this issue?
Comment 3 Tomasz Pajor 2014-06-10 06:12:28 UTC
I forgot to write how I build it.

./autogen.sh --prefix=/tmp/mono --disable-nls
make get-monolite-latest
make

verbose.c:348:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print_gotos(stateno)
^~~~~~~~~~~
11 warnings generated.
warshall.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
transitive_closure(R, n)
^~~~~~~~~~~~~~~~~~
warshall.c:95:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
reflexive_transitive_closure(R, n)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
make[7]: *** No rule to make target `../../external/ikvm/reflect/*.cs', needed by `../class/lib/basic/basic.exe'.  Stop.
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[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 4 Constantine 2017-01-24 08:35:27 UTC
@Zoltan Varga why did you close the bug? It's valid: the page http://www.mono-project.com/docs/compiling-mono/linux/ didn't mention anything about git-submodules. I'm having the same problem for 4.6 here — I downloaded the archive from the branch.
Comment 5 Constantine 2017-01-24 08:37:23 UTC
And while on it: could you elaborate what to do to fix the build. I downloaded an archive for the reason that I'm behind a proxy, where git for some reason doesn't work, even for https connections.
Comment 6 Zoltan Varga 2017-01-24 10:39:56 UTC
Not sure mono can still be compiled from a tarball.