click userlevel errors 3/11 cvs

David Scott Page page at cs.utexas.edu
Sat Mar 15 22:36:45 EST 2003


Hi,

A couple of errors arose when trying to build userlevel click on os x
10.2.4; the first of which I believe is platform agnostic. Click is
from cvs where the last changelog entry is dated 3/11.

--
Scott Page


*** I think this is a common userlevel error (#include for header with
*** definition is ifdef'd -DCLICK_TOOL in driver.cc, and goes missing
*** in userlevel/ build.

cd /Users/page/Projects/Click/gcc-311/
make -k -w
make: Entering directory `/Users/page/Projects/Click/gcc-311'
make[1]: Entering directory `/Users/page/Projects/Click/gcc-311/userlevel'
g++ -W -Wall -fno-exceptions -fno-rtti  -MD -DHAVE_CONFIG_H -I../include -I../../click-20030311/include -I../../click-20030311/userlevel -I../../click-20030311  -DCLICK_USERLEVEL -g -O2 -c ../../click-20030311/lib/driver.cc
../../click-20030311/lib/driver.cc: In function `Router* 
   click_read_router(String, bool, ErrorHandler*, bool)':
../../click-20030311/lib/driver.cc:404: `archive_index' undeclared (first use 
   this function)
../../click-20030311/lib/driver.cc:404: (Each undeclared identifier is reported 
   only once for each function it appears in.)
make[1]: *** [driver.o] Error 1


*** Missing net/if_tun.h is not detected by configure.  if_tun
*** apparently is omitted from OS X (man tun is available, though)
*** http://chrisp.de/en/projects/tunnel.html offers a port of BSD's,
*** but I don't have a spare mac on which to try out experimental
*** kernel extensions.

configure:6112: checking for linux/if_tun.h
configure:6122: g++ -W -Wall -fno-exceptions -fno-rtti  -MD -E  conftest.cc
configure:6119:26: linux/if_tun.h: No such file or directory
configure:6128: $? = 1
configure: failed program was:
#line 6118 "configure"
#include "confdefs.h"
#include <linux/if_tun.h>
configure:6147: result: no

*** make

g++ -W -Wall -fno-exceptions -fno-rtti  -MD -DHAVE_CONFIG_H -I../include -I../../click-20030311/include -I../../click-20030311/userlevel -I../../click-20030311  -DCLICK_USERLEVEL -g -O2 -c ../../click-20030311/elements/userlevel/kerneltap.cc
../../click-20030311/elements/userlevel/kerneltap.cc:34:24: net/if_tun.h: No such file or directory
make[1]: *** [kerneltap.o] Error 1
g++ -W -Wall -fno-exceptions -fno-rtti  -MD -DHAVE_CONFIG_H -I../include -I../../click-20030311/include -I../../click-20030311/userlevel -I../../click-20030311  -DCLICK_USERLEVEL -g -O2 -c ../../click-20030311/elements/userlevel/kerneltun.cc
../../click-20030311/elements/userlevel/kerneltun.cc:35:24: net/if_tun.h: No such file or directory
make[1]: *** [kerneltun.o] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/Users/page/Projects/Click/gcc-311/userlevel'
make: *** [userlevel] Error 2




More information about the click mailing list