pfil 2.1.12 sol10 build issue

This is a discussion on pfil 2.1.12 sol10 build issue within the IPFilter forums, part of the System Security and Security Related category; This is done on the following: Solaris 10 11/06 s10x_u3wos_10 X86 under Studio 11 with all patches for studio/...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2007
J.D. Bronson
 
Posts: n/a
Default pfil 2.1.12 sol10 build issue

This is done on the following:
Solaris 10 11/06 s10x_u3wos_10 X86
under Studio 11 with all patches for studio/solaris using our
patch contract:

I am trying to install our own build of pfil/ipfilter
and I cannot get pfil to build:

# make package
i=`uname -s`; case $i in HP-UX) make hpux;; *) make $i;; esac
cp Makefile SunOS
make SunOS32
(cd SunOS; make pfil "BITS=32" OS=solaris DO=pfil "ADEF=-I.. -I.
-D_KERNEL -DSUNDDI -DSOLARIS2="`uname -r | sed -e
's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG")
cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=10 -DPFILDEBUG -c
.../pfil.c -o pfil.o
cc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=10 -DPFILDEBUG -c qif.c -o qif.o
"qif.c", line 1016: warning: improper pointer/integer combination: arg #8
"qif.c", line 1016: prototype mismatch: 8 args passed, 9 expected
cc: acomp failed for qif.c
*** Error code 2
make: Fatal error: Command failed for target `qif.o'
Current working directory /export/home/junk/pfil/SunOS
*** Error code 1
make: Fatal error: Command failed for target `SunOS32'
Current working directory /export/home/junk/pfil
*** Error code 1 (ignored)
(cd `uname -s`; make package-`uname -s`)
cc -c qif.c -o qif.o
"/usr/include/inet/ip_ire.h", line 146: warning: no explicit type given
"/usr/include/inet/ip_ire.h", line 146: syntax error before or at: *
"/usr/include/inet/ip_ire.h", line 146: warning: old-style
declaration or incorrect type for: ip_forwarding_table_v6
"/usr/include/inet/ip_ire.h", line 147: warning: no explicit type given
"/usr/include/inet/ip_ire.h", line 147: syntax error before or at: *
"/usr/include/inet/ip_ire.h", line 147: warning: old-style
declaration or incorrect type for: ip_cache_table_v6
"/usr/include/inet/ip_ire.h", line 148: warning: no explicit type given
"/usr/include/inet/ip_ire.h", line 148: syntax error before or at: *
"/usr/include/inet/ip_ire.h", line 148: warning: old-style
declaration or incorrect type for: ip_mrtun_table
"/usr/include/inet/ip_ire.h", line 149: warning: no explicit type given
"/usr/include/inet/ip_ire.h", line 149: syntax error before or at: *
"/usr/include/inet/ip_ire.h", line 149: warning: old-style
declaration or incorrect type for: ip_srcif_table
"qif.c", line 58: cannot find include file: "compat.h"
"qif.c", line 59: cannot find include file: "qif.h"
"qif.c", line 60: cannot find include file: "pfil.h"
"qif.c", line 142: warning: old-style declaration or incorrect type for: qif_t
"qif.c", line 142: syntax error before or at: *
"qif.c", line 142: warning: old-style declaration or incorrect type
for: qif_head
"qif.c", line 158: warning: implicit function declaration: kmem_cache_create
"qif.c", line 159: warning: improper pointer/integer combination: op "="
"qif.c", line 161: warning: implicit function declaration: cmn_err
"qif.c", line 165: warning: implicit function declaration: cv_init
"qif.c", line 166: warning: implicit function declaration: mutex_init
"qif.c", line 168: warning: implicit function declaration: timeout
"qif.c", line 168: warning: improper pointer/integer combination: op "="
"qif.c", line 184: warning: implicit function declaration: kmem_cache_destroy
"qif.c", line 187: warning: implicit function declaration: mutex_destroy
"qif.c", line 188: warning: implicit function declaration: cv_destroy
"qif.c", line 203: undefined symbol: ill_t
"qif.c", line 203: undefined symbol: ill
"qif.c", line 203: syntax error before or at: =
"qif.c", line 215: undefined symbol: ill_g_head
"qif.c", line 215: undefined struct/union member: ill_next
"qif.c", line 215: left operand of "->" must be pointer to struct/union
"qif.c", line 218: undefined struct/union member: ill_rq
"qif.c", line 218: left operand of "->" must be pointer to struct/union
"qif.c", line 218: undefined struct/union member: ill_wq
"qif.c", line 218: left operand of "->" must be pointer to struct/union
"qif.c", line 220: undefined struct/union member: ill_rq
"qif.c", line 220: left operand of "->" must be pointer to struct/union
"qif.c", line 220: warning: improper pointer/integer combination: op "=="
"qif.c", line 222: undefined struct/union member: ill_rq
"qif.c", line 222: left operand of "->" must be pointer to struct/union
"qif.c", line 222: warning: improper pointer/integer combination: arg #1
"qif.c", line 227: undefined struct/union member: ill_rq
"qif.c", line 227: left operand of "->" must be pointer to struct/union
"qif.c", line 227: warning: improper pointer/integer combination: op "="
"qif.c", line 237: warning: improper pointer/integer combination: op "="
"qif.c", line 238: cannot recover from previous errors
cc: acomp failed for qif.c
*** Error code 2
make: Fatal error: Command failed for target `qif.o'
Current working directory /export/home/junk/pfil/SunOS
*** Error code 1
make: Fatal error: Command failed for target `package'

-JD

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0