Are you building with the CC compiler? If not, try forcing the use of GCC.
We have a handful of HPUX boxes that I just installed OSSEC 2.6 on and it
seems to be working fine - I had to use the GCC compiler though.

On Mon, Aug 22, 2011 at 1:07 PM, Daniel Cid <[email protected]> wrote:

> It seems the new ipv6 code is breaking in there... Probably a missing
> header.
>
> Anyone with an HP-UX box available there? :)
>
> thanks,
>
> On Mon, Aug 22, 2011 at 3:49 PM, Alisha Kloc <[email protected]>
> wrote:
> > Hi list,
> >
> > Has anyone else tried to build OSSEC 2.6 on HP-UX?
> >
> > We just tried to build install binaries on our compilation system and
> > encountered a fatal error (I have to hand-copy these messages so I
> > apologize if I mistyped something):
> >
> > ------------start snip-------------
> > *** making os_net ***
> >
> > os_net.c: In function 'OS_Bindport':
> > os_net.c:54: error: storage size of 'server6' isn't known
> > os_net.c:92: error: 'in6addr_any' undeclared (first use in this
> > function)
> > ...
> > os_net.c:54: warning: unused variable 'server6'
> > os_net.c: In function 'OS_Connect':
> > os_net.c:54: error: storage size of 'server6' isn't known
> > os_net.c:92: error: 'in6addr_any' undeclared (first use in this
> > function)
> > os_net.c:54: warning: unused variable 'server6'
> >
> > *** Error exit code 1
> > Stop
> >
> > Error Making os_net
> >
> > *** Error exit code 1
> > Stop
> > ------------end snip-------------
> >
> > We had previously used this system to build 2.4 binaries, and in fact
> > I built a 2.4 binary with no trouble immediately after encountering
> > this error on 2.6. So it's not something wrong with our compiler.
> >
> > System is HP-UX 11i (B.11.11), PA-RISC architecture. I don't know what
> > version of gcc but like I said, it works fine with earlier OSSEC
> > versions.
> >
> > Has anyone else seen this, or know what's going on?
> >
> > Thanks!
> > -Alisha Kloc
>

Reply via email to