Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: " DiskMan" <nobody@thewheel.com>
Subject: Re: Samba and CCC
Date: Sun, 30 Mar 2003 14:16:37 GMT	[thread overview]
Message-ID: <9%Cha.62010$qL4.1400278@twister.rdc-kc.rr.com> (raw)
In-Reply-To: b65geq$blu$1@pulp.srv.ualberta.ca

Na, I mean there's not work around, no configuraton error, no nothing... It
simply can be done
"Michal Jaegermann" <michal@gortel.phys.ualberta.ca> wrote in message
news:b65geq$blu$1@pulp.srv.ualberta.ca...
> In comp.os.linux.alpha  DiskMan <nobody@thewheel.com> 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 <all_configure_options_you_desire'
> 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 <glob.h>
> 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




  reply	other threads:[~2003-03-30 14:16 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
2003-03-30  1:15       ` Michal Jaegermann
2003-03-30 14:16         `  DiskMan [this message]
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