> -----Original Message-----
> From: Guido Serassio [mailto:serassio@libero.it]
> Sent: Tuesday, May 01, 2001 6:04 PM
> To: Robert Collins
> Subject: Re: Question about xrename function
>
>
> Hi,
>
> Il 23.17 30/04/2001 Robert Collins ha scritto:
>
> >----- Original Message -----
> >From: "Guido Serassio" <serassio@libero.it>
> >To: "Alex Rousskov" <rousskov@measurement-factory.com>
> >Cc: <squid-dev@squid-cache.org>
> >Sent: Tuesday, May 01, 2001 2:47 AM
> >Subject: Re: Question about xrename function
> >
> >
> > > Il 18.30 30/04/2001 Alex Rousskov ha scritto:
> > > >On Mon, 30 Apr 2001, Guido Serassio wrote:
> > > >
> > > > > Il 15.30 30/04/2001 Alex Rousskov ha scritto:
> > > > >
> > > > > >I am probably the person who wrote that comment. If you use
> >xrename in
> > > > > >debug.c then you have to link all programs that use
> debug.c with
> > > > > >tools.c where xrename is defined. IIRC, the latter
> presented a
> >problem
> > > > > >because tools.c depended on too many things; those
> things would
> >have
> > > > > >to be imported in every program that uses debug.c.
> > > > > >
> > > > > >All or some of the above may no longer be true
> though, and/or I
> >may be
> > > > > >misremembering. Try replacing "rename" in debug.c
> with "xrename",
> >see
> > > > > >what happens, and submit a better comment text afterwards. :)
> > > > > >
> > > > > >Alex.
> > > > >
> > > > > I tried, no problems, no compile errors, rotate works fine.
> > > > > So I removed the comment in the source and replaced
> rename with
> >xrename.
> > > >
> > > >Did you really try to build cache_manager, client,
> dnsserver, and all
> > > >other executables that do not link with $(OBJS) ?
> > > >
> > > >Alex.
> > >
> > > OK, I looked in Makefile, and found where is the problem:
> > >
> > > debug.o is linked in pinger, cache_diff and test_cache_digest
> >executable.
> > >
> > > So , how can resolve this problem ?
> >
> >You could copy the logic from xrename as a work-around.
>
>
> >Or perhaps
> >xrename could be moved into libmiscutil.a.
>
>
> A good option, Henrik, what is your opinion about ?
>
> Guido
>
>
>
> -
> =======================================================
> Serassio Guido
> Via Albenga, 11/4 10134
> - Torino - ITALY
> Tel. : +39.011.610749
> E-mail: serassio@interfree.it
> serassio@libero.it
> WWW: http://serassio.interfree.it
>
>
Received on Tue May 01 2001 - 02:04:30 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:53 MST