From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103aa0,5503c24809feac82 X-Google-Attributes: gid103aa0,public X-Google-Thread: 115a6f,5503c24809feac82 X-Google-Attributes: gid115a6f,public X-Google-Thread: fe6c6,8ca45b11d52b9f6a X-Google-Attributes: gidfe6c6,public X-Google-Thread: 111c93,5503c24809feac82 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-03-29 17:20:15 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!cyclone.bc.net!rover.ucs.ualberta.ca!not-for-mail From: Michal Jaegermann Newsgroups: comp.os.linux.alpha,comp.protocols.smb,linux.samba,linux.sys.alpha Subject: Re: Samba and CCC Date: 30 Mar 2003 01:15:06 GMT Organization: Disorganized Bits Message-ID: References: NNTP-Posting-Host: gortel.phys.ualberta.ca User-Agent: tin/1.5.13-20020614 ("Sugar") (UNIX) (Linux/2.4.18-27.7.x (i686)) Xref: archiver1.google.com comp.os.linux.alpha:7483 comp.protocols.smb:16844 linux.samba:22147 In comp.os.linux.alpha DiskMan wrote: > Well I checked with Samba.org and Build.Samba.org... it doesn't compile with > CCC... Sigh! We already know that it does not compile "out-of-the-box" because you already told us. > Thanks for your help... You would do better if you would follow advice to find where is your editor. As far as I can see samba compiles just fine with 'ccc' after minor adjustments. One of trivial ways to do that is to make in 'source' directory a private copy of /usr/include/glob.h and apply to it the following patch: --- /usr/include/glob.h Fri Mar 21 15:44:10 2003 +++ glob.h Sat Mar 29 17:32:35 2003 @@ -137,6 +137,7 @@ #endif } glob_t; +#undef _LARGEFILE64_SOURCE #ifdef _LARGEFILE64_SOURCE # ifdef _GNU_SOURCE struct stat64; As I wrote before there is really no point in _LARGEFILE64_SOURCE as on Alpha file offsets are 64-bit anyway. After that you can do 'CC=ccc CFLAGS="whatever" ./configure This can be a more thorough fix on your private installation. Cleaner ways to resolve this tiny hiccup are left as an exercise to the reader. Results may even work despite these pointer problems as apparently gcc compiled binaries do not bomb although this may be a dumb luck in a memory layout. I cannot check. I do not do windows. Michal