[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Daily freemint kernel builds



On Sat, 2010-01-09 at 20:24 +0100, Helmut Karlowski wrote:
> Am 09.01.2010, 19:19 Uhr, schrieb Alan Hourihane <alanh@fairlite.co.uk>:
> 
> >> > ../xa_shel.c: In function 'shell_find':
> >> > ../xa_shel.c:1125: error: 'kp' undeclared (first use in this function)
> >> > ../xa_shel.c:1125: error: (Each undeclared identifier is reported only
> >> > once
> >> > ../xa_shel.c:1125: error: for each function it appears in.)
> >> >
> >> > and then finally, if I just hack out the previous errors, at link  
> >> time I
> >> > got this...
> >> >
> >> > draw_obj.o:draw_obj.o:(.text+0x90a): undefined reference to
> >> > `_obtree_is_menu'
> >> > draw_obj.o:draw_obj.o:(.text+0xe78): undefined reference to
> >> > `_obtree_is_menu'
> >>
> >> These appear if you build the deb-version (I never did this). Patch  
> >> sent.
> >
> > Neither do I - intentionally. This is from a straight checkout.
> >
> > I've committed your patches, but I still get the undefined reference
> > above.
> 
> Then you must do something wrong.
>
> 1. These both arise from DIAGS-statements, which only produce something  
> when GENEREATE_DIAGS is 1, which is only the case when you do make deb.
> 
> 2. My post 'patch::deb' removes the code that contains these DAIGS.

Well, these are the default targets as defined in XAAESDEFS...

xaaestargets = deb 000 sto 030 040 060 ozk

So I'm not doing anything wrong as the 'deb' target is a default target.
Therefore it still HAS to compile.

Alan.