I finally got ipf40a25 to compile and install on my system.  I was incorrect earlier 
with 1100 = "1100" being a problem.  Here are the changes I needed to make.

Change 1: ipf40a25/Makefile
CFLAGS=-I/usr/lib/pa20_64 -I$$(TOP)
This was because the combination of 64bit with -lnsl wasn't working on my system

Change 2: ipf40a25/ip_compat.h
#   define      kmutex_t                lock_t          /* for pfil.h */
#   define      krwlock_t               lock_t          /* for pfil.h */
#  include "pfil.h"
#  include "qif.h"
The first two lines were later in the HPUX section and were ineffectual.

Change 3:  ipf40a25/HPUX/ipf.psf
#       file    ../man/ipnat.1          opt/ipf/man/man1/ipnat.1
Apparently this man page was lost in this build?

Change 4:  make install-hpux
The web page says to just to a make install

Unfortunately, it isn't working.  This may be related to the "millicode" you described 
before.  Here is an excerpt from my syslog:
vmunix: Undefined symbol memcpy in loadable module /stand/dlkm/mod.d/ipf.
vmunix: Undefined symbol MD5Final in loadable module /stand/dlkm/mod.d/ipf.
vmunix: Undefined symbol ipf_timeoutlock in loadable module /stand/dlkm/mod.d/ipf.
vmunix: Undefined symbol MD5Init in loadable module /stand/dlkm/mod.d/ipf.
vmunix: Undefined symbol pfil_installed in loadable module /stand/dlkm/mod.d/ipf.
vmunix: Undefined symbol MD5Update in loadable module /stand/dlkm/mod.d/ipf.
vmunix: WARNING: MOD: Processing symbol table in module /stand/dlkm/mod.d/ipf failed

I am going to play a little more and then call it a night - it is 2:07AM

Joshua Gatcomb





-----Original Message-----
From: Darren Reed [mailto:darrenr@;reed.wattle.id.au]
Sent: Thursday, October 31, 2002 5:49 PM
To: Gatcomb, Joshua P
Cc: [EMAIL PROTECTED]
Subject: Re: Compile failure on HPUX 11.0



I'm not sure how far you're going to get with this, I'm stuck with
a millicode problem that won't go away.  The "millicode" problem
is where cc decides to add some function calls to do things like
implement '%' in C and cranking optimisation up does not make these
calls go away.  With no matching functions in the kernel, ipfilter
won't link against it and hence won't load :-(

Darren

Reply via email to