Dear list,

with linux compiling samba 4 works pretty fine but with opensolaris 'snv_111b' 64bit I have problems with the prototype declaration of getpwent_r():

(Using /opt/SunStudioExpress/bin/cc)

Compiling torture/../../lib/nss_wrapper/testsuite.c
"torture/../../lib/nss_wrapper/testsuite.c", line 336: prototype mismatch: 4 args passed, 3 expected "torture/../../lib/nss_wrapper/testsuite.c", line 336: warning: improper pointer/integer combination: op "=" "torture/../../lib/nss_wrapper/testsuite.c", line 518: prototype mismatch: 4 args passed, 3 expected "torture/../../lib/nss_wrapper/testsuite.c", line 518: warning: improper pointer/integer combination: op "=" "torture/../../lib/nss_wrapper/testsuite.c", line 669: warning: implicit function declaration: getgrouplist
cc: acomp failed for torture/../../lib/nss_wrapper/testsuite.c

Unlike linux, in opensolaris '/usr/include/pwd.h' this prototype indeed doesn't match this function in testsuite.c. There is no possibility to get the right prototype unless modifying the os headers.

Is there a workaround or a quick solution available? However I cannot (and wouldn't like to) use gcc because of the buggy glibc of solaris.

Thank you and best regards

Ralf




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to