[prev in list] [next in list] [prev in thread] [next in thread]
List: ipfilter
Subject: Re: making configs easier to write.
From: Erric Gilbert <egilbert () verio ! net>
Date: 2000-06-26 17:05:12
[Download RAW message or body]
Thanks Mike,
that did it.
erric
Mike Sawicki wrote:
>
> On Mon, Jun 26, 2000 at 04:41:38PM +0000, Erric Gilbert wrote:
> > Darren Reed wrote:
> > >
> > > In the ongoing quest to make things better and easier, I've started work
> > > on a new tool to write meta-config files for ipfilter...
> > >
> > > http://coombs.anu.edu.au/~avalon/fwcfg.tgz
> >
> >
> > Under which platforms does this currently compile? I understand it is a
> > work in progress though.
> >
> > BTW, under Solaris 2.7 I get:
> >
> > root@acid /usr/local/src/security/fwcfg > make
> > yacc -d fwcfg.y
> > "fwcfg.y", line 33: warning: redeclaration of precedence of T_WORD.
> > mv y.tab.c fwcfg_y.c
> > cc -I. -g -c fwcfg_y.c
> > lex fwcfg.l
> > mv lex.yy.c fwcfg_l.c
> > cc -I. -g -c fwcfg_l.c
> > cc -I. -g -c genmask.c
> > cc -I. -g -c fill6bits.c
> > cc -I. -g -c inet_addr.c
> > cc -I. -g -c countbits.c
> > cc -I. -g -c count6bits.c
> > cc -g fwcfg_y.o fwcfg_l.o genmask.o fill6bits.o inet_addr.o countbits.o
> > count6bits.o -o fwcfg -ll
> > Undefined first referenced
> > symbol in file
> > getprotobyname fwcfg_y.o
> > gethostbyname fwcfg_y.o
> > getprotobynumber fwcfg_y.o
> > endservent fwcfg_y.o
> > getservent fwcfg_y.o
> > getservbyname fwcfg_y.o
> > setservent fwcfg_y.o
> > inet_ntoa fwcfg_y.o
> > ld: fatal: Symbol referencing errors. No output written to fwcfg
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > make: Fatal error: Command failed for target `fwcfg'
> >
> > both The native solaris make and gmake give the same error
>
> Try compiling with -lresolv -lsocket -lnsl
> --
> [ Mike Sawicki < f i f i at HAX d.o.t org > *DIE SPAM BOTS!* .... ]
> [ UNIX Systems Administrator, Urinal Repairman and Underwear Model ]
> [ HAX:UNIX Engineering & Administration / Phone:<732.396.8653> ... ]
> [ url...http://www.HAX.ORG {/fifi for personal info} ............. ]
>
> "Linux is something for windows haters, BSD is something for unix lovers"
>
> --- "i am an hacker." ---
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic