Unable to Compile Make in Solaris 10

From: Anand Singh (singhranand@yahoo.com)
Date: Wed Mar 14 2007 - 19:53:29 EST


Hi.

I have been facing this problem since so many days and don't know what to
do, as i am trying to intall the Big brother Moniotring software on solaris 10
server. I have got through all the steps but after running bbconfig (trying
different ones as well), when I run make in bbc1.9h-btf/src I get the
following error message:-

 $/usr/ccs/bin/make
Making solaris makefile
BBOS="solaris" CC="gcc" CFLAGS=" -Dsolaris -O -DBZERO -DGETTIMEOFDAY
-DREGEXEC" LIBS="-ll -lnsl -lsocket -lkstat" make -e bball
gcc -Dsolaris -O
-DBZERO -DGETTIMEOFDAY -DREGEXEC `./minimake/genbbdefs` -g -o bb.o -c bb.c
In
file included from /usr/include/sys/signal.h:34,
                 from
bb.h:28,
                 from bb.c:22:
/usr/include/sys/siginfo.h:259: error:
parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error
before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}'
token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file
included from bb.h:28,
                 from bb.c:22:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file
included from bb.h:29,
                 from bb.c:22:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
*** Error
code 1
make: Fatal error: Command failed for target `bb.o'
Current working
directory /export/home/bb/bbc1.9i-btf/src
*** Error code 1
make: Fatal error:
Command failed for target `all'
Current working directory
/export/home/bb/bbc1.9i-btf/src
*** Error code 1
The following command caused
the error:
make -f minimake/makefile.`./minimake/bbmachine`
make: Fatal error:
Command failed for target `all'

I tried many times by removing the gcc
package and installing fresh one of new version but still it won't work.

Does
anybody have an idea what's wrong?

Thanks in advance

Regards,
Anand Singh
_____________________________________________________________________________
_______
We won't tell. Get more on shows you hate to love
(and love to hate):
Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:46 EDT