[Mono-bugs] [Bug 49155][Wis] New - mono failed to compile on Solaris v2.8

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 1 Oct 2003 12:20:46 -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 txcao@yahoo.com.

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

--- shadow/49155	2003-10-01 12:20:46.000000000 -0400
+++ shadow/49155.tmp.2715	2003-10-01 12:20:46.000000000 -0400
@@ -0,0 +1,166 @@
+Bug#: 49155
+Product: Mono/Runtime
+Version: unspecified
+OS: Solaris 8
+OS Details: SunOS hercules 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: txcao@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono failed to compile on Solaris v2.8
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+can not compile mono version 0.26 and version mono-0.27.20030926
+on Solaris v2.8; Compile errors occured at /mono/metadata/socket-io.c
+
+Steps to reproduce the problem:
+1. ./configure --prefix=/3rdpty/E/mono
+2. make >&! make.log&
+3. tail -f make.log
+
+Actual Results:
+
+source='socket-io.c' object='socket-io.lo' libtool=yes \
+depfile='.deps/socket-io.Plo' tmpdepfile='.deps/socket-io.TPlo' \
+depmode=gcc /bin/bash ../../depcomp \
+/bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
+-I../
+.. -I../../mono -I../../libgc/include -threads
+-I/3rdpty/E/mono/include/glib-2.0
+ -I/3rdpty/E/mono/lib/glib-2.0/include   -I/3rdpty/E/mono/include/glib-2.0
+-I/3r
+dpty/E/mono/lib/glib-2.0/include   -DMONO_ASSEMBLIES=\"/3rdpty/E/mono/lib\"
+-DMO
+NO_CFG_DIR=\"/3rdpty/E/mono/etc\"  -DGC_SOLARIS_THREADS
+-DGC_SOLARIS_PTHREADS -D
+_REENTRANT -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
+-D_XOPEN_
+SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS  -g -Wall -Wunused
+-Wmissing-prototypes 
+-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
+-Wnested-extern
+s -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings
+-Wno-char-subscrip
+ts -c -o socket-io.lo `test -f 'socket-io.c' || echo './'`socket-io.c
+rm -f .libs/socket-io.lo
+gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono
+-I../../libgc/include -
+threads -I/3rdpty/E/mono/include/glib-2.0
+-I/3rdpty/E/mono/lib/glib-2.0/include 
+-I/3rdpty/E/mono/include/glib-2.0 -I/3rdpty/E/mono/lib/glib-2.0/include
+-DMONO_A
+SSEMBLIES=\"/3rdpty/E/mono/lib\" -DMONO_CFG_DIR=\"/3rdpty/E/mono/etc\"
+-DGC_SOLA
+RIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_FILE_OFFSET_BITS=64
+-D_XOPEN_S
+OURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -DNO_UNALIGNED_ACCESS
+-g -
+Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
+-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith
+-Wno-cast-qual -Wcast-align -Wwrite-strings -Wno-char-subscripts -c
+socket-io.c -Wp,-MD,.deps/socket-io.TPlo  -fPIC -DPIC -o .libs/socket-io.lo
+In file included from ../../mono/io-layer/wapi.h:26,
+                 from ../../mono/io-layer/io-layer.h:24,
+                 from ../../mono/metadata/loader.h:6,
+                 from ../../mono/metadata/class.h:6,
+                 from ../../mono/metadata/object.h:4,
+                 from socket-io.c:18:
+../../mono/io-layer/sockets.h:52: warning: `bind' redefined
+/usr/include/sys/socket.h:420: warning: this is the location of the
+previous definition
+../../mono/io-layer/sockets.h:53: warning: `connect' redefined
+/usr/include/sys/socket.h:421: warning: this is the location of the
+previous definition
+../../mono/io-layer/sockets.h:56: warning: `getsockopt' redefined
+/usr/include/sys/socket.h:427: warning: this is the location of the
+previous definition
+../../mono/io-layer/sockets.h:61: warning: `sendto' redefined
+/usr/include/sys/socket.h:424: warning: this is the location of the
+previous definition
+../../mono/io-layer/sockets.h:64: warning: `socket' redefined
+/usr/include/sys/socket.h:425: warning: this is the location of the
+previous definition
+In file included from ../../mono/metadata/image.h:4,
+                 from ../../mono/metadata/metadata.h:9,
+                 from ../../mono/metadata/class.h:4,
+                 from ../../mono/metadata/object.h:4,
+                 from socket-io.c:18:
+/usr/include/stdio.h:120: warning: redefinition of `va_list'
+/3rdpty/local.5.6-1/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/stdarg.h:170:
+warning: `va_list' previously declared here
+socket-io.c: In function `create_object_from_sockaddr':
+socket-io.c:759: warning: cast increases required alignment of target type
+socket-io.c:774: warning: cast increases required alignment of target type
+socket-io.c:779: warning: cast increases required alignment of target type
+socket-io.c:804: warning: cast increases required alignment of target type
+socket-io.c:816: warning: cast increases required alignment of target type
+socket-io.c: In function
+`ves_icall_System_Net_Sockets_Socket_LocalEndPoint_internal':
+socket-io.c:835: warning: cast increases required alignment of target type
+socket-io.c:845: warning: cast increases required alignment of target type
+socket-io.c: In function
+`ves_icall_System_Net_Sockets_Socket_RemoteEndPoint_internal':
+socket-io.c:857: warning: cast increases required alignment of target type
+socket-io.c:867: warning: cast increases required alignment of target type
+socket-io.c: In function `create_sockaddr_from_object':
+socket-io.c:880: warning: cast increases required alignment of target type
+socket-io.c: In function `Socket_to_SOCKET':
+socket-io.c:1134: warning: cast increases required alignment of target type
+socket-io.c: In function `ves_icall_System_Net_Sockets_Socket_Select_internal':
+socket-io.c:1168: warning: cast increases required alignment of target type
+socket-io.c:1185: warning: cast increases required alignment of target type
+socket-io.c:1202: warning: cast increases required alignment of target type
+socket-io.c:1233: warning: cast increases required alignment of target type
+socket-io.c:1240: warning: cast increases required alignment of target type
+socket-io.c:1243: warning: cast increases required alignment of target type
+socket-io.c:1256: warning: cast increases required alignment of target type
+socket-io.c:1263: warning: cast increases required alignment of target type
+socket-io.c:1266: warning: cast increases required alignment of target type
+socket-io.c:1279: warning: cast increases required alignment of target type
+socket-io.c:1286: warning: cast increases required alignment of target type
+socket-io.c:1289: warning: cast increases required alignment of target type
+socket-io.c: In function `int_to_object':
+socket-io.c:1305: warning: cast increases required alignment of target type
+socket-io.c: In function
+`ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal':
+socket-io.c:1377: warning: cast increases required alignment of target type
+socket-io.c: In function
+`ves_icall_System_Net_Sockets_Socket_GetSocketOption_obj_internal':
+socket-io.c:1377: warning: cast increases required alignment of target type
+socket-io.c: In function `ipaddress_to_struct_in_addr':
+socket-io.c:1436: warning: cast increases required alignment of target type
+socket-io.c: In function `ipaddress_to_struct_in6_addr':
+socket-io.c:1450: warning: cast increases required alignment of target type
+socket-io.c:1457: structure has no member named `__u6_addr'
+socket-io.c:1457: warning: cast increases required alignment of target type
+socket-io.c: In function
+`ves_icall_System_Net_Sockets_Socket_SetSocketOption_internal':
+socket-io.c:1524: warning: cast increases required alignment of target type
+socket-io.c:1544: warning: cast increases required alignment of target type
+socket-io.c:1551: warning: cast increases required alignment of target type
+socket-io.c:1562: warning: missing braces around initializer
+socket-io.c:1562: warning: (near initialization for `mreq.imr_multiaddr.S_un')
+socket-io.c:1570: warning: cast increases required alignment of target type
+socket-io.c:1579: warning: cast increases required alignment of target type
+socket-io.c: In function `addrinfo_to_IPHostEntry':
+socket-io.c:1875: warning: cast increases required alignment of target type
+socket-io.c:1877: warning: cast increases required alignment of target type
+socket-io.c:1893: warning: cast increases required alignment of target type
+make[4]: *** [socket-io.lo] Error 1
+make[4]: Leaving directory 
+
+
+How often does this happen? 
+
+
+Additional Information: