1 Oct 2004 18:24
RE: Compiling smartmontools-5.32 on Solaris 8
Sreenivasan, Rohit G <rohit.g.sreenivasan <at> intel.com>
2004-10-01 16:24:47 GMT
2004-10-01 16:24:47 GMT
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'(Continue reading)
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
>
RSS Feed