[Samba] Samba and CCC

Will L G diskman at kc.rr.com
Thu Mar 27 04:27:58 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When are you all going to make Samba compatible with CCC (Compaq
Compiler)? I would really like to be able to compile it using CCC but
I keep getting the errors listed below. I was wondering, could please
point me in the right direction for a solution to this dilemma? 

====================  ERROR MESSAGE  ====================
Using FLAGS
=  -O -fast -O4 -ev56   -Iinclude -I./include -I./ubiqx
- -I./smbwrapper -D_LA
RGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
- -DLOGFILEBASE="/usr/l
ocal/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
- -DLMHOSTSFILE="
/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat"
- -DSBINDIR=
"/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
- -DCODEPAGEDIR=
"/usr/local/samba/lib/codepages"
- -DDRIVERFILE="/usr/local/samba/lib/printers
.def" -DBINDIR="/usr/local/samba/bin"
- -DPIDDIR="/usr/local/samba/var/locks"
- -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H
- -DPASSWD_PROGRAM="/usr/bin
/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
- -DTDB_PASSWD
_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32
=  -O -fast -O4 -ev56   -Iinclude -I./include -I./ubiqx
- -I./smbwrapper -D_LA
RGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE 
- -DLOGFILEBASE="/usr/l
ocal/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf"
- -DLMHOSTSFILE="
/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat"
- -DSBINDIR=
"/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
- -DCODEPAGEDIR=
"/usr/local/samba/lib/codepages"
- -DDRIVERFILE="/usr/local/samba/lib/printers
.def" -DBINDIR="/usr/local/samba/bin"
- -DPIDDIR="/usr/local/samba/var/locks"
- -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H
- -DPASSWD_PROGRAM="/usr/bin
/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
- -DTDB_PASSWD
_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lcups -lnsl -ldl -lcrypt -lpopt
Compiling smbd/server.c
cc: Warning: /usr/include/glob.h, line 201: In this declaration,
parameter 4
has a different type than specified in an earlier declaration of this
function. (mismatparam)
extern int glob64 __P ((__const char *__restrict __pattern, int
__flags,
- -----------^
cc: Error: /usr/include/glob.h, line 201: In this declaration, the
type of
"glob64" is not compatible with the type of a previous declaration of
"glob64" at line number 186 in file /usr/include/glob.h. (notcompat)
extern int glob64 __P ((__const char *__restrict __pattern, int
__flags,
- -----------^
cc: Warning: /usr/include/glob.h, line 205: In this declaration,
parameter 1
has a different type than specified in an earlier declaration of this
function. (mismatparam)
extern void globfree64 __P ((glob64_t *__pglob));
- ------------^
cc: Error: /usr/include/glob.h, line 205: In this declaration, the
type of
"globfree64" is not compatible with the type of a previous
declaration of
"globfree64" at line number 191 in file /usr/include/glob.h.
(notcompat)
extern void globfree64 __P ((glob64_t *__pglob));
- ------------^
cc: Warning: smbd/server.c, line 450: In this statement, the
referenced type
of the pointer value "&rlp" is "struct rlimit", which is not
compatible with
"struct rlimit64". (ptrmismatch)
                getrlimit(RLIMIT_CORE, &rlp);
- ---------------------------------------^
cc: Warning: smbd/server.c, line 452: In this statement, the
referenced type
of the pointer value "&rlp" is "struct rlimit", which is not
compatible with
"const struct rlimit64". (ptrmismatch)
                setrlimit(RLIMIT_CORE, &rlp);
- ---------------------------------------^
cc: Warning: smbd/server.c, line 453: In this statement, the
referenced type
of the pointer value "&rlp" is "struct rlimit", which is not
compatible with
"struct rlimit64". (ptrmismatch)
                getrlimit(RLIMIT_CORE, &rlp);
- ---------------------------------------^
make: *** [smbd/server.o] Error 1
[root at kcnetwork source]#





-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0 - not licensed for commercial use: www.pgp.com

iQA/AwUBPoJ9vFgS44p+cDKOEQJrUgCfT8IQBzXDXfYccVSgiNdRrlSNrQYAn38j
onEd98Sh1bNJu/ajk4wnd32a
=TjRL
-----END PGP SIGNATURE-----



More information about the samba mailing list