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-27 11:20:19 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: 27 Mar 2003 18:59:16 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:7460 comp.protocols.smb:16826 linux.samba:22041 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