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-28 20:07:07 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!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: Date: Sat, 29 Mar 2003 04:05:55 GMT NNTP-Posting-Host: 65.28.69.140 X-Complaints-To: abuse@rr.com X-Trace: twister.rdc-kc.rr.com 1048910755 65.28.69.140 (Fri, 28 Mar 2003 22:05:55 CST) NNTP-Posting-Date: Fri, 28 Mar 2003 22:05:55 CST Organization: RoadRunner Xref: archiver1.google.com comp.os.linux.alpha:7470 comp.protocols.smb:16842 linux.samba:22129 Well I checked with Samba.org and Build.Samba.org... it doesn't compile with CCC... Thanks for your help... "Michal Jaegermann" wrote in message news:b5vhm4$cmu$1@pulp.srv.ualberta.ca... > In comp.os.linux.alpha DiskMan wrote: > > I was wondering, is there a way to compile Samba using Compaq's Compiler > > (CCC) instead of GCC? > > It looks like, from what you are quoting, that a few trivial edits > should be enough. > > > I keep receiving the following errors: > .... > > 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) > > Fire up an editor, find out why 'ccc' complains about "not compatible" > (maybe some gcc extension was used? maybe ccc has standard conformance > bugs?) and make it compatible. Actually this is a system header file > and it looks like that either you have your sources misconfigured > ('./configure' botched a job?) or you are missing some header file. > If your 'glob.h' is the same as the one I have on hand then line 186 is > behind > #if _FILE_OFFSET_BITS != 64 || __GNUC__ < 2 > so 'ccc' should not see it at all unless it has a buggy preprocessor > (some versions of 'ccc' had this problem, IIRC). OTOH line 201 is > behind > #ifdef _LARGEFILE64_SOURCE > which does not really makes sense on Alpha and also seem to contradict > the previous define. Hence it looks like that you have a self-inflicted > mess which likely can be untangled with a correct use of ./configure. > > Your compiler is pretty specific about what it does not like but without > looking at the code it is hard to tell. Samba sources usually were > rather portable and standard conforming. > > Michal