[Mono-bugs] [Bug 69466][Wis] New - undefined reference to `mono_main' in main.c

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 13 Nov 2004 21:40:37 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by svdmade@planet.nl.

http://bugzilla.ximian.com/show_bug.cgi?id=69466

--- shadow/69466	2004-11-13 21:40:37.000000000 -0500
+++ shadow/69466.tmp.20544	2004-11-13 21:40:37.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 69466
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: slackware-8.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: svdmade@planet.nl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: undefined reference to `mono_main' in main.c
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+During the compile of mono-1.1.2 I get the following compiler error
+
+ccache gcc -g -I/usr/test/garnome2/include -I/usr/X11R6/include -O2 -pipe
+-mtune =athlon-tbird -m3dnow -fno-strict-aliasing -g -Wall -Wunused
+-Wmissing-prototype s -Wmissing-declarations -Wstrict-prototypes
+-Wmissing-prototypes -Wnested-exter ns -Wpointer-arith -Wno-cast-qual
+-Wcast-align -Wwrite-strings -o mono -Wl,-vers ion-script=./ldscript main.o
+-Wl,--export-dynamic -Wl,--export-dynamic  -L/usr/t est/garnome2/lib
+-L/usr/X11R6/lib ./.libs/libmono-static.a -pthread /usr/test/ga
+rnome2/lib/libgthread-2.0.so /usr/test/garnome2/lib/libgmodule-2.0.so -ldl
+/usr/ test/garnome2/lib/libglib-2.0.so -lnsl -lpthread -lm -lrt -Wl,--rpath
+-Wl,/usr/t est/garnome2/lib -Wl,--rpath -Wl,/usr/test/garnome2/lib
+main.o(.text+0x1a): In function `main':
+/usr/download/garnome-2.9.1/mono/mono/work/main.d/mono-1.1.2/mono/mini/main.c:6:
+ undefined reference to `mono_main'
+collect2: ld returned 1 exit status
+make[9]: *** [mono] Error 1
+make[9]: Leaving directory
+`/usr/download/garnome-2.9.1/mono/mono/work/main.d/mo no-1.1.2/mono/mini'
+make[8]: *** [all] Error 2
+make[8]: Leaving directory
+`/usr/download/garnome-2.9.1/mono/mono/work/main.d/mo no-1.1.2/mono/mini'
+
+
+Steps to reproduce the problem:
+1. start compile of mono-1.1.2
+2. Compile ends with this error
+
+How often does this happen? 
+
+everytime
+
+Additional Information:
+I'm using gcc-3.4.3, glibc-2.3.3, kernel-2.6.10-rc1-mm5, garnome-2.9.1
+(gnome 2.9 develpment release)