On Mon, 1 Feb 2010, Albert Chin wrote: > A few of the tests fail on Solaris 2.7 because libbison.a is not linked > in: > 118. calc.at:568: testing ... > ./calc.at:568: bison -o calc.c calc.y > ./calc.at:568: $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS > stderr: > Undefined first referenced > symbol in file > rpl_fopen calc.o > ld: fatal: Symbol referencing errors. No output written to calc > stdout: > ./calc.at:568: exit code was 1, expected 0 > 118. calc.at:568: 118. Calculator (calc.at:568): FAILED (calc.at:568) > > How do I modify the testsuite to link in ../lib/libbison.a?
Thanks for the report. In tests/atlocal, please try adding $abs_top_builddir/lib/libbison.a to the value of LIBS.
