From: <Chr...@t-...> - 2004-10-01 20:49:58
|
Hi, sorry, but I'm not able to send you binaries, don't have access to a solaris machine ;-) Keiji, can you help? Examining the preprocessor output is a usual generic (not solaris specific) method to track down nasty preprocessor related syntax problems. Feel free to send me a private mail with the "stdout"put of "gcc -E smartd.c". Cheers, Christian >Christian, > I am getting similar errors (below)...Please help!! Can you send me the >compiled binaries & conf file so that I can try copying them to verify >if it works? > > > ># make 'CFLAGS=-E' smartd.o >`smartd.o' is up to date. > > ># gcc -E smartd.c >smartd.i > ># make >make all-recursive >Making all in . >if gcc -DHAVE_CONFIG_H -I. -I. -I. -DSMARTMONTOOLS_SYSCONFDIR=\"/etc\" >-g -O2 -Wall -MT utility.o -MD -MP -F ".deps/utility.Tpo" \ > -c -o utility.o `test -f 'utility.c' || echo './'`utility.c; \ >then mv -f ".deps/utility.Tpo" ".deps/utility.Po"; \ >else rm -f ".deps/utility.Tpo"; exit 1; \ >fi >In file included from utility.c:37: >/usr/include/sys/stat.h:258: parse error before "blksize_t" >/usr/include/sys/stat.h:262: parse error before '}' token >/usr/include/sys/stat.h:318: parse error before "blksize_t" >/usr/include/sys/stat.h:319: conflicting types for `st_blocks' >/usr/include/sys/stat.h:259: previous declaration of `st_blocks' >/usr/include/sys/stat.h:322: parse error before '}' token >utility.c: In function `FixGlibcTimeZoneBug': >utility.c:139: storage size of `prev_stat' isn't known >utility.c:141: storage size of `curr_stat' isn't known >utility.c:139: warning: unused variable `prev_stat' >utility.c:141: warning: unused variable `curr_stat' >utility.c:139: storage size of `prev_stat' isn't known >*** Error code 1 >make: Fatal error: Command failed for target `utility.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' > > > |