Bug 2773 - samba-3.0.15pre2 fails bo build pam_winbind.c on Solaris
Summary: samba-3.0.15pre2 fails bo build pam_winbind.c on Solaris
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.20
Hardware: Sparc Solaris
: P3 regression
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 14:48 UTC by Fredrik Lundholm
Modified: 2006-04-08 07:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Lundholm 2005-06-06 14:48:16 UTC
lunatic> make
Using FLAGS =  -fast -xtarget=ultra3i -xarch=v8 -xspace -I/opt/csw/include 
-Iinclude
-I/export/home/dol/src/blastwave/build-pkg/samba-3.0.15pre2/source/include
-I/export/home/dol/src/blastwave/build-pkg/samba-3.0.15pre2/source/ubiqx  -I.
-D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/opt/csw/include
-I/export/home/dol/src/blastwave/build-pkg/samba-3.0.15pre2/source
      LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -liconv
      LDSHFLAGS = -G -fast -xtarget=ultra3i -xarch=v8 -xspace -I/opt/csw/include
 -lthread -R/opt/csw/lib -L/opt/csw/lib -L/opt/csw/lib
      LDFLAGS = -lthread -R/opt/csw/lib -L/opt/csw/lib -L/opt/csw/lib
Compiling nsswitch/pam_winbind.c with -KPIC
"nsswitch/pam_winbind.c", line 71: warning: argument #3 is incompatible with
prototype:
        prototype: pointer to pointer to void :
"/usr/include/security/pam_appl.h", line 177
        argument : pointer to pointer to const void
"nsswitch/pam_winbind.c", line 74: warning: argument #2 is incompatible with
prototype:
        prototype: pointer to pointer to struct pam_message {int msg_style,
pointer to char msg} : "unknown", line 0
        argument : pointer to pointer to const struct pam_message {int
msg_style, pointer to char msg}
"nsswitch/pam_winbind.c", line 89: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"nsswitch/pam_winbind.c", line 292: warning: implicit function declaration:
CONST_DISCARD
"nsswitch/pam_winbind.c", line 292: syntax error before or at: void
"nsswitch/pam_winbind.c", line 294: cannot recover from previous errors
cc: acomp failed for nsswitch/pam_winbind.c
*** Error code 2
The following command caused the error:
cc -I. -I/export/home/dol/src/blastwave/build-pkg/samba-3.0.15pre2/source  -fast
-xtarget=ultra3i -xarch=v8 -xspace -I/opt/csw/include  -Iinclude
-I/export/home/dol/src/blastwave/build-pkg/samba-3.0.15pre2/source/include
-I/export/home/dol/src/blastwave/build-pkg/samba-3.0.15pre2/source/ubiqx  -I.
-D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/opt/csw/include
-I/export/home/dol/src/blastwave/build-pkg/samba-3.0.15pre2/source    -KPIC -c
nsswitch/pam_winbind.c -o nsswitch/pam_winbind.po
make: Fatal error: Command failed for target `nsswitch/pam_winbind.po'
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-09-29 08:36:31 UTC
Builds fine in 3.0.20a
Comment 2 Gerald (Jerry) Carter (dead mail address) 2006-04-08 07:43:47 UTC
Cleaning up versions.  There was no 3.0.15 so leaving it in bugzilla 
is causing some confusion.  Moving these nuder 3.0.20.
Originally files against 3.0.15preX.