[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_OBJ/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).

My machine is a RedHat 6.0 (glibc2.1.1, gtk+-1.2.3, gnome 1.0.9, and
I've tested it with gtk+-1.2.6 and gnome 1.0.55 --compiled by myself--
too).

Anybody knows the meaning of the NDEBUG flag, and why it's activated?
(my compile order is make prefix=/free/cuenca/usr ABI_OPT_GNOME=1
install, but I've tried make prefix=/free/cuenca/usr install, too).

Thanks in advance!

--
Joaqu�n Cuenca Abela
e-mail: [EMAIL PROTECTED]



Reply via email to