[Mono-bugs] [Bug 74889][Wis] New - "-shared" flag missing from libfoo.so build
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 9 May 2005 21:32:56 -0400 (EDT)
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 dsilva@ccs.neu.edu.
http://bugzilla.ximian.com/show_bug.cgi?id=74889
--- shadow/74889 2005-05-09 21:32:56.000000000 -0400
+++ shadow/74889.tmp.10363 2005-05-09 21:32:56.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 74889
+Product: Mono: Debugger
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: backend
+AssignedTo: toshok@ximian.com
+ReportedBy: dsilva@ccs.neu.edu
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: "-shared" flag missing from libfoo.so build
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+~/mono-svn/debugger$ make
+...
+
+/bin/sh ../libtool --mode=link /usr/bin/gcc-3.4 -g -Wall -Wunused
+-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
+-Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith
+-Wno-cast-qual -Wcast-align -Wwrite-strings -o libfoo.so -shared foo.o
+/usr/bin/gcc-3.4 -g -Wall -Wunused -Wmissing-prototypes
+-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
+-Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align
+-Wwrite-strings -o libfoo.so foo.o
+/usr/lib/gcc/i486-linux/3.4.4/../../../../lib/crt1.o(.text+0x18): In
+function `_start':
+../sysdeps/i386/elf/start.S:115: undefined reference to `main'
+
+Looks like the -shared flag goes away in the second command line. This is
+the libtool version:
+
+~/mono-svn/debugger$ ./libtool --version
+ltmain.sh (GNU libtool 1.1467 2004/04/01 04:43:56) 1.5a