From: " DiskMan" <nobody@thewheel.com>
Subject: Samba and CCC
Date: Wed, 26 Mar 2003 22:05:39 -0600 [thread overview]
Message-ID: <YKuga.23621$ug5.1188474@twister.kc.rr.com> (raw)
In-Reply-To: gwdga.40343$ZW4.1086752@twister.rdc-kc.rr.com
I was wondering, is there a way to compile Samba using Compaq's Compiler
(CCC) instead of GCC? I keep receiving the following errors:
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@kcnetwork source]#
>
next parent reply other threads:[~2003-03-27 4:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gwdga.40343$ZW4.1086752@twister.rdc-kc.rr.com>
2003-03-27 4:05 ` DiskMan [this message]
2003-03-27 18:59 ` Samba and CCC Michal Jaegermann
2003-03-29 4:05 ` DiskMan
2003-03-30 1:15 ` Michal Jaegermann
2003-03-30 14:16 ` DiskMan
2003-03-30 18:18 ` Michal Jaegermann
2003-04-01 15:48 ` DiskMan
2003-04-01 20:49 ` Måns Rullgård
2003-04-03 5:59 ` Michal Jaegermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox