Re: [GnomeMeeting-list] Can't compile pwlib



 --- David Polberger <dpol swipnet se> wrote:
> bison -t -v -d -o asn_grammar asn_grammar.y
> mv asn_grammar asn_grammar.cxx
> g++ -DP_LINUX=2.4.21-20.1.2024.2.1.nptl
> -ffunction-sections 
> -fdata-sections -D_REENTRANT -DOPENSSL_NO_KRB5 -Wall
>  -DP_USE_PRAGMA 
> -DPHAS_TEMPLATES
> -I/home/dpol/download/pwlib/include/ptlib/unix 
> -I/usr/include/pwlib
> -I/home/dpol/download/pwlib/include -DP_USE_PRAGMA 
> -Os -DNDEBUG  -x c++ -c asn_grammar.cxx -o
> obj_linux_x86_r/asn_grammar.o
> asn_grammar: In function `int yyparse()':
> asn_grammar:5049: error: syntax error before `goto'
> asn_grammar:5040: warning: label `yyerrlab1' defined
> but not used
> make[2]: *** [obj_linux_x86_r/asn_grammar.o] Error 1
> make[2]: Leaving directory
> `/home/dpol/download/pwlib/tools/asnparser'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory
> `/home/dpol/download/pwlib'
> make: *** [optshared] Error 2
> 
> Has anyone seen anything similar?

Yes. Delete the "__attribute__((unused))" from line
5049 and it will be fine.

Chris


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]