Bug 319118 (MONO76246) - Compilation fails for mono-debugger-0.10.tar.gz
Summary: Compilation fails for mono-debugger-0.10.tar.gz
Status: RESOLVED INVALID
Alias: MONO76246
Product: Mono: Debugger
Classification: Mono
Component: gui (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Chris Toshok
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2005-09-27 14:57 UTC by Gediminas Bukauskas
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:32:22 UTC


---- Reported by audriusb@homelan.lt 2005-09-27 07:57:38 MST ----

Description of Problem:

make[2]: Entering directory
`/home/gedas/mono/sources/mono-debugger-0.10/wrapper'
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"MonoDebuggerJitWrapper\" -D_REENTRANT -pthread
-I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-D_GNU_SOURCE    -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wnested-externs  -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -MT mini-main.o -MD -MP -MF ".deps/mini-main.Tpo" -c -o
mini-main.o mini-main.c; \
then mv -f ".deps/mini-main.Tpo" ".deps/mini-main.Po"; else rm -f
".deps/mini-main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"MonoDebuggerJitWrapper\" -D_REENTRANT -pthread
-I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
-D_GNU_SOURCE    -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wnested-externs  -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -MT wrapper.o -MD -MP -MF ".deps/wrapper.Tpo" -c -o
wrapper.o wrapper.c; \
then mv -f ".deps/wrapper.Tpo" ".deps/wrapper.Po"; else rm -f
".deps/wrapper.Tpo"; exit 1; fi
wrapper.c:41: error: `mono_generic_trampoline_code' undeclared here (not in
a function)
wrapper.c:41: error: initializer element is not constant
wrapper.c:41: error: (near initialization for
`MONO_DEBUGGER__debugger_info.generic_trampoline_code')wrapper.c:60:
warning: initialization makes integer from pointer without a cast
wrapper.c:220: warning: initialization from incompatible pointer type
wrapper.c:221: warning: initialization from incompatible pointer type
wrapper.c:223: warning: initialization from incompatible pointer type
make[2]: *** [wrapper.o] Error 1

You forgot, that pointer and integer aren't compatible in 64 bit
environment, I think.

Steps to reproduce the problem:
1. tar -xzvf mono-debugger-0.10.tar.gz
2. cd mono-debugger-0.10
3. ./configure --prefix=/usr/local
4. make

Actual Results:
  Compilation fails with provided message.

Expected Results:


How often does this happen? 
Permanent.

Additional Information:



---- Additional Comments From audriusb@homelan.lt 2005-09-27 08:28:53 MST ----

I found a message:

2005-07-26  Martin Baulig  <martin@ximian.com>

        * mini.c
        (trampoline_code): Renamed to `mono_trampoline_code' and made it
        public; this is now accessed directly by the debugger.
        (mono_generic_trampoline_code): Removed.

in "mono-1.1.9.1/mono/mini/ChangeLog"
Constant mono_generic_trampoline_code is not defined. Unit was
compiled after I changed this link to &mono_trampoline_code, but
debuger wasn't built because of susequent bugs:

../backends/mono/MonoArrayType.cs(41,7): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
../backends/mono/MonoClassType.cs(426,36): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
../backends/mono/MonoClassType.cs(490,13): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
../backends/mono/MonoClassType.cs(494,13): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
../backends/mono/MonoClassType.cs(535,18): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
../backends/mono/MonoClassType.cs(541,18): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
../backends/mono/MonoSymbolFile.cs(1014,15): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
../classes/ProcessStart.cs(105,22): error CS0234: The type or
namespace name `MonoDebuggerSupport' does not exist in the namespace
`Mono.CompilerServices.SymbolWriter'. Are you missing an assembly
reference?
Compilation failed: 8 error(s), 1 warnings






---- Additional Comments From kurt@maute.us 2005-10-14 22:03:03 MST ----

I'm getting the exact same results on a fresh install of Fedora Core 4
(AMD Athlon 2600+)



---- Additional Comments From martin@ximian.com 2005-10-16 14:20:24 MST ----

.


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>UBUNTU HOARY for AMD64</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".