[Samba] samba 64 for Solaris

Fabien.LIOU at fr.thalesgroup.com Fabien.LIOU at fr.thalesgroup.com
Thu Jul 11 06:36:02 GMT 2002


Hi,

I've downloaded gcc3.1 package from sunfreeware.com.
I used it with -m64 option to compile samba 2.2.5
Everything seems to be ok.



Fabien LIOU




-----Message d'origine-----
De: murali at epiphany.com [mailto:murali at epiphany.com]
Date: mercredi 10 juillet 2002 20:19
À: Fabien.LIOU at fr.thalesgroup.com
Objet: RE: [Samba] samba 64 for Solaris


Hi,

I have problem too. Here is the make error.

-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'

> -----Original Message-----
> From: Fabien.LIOU at fr.thalesgroup.com
> [mailto:Fabien.LIOU at fr.thalesgroup.com]
> Sent: Wednesday, July 10, 2002 8:01 AM
> To: samba at samba.org
> Subject: [Samba] samba 64 for Solaris
> 
> 
> 
> Hi,
> 
> Does anyone of you succeeded in building a 64-bits version of 
> Samba 2.2.5
> for Solaris 8 ?
> If so, what is the corresponding Makefile or make options ?
> 
> Thanks.
> 
> Fabien
> 
> 
> 
> -- 
> 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