I am attempting to secure a group of aging systems. I have successfully installed a server on a Sun Ultra80 Solaris.
I now wish to compile on a Digital Alpha running Tru64 v4. The compilation fails in 0s_net. In the short term is it possible (worth a try) to compile on the solaris (as an agent) (in a different directory, say /var/ossec2) and to move the directory to the Digital Alpha to run? I am not sure if as part of the distribution the installation hooks in other areas which might be tru64. I appreciate your time taken to consider this question. Chris Text appears below for interested parties 5- Installing the system - Running the Makefile *** Making zlib (by Jean-loup Gailly and Mark Adler) *** make[1]: Entering directory `/home/usr/local/ossec-hids-1.4/src/external/zlib-1.2.3' gcc -c -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DLOCAL -DARGV0=\"zlib\" -DXML_VAR=\"var\" -DOSSECHIDS *.c gzio.c: In function `gzdopen': gzio.c:231: warning: implicit declaration of function `snprintf' gzio.c: In function `gzprintf': gzio.c:632: warning: implicit declaration of function `vsnprintf' ar cru libz.a *.o ranlib libz.a make[1]: Leaving directory `/home/usr/local/ossec-hids-1.4/src/external/zlib-1.2.3' make[1]: Entering directory `/home/usr/local/ossec-hids-1.4/src/external/zlib-1.2.3' cp -pr zlib.h zconf.h ../../headers/ cp -pr libz.a ../ make[1]: Leaving directory `/home/usr/local/ossec-hids-1.4/src/external/zlib-1.2.3' *** Making os_xml *** make[1]: Entering directory `/home/usr/local/ossec-hids-1.4/src/os_xml' gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DLOCAL -DARGV0=\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c os_xml_access.c os_xml_node_access.c os_xml_variables.c os_xml_writer.c os_xml.c: In function `xml_error': os_xml.c:80: warning: implicit declaration of function `vsnprintf' os_xml_variables.c: In function `OS_ApplyVariables': os_xml_variables.c:51: warning: implicit declaration of function `snprintf' ar cru os_xml.a os_xml.o os_xml_access.o os_xml_node_access.o os_xml_variables.o os_xml_writer.o ranlib os_xml.a make[1]: Leaving directory `/home/usr/local/ossec-hids-1.4/src/os_xml' *** Making os_regex *** make[1]: Entering directory `/home/usr/local/ossec-hids-1.4/src/os_regex' gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DLOCAL -DARGV0=\"os_regex\" -DXML_VAR=\"var\" -DOSSECHIDS -c *.c -Wall In file included from os_match_compile.c:19: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_match_execute.c:18: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_match_free_pattern.c:18: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_regex_compile.c:19: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_regex_execute.c:18: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_regex_free_pattern.c:18: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_regex_free_substrings.c:18: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_regex_match.c:17: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_regex_str.c:16: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here In file included from os_regex_strbreak.c:16: os_regex_internal.h:38: warning: redefinition of `uchar' /opt/TWWfsw/gcc302/lib/gcc-lib/alpha-dec-osf4.0d/3.0.2/include/sys/types.h:591: warning: `uchar' previously declared here ar cru os_regex.a *.o ranlib os_regex.a make[1]: Leaving directory `/home/usr/local/ossec-hids-1.4/src/os_regex' *** Making os_net *** make[1]: Entering directory `/home/usr/local/ossec-hids-1.4/src/os_net' gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DLOCAL -DARGV0=\"os_net\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_net.c os_net.c:27: parse error before "_cl" os_net.c:27: warning: type defaults to `int' in declaration of `_cl' os_net.c:27: warning: data definition has no type or storage class os_net.c:33: parse error before "us_l" os_net.c:33: warning: type defaults to `int' in declaration of `us_l' os_net.c:33: warning: data definition has no type or storage class os_net.c: In function `OS_BindUnixDomain': os_net.c:135: `socklen_t' undeclared (first use in this function) os_net.c:135: (Each undeclared identifier is reported only once os_net.c:135: for each function it appears in.) os_net.c:135: parse error before "optlen" os_net.c:158: `optlen' undeclared (first use in this function) os_net.c: In function `OS_ConnectUnixDomain': os_net.c:181: `socklen_t' undeclared (first use in this function) os_net.c:181: parse error before "optlen" os_net.c:202: `optlen' undeclared (first use in this function) os_net.c: In function `OS_getsocketsize': os_net.c:222: `socklen_t' undeclared (first use in this function) os_net.c:222: parse error before "optlen" os_net.c:225: `optlen' undeclared (first use in this function) os_net.c: In function `OS_AcceptTCP': os_net.c:344: `socklen_t' undeclared (first use in this function) os_net.c:344: parse error before "_ncl" os_net.c:347: `_ncl' undeclared (first use in this function) make[1]: *** [net] Error 1 make[1]: Leaving directory `/home/usr/local/ossec-hids-1.4/src/os_net' Error Making os_net make: *** [all] Error 1 Error 0x5. Building error. Unable to finish the installation. -- Dr C S Kirk -- http://www.fastmail.fm - Access all of your messages and folders wherever you are
