Hello,
Trying to build bison-3.2 on Solaris 11.3 x86/64, but failed.

% uname -a
SunOS xxxx 5.11 11.3 i86pc i386 i86pc

% gcc --version
gcc (GCC) 7.3.0
% ar --version
GNU ar (GNU Binutils) 2.31.1



% ./configure CC=gcc
% make
  :
  CC       lib/vsprintf.o
  CC       lib/xmemdup0.o
  AR       lib/libbison.a
ar: cannot open -lm: No such file or directory
ar: -lm not found
make[2]: *** [Makefile:3320: lib/libbison.a] Error 1
make[2]: Leaving directory '/tmp/bison-3.2'
make[1]: *** [Makefile:4977: all-recursive] Error 1
make[1]: Leaving directory '/tmp/bison-3.2'
make: *** [Makefile:2864: all] Error 2


FYI,

bison-3.1 can be built without error.

Regards,

--- Kiyoshi


Reply via email to