Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: " DiskMan" <nobody@thewheel.com>
Subject: Re: Samba and CCC
Date: Sat, 29 Mar 2003 04:05:55 GMT	[thread overview]
Message-ID: <DY8ha.53300$qL4.1299524@twister.rdc-kc.rr.com> (raw)
In-Reply-To: b5vhm4$cmu$1@pulp.srv.ualberta.ca

Well I checked with Samba.org and Build.Samba.org... it doesn't compile with
CCC... Thanks for your help...

"Michal Jaegermann" <michal@gortel.phys.ualberta.ca> wrote in message
news:b5vhm4$cmu$1@pulp.srv.ualberta.ca...
> In comp.os.linux.alpha  DiskMan <nobody@thewheel.com> 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




  reply	other threads:[~2003-03-29  4:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gwdga.40343$ZW4.1086752@twister.rdc-kc.rr.com>
2003-03-27  4:05 ` Samba and CCC  DiskMan
2003-03-27 18:59   ` Michal Jaegermann
2003-03-29  4:05     `  DiskMan [this message]
2003-03-30  1:15       ` Michal Jaegermann
2003-03-30 14:16         `  DiskMan
2003-03-30 18:18           ` Michal Jaegermann
2003-04-01 15:48             `  DiskMan
2003-04-01 20:49               ` Måns Rullgård
2003-04-03  5:59               ` Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox