[Slackbuilds-users] PTLib doesn't compile any more on -current
Sebastian Arcus
s.arcus at open-t.co.uk
Sun Apr 17 08:55:44 UTC 2016
Just a heads up that PTLib doesn't seem to compile any more on
Slackware-current. I've tried to make sense of the error message below
and googled, and it would appear it might be related to the version of
Bison not supporting certain options any more - but I can't really make
sense of things. I also tried the slightly newer ptlib-2.10.11. Then
again, PTLib seems to have been last updated in 2013, so maybe it just
won't compile on a modern system any more. If anybody has any hints,
they are most welcome.
</snip>
ptlib/common/getdate.y: In function ‘PTime_yyparse’:
ptlib/common/getdate.y:105:38: error: ‘parseParam’ undeclared (first use
in this function)
#define VARIABLE ((struct Variables*)parseParam)
^
ptlib/common/getdate.y:158:6: note: in expansion of macro ‘VARIABLE’
VARIABLE->yyHaveTime++;
^
ptlib/common/getdate.y:105:38: note: each undeclared identifier is
reported only once for each function it appears in
#define VARIABLE ((struct Variables*)parseParam)
^
ptlib/common/getdate.y:158:6: note: in expansion of macro ‘VARIABLE’
VARIABLE->yyHaveTime++;
^
ptlib/common/getdate.y: In function ‘PTimeParse’:
ptlib/common/getdate.y:112:18: error: too many arguments to function
‘PTime_yyparse’
#define yyparse PTime_yyparse
^
ptlib/common/getdate.y:981:5: note: in expansion of macro ‘yyparse’
yyparse(&var);
^
ptlib/common/getdate.y:112:18: note: declared here
#define yyparse PTime_yyparse
^
ptlib/common/getdate.tab.c:1161:1: note: in expansion of macro ‘yyparse’
yyparse (void)
^
Makefile:463: recipe for target
'/tmp/SBo/ptlib-2.10.10/lib_linux_x86_64/obj/getdate.tab.o' failed
make[2]: *** [/tmp/SBo/ptlib-2.10.10/lib_linux_x86_64/obj/getdate.tab.o]
Error 1
make[2]: Leaving directory '/tmp/SBo/ptlib-2.10.10/src'
../make/common.mak:292: recipe for target 'optshared' failed
make[1]: *** [optshared] Error 2
make[1]: Leaving directory '/tmp/SBo/ptlib-2.10.10/src'
Makefile:91: recipe for target 'optshared' failed
make: *** [optshared] Error 2
More information about the SlackBuilds-users
mailing list