[Mono-bugs] [Bug 74791][Cos] New - Monograph/monodis link error under cygwin
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 1 May 2005 15:40:34 -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 flashdict@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74791
--- shadow/74791 2005-05-01 15:40:34.000000000 -0400
+++ shadow/74791.tmp.444 2005-05-01 15:40:34.000000000 -0400
@@ -0,0 +1,96 @@
+Bug#: 74791
+Product: Mono: Tools
+Version: unspecified
+OS: Windows XP (Cygwin)
+OS Details: CYGWIN_NT-5.1 HOME1 1.5.14(0.126/4/2) 2005-04-01
+Status: NEW
+Resolution:
+Severity:
+Priority: Cosmetic
+Component: tools
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: flashdict@gmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Monograph/monodis link error under cygwin
+
+Building (linking) monograph and monodis under cygwin gives an undeclared
+error for two definitions, S_IXOTH and S_IXGRP. The link succeeds, and the
+tools seem to work ok, however, so I'll set this as cosmetic.
+
+
+gcc -mno-cygwin -g -g -O2 -fno-strict-aliasing -g -Wall -Wunused
+-Wmissing-proto
+types -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
+-Wnested-e
+xterns -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o
+.libs/mono
+dis.exe dump.o main.o -Wl,--export-dynamic libmonodis.a
+../mini/.libs/libmono.d
+ll.a -L/target/lib -L/lib -L/usr/lib -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
+/usr
+/lib/libintl.dll.a /usr/lib/libiconv.dll.a -lws2_32 -lpsapi -lole32 -Wl,--rpath
+-Wl,/usr/local/lib
+Info: resolving _mono_opcodes by linking to __imp__mono_opcodes (auto-import)
+creating monodis.exe
+.libs/lt-monodis.c: In function `main':
+.libs/lt-monodis.c:109: warning: passing arg 2 of `execv' from incompatible
+poin
+ter type
+.libs/lt-monodis.c: In function `check_executable':
+.libs/lt-monodis.c:156: error: `S_IXOTH' undeclared (first use in this
+function)
+.libs/lt-monodis.c:156: error: (Each undeclared identifier is reported only
+once
+.libs/lt-monodis.c:156: error: for each function it appears in.)
+.libs/lt-monodis.c:157: error: `S_IXGRP' undeclared (first use in this
+function)
+make[3]: Leaving directory `/home/Bill/src/mono/mono/dis'
+Making all in monograph
+make[3]: Entering directory `/home/Bill/src/mono/mono/monograph'
+/bin/bash ../../libtool --mode=link --tag=CC gcc -mno-cygwin -g -g -O2
+-fno-str
+ict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
+-Wstr
+ict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith
+-Wno-cast-
+qual -Wcast-align -Wwrite-strings -o monograph.exe monograph.o
+../mini/libmon
+o.la -L/lib -L/target/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv
+-Wl,--export
+-dynamic -L/target/lib -L/lib -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm
+-lws
+2_32 -lpsapi -lole32
+gcc -mno-cygwin -g -g -O2 -fno-strict-aliasing -g -Wall -Wunused
+-Wmissing-proto
+types -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
+-Wnested-e
+xterns -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o
+.libs/mono
+graph.exe monograph.o -Wl,--export-dynamic ../mini/.libs/libmono.dll.a
+-L/targe
+t/lib -L/lib -L/usr/lib -lgthread-2.0 -lgmodule-2.0 -lglib-2.0
+/usr/lib/libintl.
+dll.a /usr/lib/libiconv.dll.a -lws2_32 -lpsapi -lole32 -Wl,--rpath
+-Wl,/usr/loca
+l/lib
+Info: resolving _mono_opcodes by linking to __imp__mono_opcodes (auto-import)
+creating monograph.exe
+.libs/lt-monograph.c: In function `main':
+.libs/lt-monograph.c:109: warning: passing arg 2 of `execv' from
+incompatible po
+inter type
+.libs/lt-monograph.c: In function `check_executable':
+.libs/lt-monograph.c:156: error: `S_IXOTH' undeclared (first use in this
+functio
+n)
+.libs/lt-monograph.c:156: error: (Each undeclared identifier is reported
+only on
+ce
+.libs/lt-monograph.c:156: error: for each function it appears in.)
+.libs/lt-monograph.c:157: error: `S_IXGRP' undeclared (first use in this
+functio
+n)
+make[3]: Leaving directory `/home/Bill/src/mono/mono/monograph'