The Samba-Bugzilla – Attachment 10622 Details for
Bug 10850
lib/nss_wrapper won't compile on Solaris platform
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Compiling error on Solaris 11.x
nss-wrapper-compiling-error-on-solaris11.txt (text/plain), 3.94 KB, created by
YOUZHONG YANG
on 2015-01-14 19:33:32 UTC
(
hide
)
Description:
Compiling error on Solaris 11.x
Filename:
MIME Type:
Creator:
YOUZHONG YANG
Created:
2015-01-14 19:33:32 UTC
Size:
3.94 KB
patch
obsolete
>root@batfs5998:/clusters/samba/bin# cat /etc/release > Oracle Solaris 11.2 X86 > Copyright (c) 1983, 2014, Oracle and/or its affiliates. All rights reserved. > Assembled 23 June 2014 > >root@batfs5998:/clusters/samba/bin# git remote -v >origin git://git.samba.org/samba.git (fetch) >origin git://git.samba.org/samba.git (push) > >root@batfs5998:/clusters/samba/bin# git branch >* master > >root@batfs5998:/clusters/samba/bin# git log -n 1 >commit d098b6c877629af0f23070481deaccdf65acd249 >Author: Jeremy Allison <jra@samba.org> >Date: Tue Jan 13 13:49:58 2015 -0800 > > s3: auth - tests: Add test for "force user" being a unix-only user, not in passdb. > > https://bugzilla.samba.org/show_bug.cgi?id=11044 > > Signed-off-by: Jeremy Allison <jra@samba.org> > Reviewed-by: Volker Lendecke <vl@samba.org> > > Autobuild-User(master): Volker Lendecke <vl@samba.org> > Autobuild-Date(master): Wed Jan 14 08:46:08 CET 2015 on sn-devel-104 > >root@batfs5998:/clusters/samba/bin# gcc -m64 -O2 -g -DNDEBUG -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fstack-protector -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DSTATIC_nss_wrapper_MODULES=NULL -DSTATIC_nss_wrapper_MODULES_PROTO="extern void __nss_wrapper_dummy_module_proto(void)" -MD -m64 -O2 -g -Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/include/public -I../include/public -Idefault/source4 -I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib -Idefault/source4/include -I../source4/include -Idefault/include -I../include -Idefault/lib/replace -I../lib/replace -Idefault -I.. -I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../lib/nss_wrapper/nss_wrapper.c -c -o default/lib/nss_wrapper/nss_wrapper_1.o >../lib/nss_wrapper/nss_wrapper.c:2420:5: error: conflicting types for âgethostbyname_râ > int gethostbyname_r(const char *name, > ^ >In file included from ../lib/nss_wrapper/nss_wrapper.c:65:0: >/usr/include/netdb.h:227:17: note: previous declaration of âgethostbyname_râ was here > struct hostent *gethostbyname_r > ^ >../lib/nss_wrapper/nss_wrapper.c:3031:5: error: conflicting types for âgetpwnam_râ > int getpwnam_r(const char *name, struct passwd *pwdst, > ^ >In file included from ../lib/nss_wrapper/nss_wrapper.c:62:0: >/usr/include/pwd.h:133:12: note: previous declaration of âgetpwnam_râ was here > extern int getpwnam_r(const char *, struct passwd *, char *, > ^ >../lib/nss_wrapper/nss_wrapper.c:3097:5: error: conflicting types for âgetpwuid_râ > int getpwuid_r(uid_t uid, struct passwd *pwdst, > ^ >In file included from ../lib/nss_wrapper/nss_wrapper.c:62:0: >/usr/include/pwd.h:132:12: note: previous declaration of âgetpwuid_râ was here > extern int getpwuid_r(uid_t, struct passwd *, char *, int, struct passwd **); > ^ >../lib/nss_wrapper/nss_wrapper.c:3320:5: error: conflicting types for âgetgrnam_râ > int getgrnam_r(const char *name, struct group *grp, > ^ >In file included from ../lib/nss_wrapper/nss_wrapper.c:63:0: >/usr/include/grp.h:120:12: note: previous declaration of âgetgrnam_râ was here > extern int getgrnam_r(const char *, struct group *, char *, int, > ^ >../lib/nss_wrapper/nss_wrapper.c:3391:5: error: conflicting types for âgetgrgid_râ > int getgrgid_r(gid_t gid, struct group *grdst, > ^ >In file included from ../lib/nss_wrapper/nss_wrapper.c:63:0: >/usr/include/grp.h:119:12: note: previous declaration of âgetgrgid_râ was here > extern int getgrgid_r(gid_t, struct group *, char *, int, struct group **); > ^ >../lib/nss_wrapper/nss_wrapper.c:3506:5: error: conflicting types for âgetgrent_râ > int getgrent_r(struct group *src, char *buf, > ^ >In file included from ../lib/nss_wrapper/nss_wrapper.c:63:0: >/usr/include/grp.h:37:22: note: previous declaration of âgetgrent_râ was here > extern struct group *getgrent_r(struct group *, char *, int); > ^
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 10850
:
10325
| 10622