List,

 When I am doing a make for smartmontools-5.32 on a Solaris 8 machine, I am getting the following errors. Please help!

 

Thanks,

Rohit…

 

 

 

# make

make  all-recursive

Making all in .

if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DSMARTMONTOOLS_SYSCONFDIR=\"/etc\"    -g -O2 -Wall -MT smartd.o -MD -MP -MF ".deps/smartd.Tpo" \

  -c -o smartd.o `test -f 'smartd.c' || echo './'`smartd.c; \

then mv -f ".deps/smartd.Tpo" ".deps/smartd.Po"; \

else rm -f ".deps/smartd.Tpo"; exit 1; \

fi

In file included from smartd.c:27:

/usr/include/sys/stat.h:258:9: invalid preprocessing directive #blksize_t

/usr/include/sys/stat.h:262:2: invalid preprocessing directive #}

In file included from smartd.c:27:

/usr/include/sys/stat.h:318: parse error before "blksize_t"

/usr/include/sys/stat.h:322: parse error before '}' token

*** Error code 1

make: Fatal error: Command failed for target `smartd.o'

Current working directory /rohit/smartmontools-5.32

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /rohit/smartmontools-5.32

*** Error code 1

make: Fatal error: Command failed for target `all'