Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 19:50:34 -0200
From:      Raimundo Santos <raitech@gmail.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   userspace ipfw and FreeBSD 10
Message-ID:  <CAGQ6iC8TgNZBj6VsrKndYcy3=%2B9ae%2BFsyMfFOWdjRcT8MC2%2Bvg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello list!

There is a way to compile and use the userspace, netmap based, ipfw on top
of FreeBSD 10? I mean, to compile it without great dependencies (gmake is
one, may be GCC another).

Here is the output of a tentative, with netmap and VIMAGE inkernel:

root@fbsdserver:~/ipfw-user # gmake
Building userspace ...
gmake[1]: Entering directory `/root/ipfw-user/ipfw'
(cd ../objs; gmake -f ../Makefile.kipfw include_e)
gmake[2]: Entering directory `/root/ipfw-user/objs'
Building /root/ipfw-user/objs/../objs/include_e ...
gmake[2]: Leaving directory `/root/ipfw-user/objs'
   CC ipfw2.c
   CC dummynet.c
   CC main.c
   CC ipv6.c
   CC altq.c
   CC ../extra/glue.c

../extra/glue.c:181:36: error: comparison of unsigned expression < 0 is
always false [-Werror,-Wtautological-compare]
        if((oldlenp != NULL) && (*oldlenp < 0))
                                 ~~~~~~~~ ^ ~
1 error generated.
gmake[1]: *** [glue.o] Error 1
gmake[1]: Leaving directory `/root/ipfw-user/ipfw'
gmake: *** [ipfw] Error 2

Thank you all,
Raimundo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGQ6iC8TgNZBj6VsrKndYcy3=%2B9ae%2BFsyMfFOWdjRcT8MC2%2Bvg>