I will try this! Thanks!

On Monday, June 24, 2013 4:39:16 PM UTC-4, Eero Volotinen wrote:
>
> maybe this fixes it on current version?
>
> --- csyslogd.c-new      2012-11-20 22:53:28.000000000 +0000
> +++ csyslogd.c  2012-11-20 22:54:27.000000000 +0000
> @@ -23,6 +23,18 @@
>  #include "csyslogd.h"
>  #include "os_net/os_net.h"
>
> +#ifndef HAVE_STRNLEN
> +   size_t strnlen(char *s, size_t maxlen)
> +   {
> +       size_t i;
> +
> +       for (i= 0; i < maxlen && *s != '\0'; i++, s++)
> +           ;
> +       return i;
> +   }
> +#endif
> +
> +
>
> --
> Eero
>
>
> 2013/6/24 David Blanton <[email protected] <javascript:>>
>
>> Here is the full message I get during the make. I noticed in an older 
>> thread you posted a fix and was wondering if there was any other concrete 
>> fixes you have available. 
>>
>> *** Making os_csyslogd *** 
>>
>> gcc -g -Wall -I../ -I../headers  -DDEFAULTDIR=\"/home/dblanton/ossec\" 
>> -DCLIENT  -DSOLARIS -DHIGHFIRST     -DARGV0=\"ossec-csyslogd\" 
>> -DXML_VAR=\"var\" -DOSSECHIDS -lsocket -lnsl -lresolv *.c 
>> ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a 
>> ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-csyslogd
>> csyslogd.c: In function `field_add_string':
>> csyslogd.c:117: warning: implicit declaration of function `strnlen'
>> Undefined                       first referenced
>>  symbol                             in file
>> strnlen                             /var/tmp//cc9GyBBv.o
>> ld: fatal: Symbol referencing errors. No output written to ossec-csyslogd
>> collect2: ld returned 1 exit status
>> *** Error code 1
>> make: Fatal error: Command failed for target `default'
>> Current working directory 
>> /home/dblanton/ossec-install/ossec-hids-2.7/src/os_csyslogd
>>
>>
>> Error Making os_csyslogd
>> *** Error code 1
>> The following command caused the error:
>> /bin/sh ./Makeall all
>> make: Fatal error: Command failed for target `all'
>>
>>  Error 0x5.
>>  Building error. Unable to finish the installation.
>>  
>>
>>
>> On Monday, June 24, 2013 12:21:16 PM UTC-4, dan (ddpbsd) wrote:
>>
>>> On Mon, Jun 24, 2013 at 11:59 AM, David Blanton 
>>> <[email protected]> wrote: 
>>> > The error I am getting during the installation process: 
>>> > 
>>> > Error Making os_csyslogd 
>>> > *** Error code 1 
>>> > The following command caused the error: 
>>> > /bin/sh ./Makeall all 
>>> > make: Fatal error: Command failed for target `all' 
>>> > 
>>> >  Error 0x5. 
>>> >  Building error. Unable to finish the installation. 
>>> > 
>>>
>>> I have to believe there is an actual error message before this. 
>>>
>>> > 
>>> > I tried the solution #vi install.sh 
>>> > 
>>> > and change the first line of code from #!bin/sh to #!bin/bash however 
>>> it did 
>>> > not work. 
>>> > 
>>> > I also tried to find that error line by / /Makeall all in vi however 
>>> it 
>>> > could not find it. Any tips? 
>>> > 
>>> > -- 
>>> > 
>>> > --- 
>>> > 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 ossec-list+...@**googlegroups.com. 
>>> > For more options, visit 
>>> > https://groups.google.com/**groups/opt_out<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] <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.


Reply via email to