[Mono-bugs] [Bug 572871] Compilation fails (libmono.so cannot be generated)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 21 22:55:44 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=572871

http://bugzilla.novell.com/show_bug.cgi?id=572871#c6


Andrés G. Aragoneses <knocte at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #6 from Andrés G. Aragoneses <knocte at gmail.com> 2010-01-22 03:55:39 UTC ---
(In reply to comment #5)
> Its an autotools bug, reautogen after installing g++ and it will compile fine.

True, I've done "make distclean", and "./autogen.sh && make V=1" again, and now
I didn't get the libmono problem, but a gmcs one:

build/common/basic-profile-check.cs(9,67): error CS0234: The type or namespace
name `AllowReversePInvokeCallsAttribute' does not exist in the namespace
`System.Runtime.InteropServices'. Are you missing an assembly reference?
make[6]: *** [build/deps/basic-profile-check.exe] Error 1

I'll check if this is fixed in HEAD (I'm some revs behind).

But then I guess if a check for g++ should be done at configure time. Can I
contribute a patch for configure.in? If yes, should that check be for every
platform, or only PLATFORM_LINUX?

BTW, why the error msg is so cryptic? Shouldn't it have failed with something
like "g++ command not found" instead of not finding the .so file at a later
phase?

Thanks.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list