[Mono-bugs] [Bug 74473][Blo] New - mono Fails to Compile on Solaris 10.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 7 Apr 2005 01:20:18 -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 mveygman@gmail.com.

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

--- shadow/74473	2005-04-07 01:20:18.000000000 -0400
+++ shadow/74473.tmp.3762	2005-04-07 01:20:18.000000000 -0400
@@ -0,0 +1,82 @@
+Bug#: 74473
+Product: Mono: Compilers
+Version: 1.0
+OS: Solaris [Other]
+OS Details: Solaris 10
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Basic
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mveygman@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono Fails to Compile on Solaris 10.
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:  Compilation of Mono Compiler Runtime Libraries in 
+mono/metadata fails due to incorrect calls to getpwuid_r, getpwnam_r, 
+getgrnam_r, and getgrgid_r.  Solaris does not allow the 5th argument of 
+struct group or struct passwd *
+
+Steps to reproduce the problem:
+1. Configure mono with threads enabled.
+2. Run Make.
+3. 
+
+Actual Results:
+
+security.c: In function `GetTokenName':
+security.c:136: error: too many arguments to function `getpwuid_r'
+security.c:136: warning: assignment makes integer from pointer without a 
+cast
+security.c: In function `IsDefaultGroup':
+security.c:203: error: too many arguments to function `getpwuid_r'
+security.c:203: warning: assignment makes integer from pointer without a 
+cast
+security.c: In function 
+`ves_icall_System_Security_Principal_WindowsIdentity_GetUserToken':
+security.c:365: error: too many arguments to function `getpwnam_r'
+security.c:365: warning: assignment makes integer from pointer without a 
+cast
+security.c: In function 
+`ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupId':
+security.c:520: error: too many arguments to function `getgrgid_r'
+security.c:520: warning: assignment makes integer from pointer without a 
+cast
+security.c: In function 
+`ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupName':
+security.c:572: error: too many arguments to function `getgrnam_r'
+security.c:572: warning: assignment makes integer from pointer without a 
+cast
+make[3]: *** [security.lo] Error 1
+make[3]: Leaving directory `/home/nynfs02/mveygm/tools/mono-
+1.0.6/mono/metadata'
+make[2]: *** [all-recursive] Error 1
+make[2]: Leaving directory `/home/nynfs02/mveygm/tools/mono-1.0.6/mono'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/home/nynfs02/mveygm/tools/mono-1.0.6'
+make: *** [all] Error 2
+
+Expected Results:
+
+
+How often does this happen? 
+
+Reproducible at will
+
+
+Additional Information:
+
+With this configuration compiled with
+
+gcc (GCC) 3.4.3
+Copyright (C) 2004 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+Distribution is mono-1.0.6.