[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-list] ossec 1.2 failing to compile on Solaris 8
- To: ossec-list@xxxxxxxxxxxxxxxx
- Subject: [ossec-list] ossec 1.2 failing to compile on Solaris 8
- From: Warren Petrofsky <petrofsk@xxxxxxxxxxxxx>
- Date: Thu, 14 Jun 2007 21:10:38 -0400
- Openpgp: id=5F248E90; url=http://www.sas.upenn.edu/~petrofsk/petrofsk.key
Hi Folks,
I have never had a problem building ossec before, and had 0.9-2 and -3
compiled on this system (solaris 8 with gcc 2.95.3), but I just tried to
build 1.2 and received the following error:
-------------------------
*** Making os_maild ***
gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-lsocket -lnsl -lresolv -DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-maild\"
-DXML_VAR=\"var\" -DOSSECHIDS maild.c config.c os_maild_client.c
sendmail.c mail_list.c ../config/*.c ../shared/lib_shared.a
../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-maild
Undefined first referenced
symbol in file
va_copy ../shared/lib_shared.a(debug_op.o)
ld: fatal: Symbol referencing errors. No output written to ossec-maild
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `addclient'
Current working directory /pkg/src/ossec-hids-1.2/src/os_maild
Error Making os_maild
*** Error code 1
make: Fatal error: Command failed for target `all'
Error 0x5.
Building error. Unable to finish the installation.
-------------------------
Any suggestions?
Thanks so much,
Warren
petrofsk@xxxxxxxxxxxxx
p.s. Earlier in the build, I did see a warning re: va_copy:
*** Making shared ***
gcc -c -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT
-lsocket -lnsl -lresolv -DSOLARIS -DHIGHFIRST -DARGV0=\"shared-libs\"
-DXML_VAR=\"var\" -DOSSECHIDS *.c
debug_op.c: In function `_log':
debug_op.c:62: warning: implicit declaration of function `va_copy'
gcc: -lsocket: linker input file unused since linking not done
gcc: -lnsl: linker input file unused since linking not done
gcc: -lresolv: linker input file unused since linking not done
ar cru lib_shared.a *.o
ranlib lib_shared.a
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.