> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Joaquin Cuenca
> Abela
> Sent: 23 January 2000 20:18
> Subject: Re: CVS's broken (for Unix)
>
> [EMAIL PROTECTED] wrote:
> >
> > Joaquin Cuenca Abela wrote:
> > > I'm trying to compile abiword, but I'm getting a:
> > >
> > >
> /free/cuenca/home/cvs/abisource/abi/src/../src/Linux_2.2.12_i386_O
> BJ/obj/libAbiFmt.a(fb_Alignment.o)(.rodata+0x14):
> > > undefined reference to `fb_Alignment_justify::eraseLineFromRun(fp_Line
> > > *, unsigned int)'
> > >
> > > Can anybody fix the cvs tree?
> >
> > After fixing the includes for the spell branch, I can sucessfully
> > compile the rest of the tree (without this link error).  Have
> > you done a "make clean" lately?  Sometimes make won't notice
> > when a dependency of an object changes (like a .h) and fail to
> > re-compile that object before linking.
>
> Yes, I've done a make clean, but it's not worked.  I've done 'rm -rf
> abi; cvs -z3 co abi', and I've recompiled all the stuff, too... but it's
> not worked.
>
> I've a glibc2.1.x, so I think that I don't need the iconv.h, isn't it?
>
> After that, I've searched a bit, and I've founded an "#ifndef NDEBUG"
> before the "fb_Alignment_justify::eraseLineFromRun(...)", so I've typed
> a "#undef NDEBUG" at the top of (after the #include's) fb_Alignement.cpp
> and at the top of fb_Alignement.h, and now it works.
>
> I have no clue about the meaning of the NDEBUG flag, but the cvs tree
> doesn't compile for me (without my manual changes).

It also works for me (in BeOS) if I move the closing #endif up to above
"fb_Alignment_justify::eraseLineFromRun(...)".




Reply via email to