On Aug 21, 2004, at 2:37 AM, Heinz Nabielek wrote:

> A recent "fink update-all" ended with
>
>>> g++3 -DP_MACOSX=750 -DNO_LONG_DOUBLE -D_REENTRANT -Wall -DPHAS_TEMPLATES -I/sw/src/pwlib-1.5.2-12/pwlib/include/ptlib/unix -I/usr/include/pwlib -I/sw/src/pwlib-1.5.2-12/pwlib/include -O2 -DNDEBUG -I/sw/include -fno-common -dynamic -fno-common -dynamic -x c++ -c asn_grammar.cxx -o obj_Darwin_ppc_r/asn_grammar.o
>>> asn_grammar: In function `int yyparse()':
>>> asn_grammar:5049: parse error before `goto'
>>> asn_grammar:5040: warning: label `yyerrlab1' defined but not used
>>> make[1]: *** [obj_Darwin_ppc_r/asn_grammar.o] Error 1
>>> make: *** [opt] Error 2
>>> ### execution of make failed, exit code 2
>>> Failed: compiling pwlib-1.5.2-12 failed
>
>
> Any help?
>
> Heinz
>
>
> ________________________________________
> BTW,
> /sw/src/pwlib-1.5.2-12/pwlib/config.log
>
> looks quite OK and ends with
>
> #define PBYTE_ORDER PBIG_ENDIAN
> #define P_DNS 1
> #define P_DYNALINK 1
> #define P_EXPAT 1
> #define P_HAS_IPV6 1
> #define P_LDAP 1
> #define P_PTHREADS 1
> #define P_SHAREDLIBEXT $SHAREDLIBEXT
> #define P_SSL 1
> #define STDC_HEADERS 1
> #define USE_SYSTEM_SWAB 1
> #define WORDS_BIGENDIAN 1
>
> configure: exit 0
> ________________________________________
>
>
>
>

I had an identical problem, and it was fixed by performing a selfupdate.

This happened to me also. I had Fink's bison 1.875 installed and apparently it generates bogus code with pwlib. Do a "fink remove bison" first and it'll build.

The real solution is to patch the makefile to call /usr/bin/bison instead of just bison. I've emailed the maintainer about it.

--
Daniel Johnson
[EMAIL PROTECTED]
PGP public key: http://homepage.mac.com/danielj7/publickey.txt

Attachment: PGP.sig
Description: This is a digitally signed message part



Reply via email to