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: 111c93,5503c24809feac82 X-Google-Attributes: gid111c93,public X-Google-Thread: fe6c6,8ca45b11d52b9f6a X-Google-Attributes: gidfe6c6,public X-Google-ArrivalTime: 2003-03-30 06:17:50 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.cwix.com!news-east.rr.com!news-west.rr.com!cyclone.kc.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.rdc-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: Re: 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: <9%Cha.62010$qL4.1400278@twister.rdc-kc.rr.com> Date: Sun, 30 Mar 2003 14:16:37 GMT NNTP-Posting-Host: 65.28.69.140 X-Complaints-To: abuse@rr.com X-Trace: twister.rdc-kc.rr.com 1049033797 65.28.69.140 (Sun, 30 Mar 2003 08:16:37 CST) NNTP-Posting-Date: Sun, 30 Mar 2003 08:16:37 CST Organization: RoadRunner Xref: archiver1.google.com comp.os.linux.alpha:7490 comp.protocols.smb:16846 linux.samba:22161 Na, I mean there's not work around, no configuraton error, no nothing... It simply can be done "Michal Jaegermann" wrote in message news:b65geq$blu$1@pulp.srv.ualberta.ca... > 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 and 'make'. There is a lot of warnings caused by DEBUG string > constants, so they likely can be turned off, but other than that nothing > special. Oh, I actually see also some "ptrmismatch" warnings so they > could be in sources genuine bugs but this is a different question from > "can I compile". Yes, you can, at least with sources as given > in the current update to RH 7.2-alpha - samba-2.2.7-2.7.2.src.rpm. > Most likely any other version too. > > I guess that the first thing can be classified as a bug in 'ccc' which > should provide its own 'glob.h' instead of doing blindly > #include_next > 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