Hi All,
I am trying to compile on a Solaris 8 server:
SunOS sun3n 5.8 Generic_117350-52 sun4u sparc SUNW,Sun-Fire-15000
pkginfo |grep gcc
application SMCgcc               gcc
application SMClgcc              libgcc

But when it gets to the "Making monitord" it fails w/:

*** Making monitord ***

gcc -g -Wall -I../ -I../headers  -DDEFAULTDIR=\"/opt/ossec\" -DCLIENT
-DSOLARIS -DHIGHFIRST    -DARGV0=\"ossec-monitord\" -DXML_VAR=\"var\" -
DOSSECHIDS -lsocket -lnsl -lresolv compress_log.c main.c
manage_files.c monitor_agents.c monitord.c sign_log.c ../shared/
lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_crypto/
os_crypto.a ../os_zlib/os_zlib.c ../external/libz.a -o ossec-monitord
gcc -g -Wall -I../ -I../headers  -DDEFAULTDIR=\"/opt/ossec\" -DCLIENT
-DSOLARIS -DHIGHFIRST    -DARGV0=\"ossec-monitord\" -DXML_VAR=\"var\" -
DOSSECHIDS -lsocket -lnsl -lresolv -UARGV0 -DARGV0=\"ossec-reportd\"
report.c ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/
os_regex.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c ../external/
libz.a -o ossec-reportd
*Initialization*:1: warning: `ARGV0' redefined
*Initialization*:1: warning: this is the location of the previous
definition
report.c: In function `report_help':
report.c:20: `ARGV0' undeclared (first use in this function)
report.c:20: (Each undeclared identifier is reported only once
report.c:20: for each function it appears in.)
report.c: In function `main':
report.c:53: `ARGV0' undeclared (first use in this function)
*Initialization*:1: warning: `ARGV0' redefined
*Initialization*:1: warning: this is the location of the previous
definition
*** Error code 1
make: Fatal error: Command failed for target `mmonitor'
Current working directory /export/home/phswartz/ossec-hids-2.0/src/
monitord

Error Making monitord
*** Error code 1
make: Fatal error: Command failed for target `all'

All of the previous subsections didn't have a problem ( syscheckd,
rootcheck, util, addagent, client-agent, remoted, logcollector).
Is there something else I should be checking?  What are my options at
this point?

Thanks so much in advance!
Patrick

Reply via email to