Hi, I am trying to build the native code (which includes the compression library) on Solaris 10 (x86 64-bit). I get the following error while building: gmake all-recursive gmake[1]: Entering directory `/home/nemahajan/hadoop-install/hadoop-0.13.0/src/native' Making all in src/org/apache/hadoop/io/compress/zlib gmake[2]: Entering directory `/home/nemahajan/hadoop-install/hadoop-0.13.0/src/native/src/org/apache/ hadoop/io/compress/zlib' if /bin/sh ../../../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../../../.. -I/usr/java/include -I/usr/java/include/solaris -I/src -I/home/nemahajan/hadoop-install/lzo/lzo-2.02-bin/include -g -Wall -fPIC -O2 -m -g -O2 -MT ZlibCompressor.lo -MD -MP -MF ".deps/ZlibCompressor.Tpo" -c -o ZlibCompressor.lo ZlibCompressor.c; \ then mv -f ".deps/ZlibCompressor.Tpo" ".deps/ZlibCompressor.Plo"; else rm -f ".deps/ZlibCompressor.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../../../../.. -I/usr/java/include -I/usr/java/include/solaris -I/src -I/home/nemahajan/hadoop-install/lzo/lzo-2.02-bin/include -g -Wall -fPIC -O2 -m -g -O2 -MT ZlibCompressor.lo -MD -MP -MF .deps/ZlibCompressor.Tpo -c ZlibCompressor.c -fPIC -DPIC -o .libs/ZlibCompressor.o cc1: error: missing argument to "-m" gmake[2]: *** [ZlibCompressor.lo] Error 1 gmake[2]: Leaving directory `/home/nemahajan/hadoop-install/hadoop-0.13.0/src/native/src/org/apache/ hadoop/io/compress/zlib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/nemahajan/hadoop-install/hadoop-0.13.0/src/native'
Any idea how this can be resolved? Thanks, Neeraj
