[Slackbuilds-users] Fbreader compile error

Morten Juhl-Johansen Zölde-Fejér mjjzf at syntaktisk.dk
Tue Jan 26 14:43:17 UTC 2010


Dear all,
I was building Fbreader, and I got a crash I couldn't work out.
Here's what I got:
-----------8<-----------------------
make[2]: Entering directory
`/tmp/SBo/fbreader-0.10.7/zlibrary/text/src/view' Compiling
ZLTextBaseStyle.o ... OK Compiling ZLTextDecoratedStyle.o ... OK
Compiling ZLTextDrawTreeLines.o ... OK
Compiling ZLTextElement.o ... OK
Compiling ZLTextLineProcessor.o ... OK
Compiling ZLTextPaintInfo.o ... OK
Compiling ZLTextParagraphBuilder.o ...ZLTextParagraphBuilder.cpp:22:23:
warning: linebreak.h: No such file or directory
ZLTextParagraphBuilder.cpp: In constructor
'ZLTextParagraphBuilder::ZLTextParagraphBuilder(const std::string&,
const ZLTextParagraph&, const std::vector<ZLTextMark,
std::allocator<ZLTextMark> >&, int, ZLTextElementVector&)':
ZLTextParagraphBuilder.cpp:42: error: 'init_linebreak' was not declared
in this scope ZLTextParagraphBuilder.cpp: In member function 'void
ZLTextParagraphBuilder::processTextEntry(const ZLTextEntry&)':
ZLTextParagraphBuilder.cpp:144: error: ISO C++ forbids declaration of
'type name' with no type ZLTextParagraphBuilder.cpp:144: error: ISO C++
forbids declaration of 'type name' with no type
ZLTextParagraphBuilder.cpp:144: error: expected primary-expression
before 'const' ZLTextParagraphBuilder.cpp:144: error: expected `)'
before 'const' ZLTextParagraphBuilder.cpp:170: error:
'LINEBREAK_NOBREAK' was not declared in this scope
ZLTextParagraphBuilder.cpp:183: error: 'LINEBREAK_NOBREAK' was not
declared in this scope make[2]: *** [ZLTextParagraphBuilder.o] Error 1
make[2]: Leaving directory
`/tmp/SBo/fbreader-0.10.7/zlibrary/text/src/view' make[1]: ***
[.objects] Error 1 make[1]: Leaving directory
`/tmp/SBo/fbreader-0.10.7/zlibrary/text' make: *** [all] Error 1
-----------8<-----------------------

What in the name of Bob is going on? I can see that there is a "no, C++
doesn't do that" message, but that does not help me, especially since I
am code dyslexic.

Yours,
Morten
__
Morten Juhl-Johansen Zölde-Fejér
http://syntaktisk.dk * mjjzf at syntaktisk.dk


More information about the SlackBuilds-users mailing list