I'm trying to build Emacs 24.4 on Solaris 10 SPARC and I get the following errors when compiling floatfns.c
"floatfns.c", line 844: undefined symbol: ceil
"floatfns.c", line 854: undefined symbol: floor
"floatfns.c", line 868: undefined symbol: rint
Here is my full configure command:
CC='/opt/SUNWspro/bin/cc' CPPFLAGS='-I/usr/local/include -I/opt/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/prod/include/CC/Cstd/rw -I/opt/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/prod/include/CC/std -I/opt/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/prod/include/CC/Cstd' LDFLAGS='-L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/sparc -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib' configure --prefix=/cms/usr --without-x --without-jpeg --without-xpm --without-gif --without-tiff --without-png --without-sound
And the command that fails:
/opt/SUNWspro/bin/cc -c -I/usr/local/include -I/opt/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/prod/include/CC/Cstd/rw -I/opt/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/prod/include/CC/std -I/opt/SolarisStudio12.3-solaris-sparc-bin/solarisstudio12.3/prod/include/CC/Cstd -Demacs -DHAVE_CONFIG_H -I. -I/export/home/cms/emacs-23.4/src -I/usr/dt/include -g -O floatfns.c
Any help would be appreciated.
Thanks,