This is Bugzilla
View Bug Activity | Format For Printing | XML | Clone This Bug
After updating to the latest CVS version today (07 Sep 2001) and attempting to rebuild AbiWord using: make distribution ABI_DIST_TARGET=deb ABI_OPT_PERL=1 I now get the following errors: ut_PerlBindings.cpp: ut_PerlBindings.cpp:48: `pTHXo' was not declared in this scope ut_PerlBindings.cpp:48: variable or field `xs_init' declared void ut_PerlBindings.cpp:49: parse error before `*' ut_PerlBindings.cpp:50: parse error before `*' ut_PerlBindings.cpp:52: `pTHXo' was not declared in this scope ut_PerlBindings.cpp:52: variable or field `xs_init' declared void ut_PerlBindings.cpp:52: redefinition of `int xs_init' ut_PerlBindings.cpp:48: `int xs_init' previously defined here ut_PerlBindings.cpp:52: syntax error before `{' ut_PerlBindings.cpp:54: `file' was not declared in this scope ut_PerlBindings.cpp:54: warning: ANSI C++ forbids declaration `Perl_newXS' with no type ut_PerlBindings.cpp:54: `int Perl_newXS' redeclared as different kind of symbol /usr/lib/perl5/5.005/i386-linux/CORE/proto.h:333: previous declaration of `struct CV * Perl_newXS(char *, void (*)(CV *), char *)' ut_PerlBindings.cpp:54: warning: initializer list being treated as compound expression ut_PerlBindings.cpp:59: parse error before `}' ut_PerlBindings.cpp: In function `static void UT_PerlBindings::evalFile(const UT_String &, XAP_Frame * = 0)': ut_PerlBindings.cpp:107: warning: passing `int' to argument 2 of `perl_parse(PerlInterpreter *, void (*)(), int, char **, char **)' lacks a cast ut_PerlBindings.cpp:123: warning: passing `const char *' as argument 1 of `perl_eval_pv(char *, long int)' discards qualifiers ut_PerlBindings.cpp:125: warning: ANSI C++ forbids braced-groups within expressions
Try updating your cvs sources or download the stable source.... cvs may not always compile (though the developers certainly try to make it work reliably). Otherwise... works for me.
sorry, I've not updated this bug... I fixed it a while ago. I will mark it as closed.