Greetings Dan, Yes, lines 62 and 63 are the lines that you noted and the gcc compiler version is 2.95.3. Thanks, Michael
On Sunday, October 20, 2013 11:56:16 AM UTC-6, dan (ddpbsd) wrote: > On Thu, Oct 17, 2013 at 1:41 PM, Micheal Dignin > <[email protected]<javascript:>> > wrote: > > Greetings, > > > > We recently decided to use OSSEC for server and workstation monitoring. > I > > have been able to successfully roll it out to all of our machines, but I > am > > having some issues installing the agent on an old server. This is the > last > > machine that I need to install the agent on. It is running Solaris 8 and > I > > have been told by members of the development team that it would take a > large > > amount of time and effort to upgrade. Unfortunately, I was informed that > > upgrading is not an option and we have a security mandate to monitor it. > I > > have read the documentation and verified that the following packages are > > installed: SUNWxcu4, SUNWsprot, SUNWtoo, SUNbtool, SUNWhea, SUNWarc. > When I > > run the install.sh script, it stops in the following location and fails > to > > install: > > > > ***Making config*** > > > > > > > > gcc -c -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT > > -DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-config\" -DXML_VAR=\"var\" > -DOSSECHIDS > > *.c > > > > > > > > active-reponse.c: In function `ReadActiveReponses': > > > > active-reponse.c:63: parse error before `struct' > > > > I'd try redownloading the source, or even pulling the latest from the > bitbucket repository (https://bitbucket.org/jbcheng/ossec-hids). > Supporting niche legacy systems is always difficult. > > Are these lines 62 and 63? > #ifndef WIN32 > struct group *os_group; > > What version of gcc? > > > active-reponse.c:64: `os_group' undeclared (first use in this function) > > > > active-reponse.c:64: (Each undeclared identifier is reported only once > > > > active-reponse.c:64: for each function it appears in.) > > > > syscheck-config.c: In function `read_attr': > > > > syscheck-config.c:214: parse error before `char' > > > > syscheck-config.c:263: `ret' undeclared (first use in this function) > > > > syscheck-config.c:263: (Each undeclared identifier is reported only once > > > > syscheck-config.c:263: for each function it appears in.) > > > > syscheck-config.c:552: `i' undeclared (first use in this function) > > > > syscheck-config.c:553: `dir_org' undeclared (first use in this function) > > > > syscheck-config.c:559: warning: control reaches end of non-void function > > > > > > > > ***Error code 1 > > > > make: Fatal error: Command failed for target `logcollector' > > > > Current working directory /opt/ossec-hids-2.7.1-beta-1/src/config > > > > Error Making config > > > > > > > > ***Error code 1 > > > > make: Fatal error: Command failed for target `all' > > > > > > > > Error 0x5. > > > > Building error. Unable to finish the installation. > > > > > > > > The OSSEC agent installation compiles up to this point. I have searched > all > > over the Internet for a fix on this and have not found anything on it. I > am > > trying to install the ossec-hids-2.7.1-beta-1 agent. > > > > Any help on resolving this issue would be much appreciated. > > > > Thanks, > > > > Michael > > > > -- > > > > --- > > You received this message because you are subscribed to the Google > Groups > > "ossec-list" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
