From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103aa0,5503c24809feac82,start X-Google-Attributes: gid103aa0,public X-Google-Thread: 115a6f,5503c24809feac82,start X-Google-Attributes: gid115a6f,public X-Google-Thread: fe6c6,8ca45b11d52b9f6a X-Google-Attributes: gidfe6c6,public X-Google-Thread: 111c93,5503c24809feac82,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-03-26 20:05:44 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!news-west.rr.com!cyclone.kc.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.kc.rr.com.POSTED!53ab2750!not-for-mail From: " DiskMan" Newsgroups: comp.os.linux.alpha,comp.protocols.smb,linux.samba,linux.sys.alpha References: Subject: Samba and CCC X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Message-ID: Date: Wed, 26 Mar 2003 22:05:39 -0600 NNTP-Posting-Host: 65.28.68.52 X-Complaints-To: abuse@rr.com X-Trace: twister.kc.rr.com 1048737848 65.28.68.52 (Wed, 26 Mar 2003 22:04:08 CST) NNTP-Posting-Date: Wed, 26 Mar 2003 22:04:08 CST Xref: archiver1.google.com comp.os.linux.alpha:7453 comp.protocols.smb:16820 linux.samba:21998 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]# >