Re: Compile failure in ptlib 2.10.9

Jan Willamowius <[email protected]>
Newsgroups gmane.comp.telephony.openh323gk.user
Organization GNU Gatekeeper Project
Message-ID <[email protected]>
Hi,

PTLib 2.10.9 is indeed still the preferred version. Unfortunately it
assumes bison 2.x and Ubuntu 14.04 ships with bison 3.x.

Regards,
Jan

-- 
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : [email protected]
Website: http://www.gnugk.org
Support: http://www.willamowius.com/gnugk-support.html

Relaxed Communications GmbH
Frahmredder 91
22393 Hamburg
Geschäftsführer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584


Robert Kulagowski wrote:
> This is an Ubuntu 14.04.1 host. Is 2.10.9 still the preferred version
> if I intend to eventually run 3.7?
> 
> 
> <snip>
> 
> 
> [CC] ptclib/inetprot.cxx
> [CC] ptlib/common/notifier_ext.cxx
> [CC] ptclib/vcard.cxx
> [CC] ptclib/guid.cxx
> bison ptlib/common/getdate.y -o ptlib/common/getdate.tab.c
> ptlib/common/getdate.y:135.1-12: warning: deprecated directive, use
> ‘%pure-parser’ [-Wdeprecated]
>  %pure_parser
>  ^^^^^^^^^^^^
> ptlib/common/getdate.y: warning: 4 shift/reduce conflicts [-Wconflicts-sr]
> ptlib/common/getdate.y: warning: 18 reduce/reduce conflicts [-Wconflicts-rr]
> [CC] ptlib/common/getdate.tab.c
> ptlib/common/getdate.y:112:18: error: conflicting types for ‘PTime_yyparse’
>  #define yyparse  PTime_yyparse
>                   ^
> ptlib/common/getdate.tab.c:271:5: note: in expansion of macro ‘yyparse’
>  int yyparse (void);
>      ^
> ptlib/common/getdate.y:112:18: note: previous declaration of
> ‘PTime_yyparse’ was here
>  #define yyparse  PTime_yyparse
>                   ^
> ptlib/common/getdate.y:120:12: note: in expansion of macro ‘yyparse’
>  static int yyparse(void *);
>             ^
> 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:981:5: error: too many arguments to function
> ‘PTime_yyparse’
>      yyparse(&var);
>      ^
> ptlib/common/getdate.y:112:18: note: declared here
>  #define yyparse  PTime_yyparse
>                   ^
> ptlib/common/getdate.tab.c:1159:1: note: in expansion of macro ‘yyparse’
>  yyparse (void)
>  ^
> make[2]: *** [/home/sstuart/ptlib-v2.10.9/lib_linux_x86_64/obj_s/getdate.tab.o]
> Error 1
> make[2]: Leaving directory `/home/sstuart/ptlib-v2.10.9/src'
> make[1]: *** [optnoshared] Error 2
> make[1]: Leaving directory `/home/sstuart/ptlib-v2.10.9/src'
> make: *** [optnoshared] Error 2

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________________

Posting: mailto:[email protected]
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.