[Samba] Samba 2.2.4 make fails on Solaris 8 (Ultra Sparc III) using Sun Forte 6-update 2 compilers

Schmeling, Bernd Bernd.Schmeling at ish.com
Fri Jul 12 10:19:58 GMT 2002


Hi,

try the Solaris KPIC patch for Samba 2.2.4, located in
 ftp://ftp.samba.org/pub/jerry/patches/post-2.2.4/

Bernd

> -----Original Message-----
> From: murali at epiphany.com [mailto:murali at epiphany.com]
> Sent: Thursday, July 11, 2002 12:29 AM
> To: samba at lists.samba.org
> Subject: [Samba] Samba 2.2.4 make fails on Solaris 8 (Ultra Sparc III)
> using Sun Forte 6-update 2 compilers
> 
> 
> 
> Greetings!
> 
> During the Samba 2.2.4 make (using Sun WorkShop 6 update 2 
> C/C++ 5.3)on Sun
> Fire 880
> running Solaris 8, I get the following error:
> 
> 
> Any pointers or help would be very much appreciated..
> 
> Thanks,
> -Murali
>  
> {root}69: make
> Using FLAGS =  -O -D__EXTENSIONS__ -xtarget=ultra -xarch=v9b -I./popt
> -Iinclude -I./inc
> FILE_OFFSET_BITS=64 -DLOGFILEBASE="/usr/local/samba/var"
> -DCONFIGFILE="/usr/local/samba
> hosts" -DSWATDIR="/usr/local/samba/swat" 
> -DSBINDIR="/usr/local/samba/bin"
> -DLOCKDIR="/u
> amba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def"
> -DBINDIR="/usr/loc
> DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H
> -DPASSWD_PROGRAM="/bin/passwd" -DSMB_P
> _PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
> Using FLAGS32 =  -O -D__EXTENSIONS__ -xtarget=ultra 
> -xarch=v9b -I./popt
> -Iinclude -I./i
> D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/usr/local/samba/var"
> -DCONFIGFILE="/usr/local/sam
> lmhosts" -DSWATDIR="/usr/local/samba/swat" 
> -DSBINDIR="/usr/local/samba/bin"
> -DLOCKDIR="
> /samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def"
> -DBINDIR="/usr/l
>  -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H
> -DPASSWD_PROGRAM="/bin/passwd" -DSMB
> DB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
> Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
> Compiling nsswitch/winbind_nss.c with -Kpic
> "nsswitch/winbind_nss.c", line 859: warning: argument #4 is 
> incompatible
> with prototype
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 593
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 909: warning: argument #4 is 
> incompatible
> with prototype
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 593
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 922: warning: argument #4 is 
> incompatible
> with prototype
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 593
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 971: warning: argument #4 is 
> incompatible
> with prototype
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 593
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 984: warning: argument #4 is 
> incompatible
> with prototype
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 593
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 1108: warning: argument #5 is 
> incompatible
> with prototyp
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 669
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 1168: warning: argument #5 is 
> incompatible
> with prototyp
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 669
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 1182: warning: argument #5 is 
> incompatible
> with prototyp
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 669
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 1231: warning: argument #5 is 
> incompatible
> with prototyp
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 669
>         argument : pointer to unsigned long
> "nsswitch/winbind_nss.c", line 1245: warning: argument #5 is 
> incompatible
> with prototyp
>         prototype: pointer to int : "nsswitch/winbind_nss.c", line 669
>         argument : pointer to unsigned long
> Compiling nsswitch/wb_common.c with -Kpic
> Compiling nsswitch/winbind_nss_solaris.c with -Kpic
> "nsswitch/winbind_nss_config.h", line 135: warning: macro redefined:
> ZERO_STRUCTP
> Linking nsswitch/libnss_winbind.so
> ld: fatal: file nsswitch/winbind_nss.po: wrong ELF class: ELFCLASS64
> ld: fatal: File processing errors. No output written to
> nsswitch/libnss_winbind.so
> *** Error code 1
> make: Fatal error: Command failed for target 
> `nsswitch/libnss_winbind.so'
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 




More information about the samba mailing list