Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 1996 17:48:14 +0100
From:      Mats Lofkvist <mal@sophocles.algonet.se>
To:        freebsd-bugs@freebsd.org
Subject:   2.1-stable building problems
Message-ID:  <199602251648.RAA03898@sophocles.algonet.se>

next in thread | raw e-mail | index | archive | help
I had the following problems rebuilding 2.1-stable (sup'ed around 10am gmt
saturday 24):

- The makefiles in gnu/lib/libgmp and lib/libutil use install with
  the -C flag which my 'old' 2.1-stable-a-few-months-ago install
  does not support.

- The ipfw lkm doesn't build (error messages below).

- The termcap.db built by cap_mkdb is empty (od output below).
  The text version seems ok (ln -s /usr/share/misc/termcap ~/.termcap
  made xterm, vi and friends wake up). I reran cap_mkdb with the same result.

      _
Mats Lofkvist
mal@algonet.se	

  
bash# cd /usr/src/lkm/ipfw/
bash# make
cc -O -DIPFIREWALL  -DIPACCT  -DKERNEL -I/usr/src/lkm/ipfw/../../sys -W -Wcomment -Wredundant-decls -c /usr/src/lkm/ipfw/ipfw_lkm.c
In file included from /usr/src/lkm/ipfw/ipfw_lkm.c:39:
/usr/src/lkm/ipfw/../../sys/netinet/ip_fw.h:55: parse error before `LIST_ENTRY'
/usr/src/lkm/ipfw/../../sys/netinet/ip_fw.h:55: warning: no semicolon at end of struct or union
/usr/src/lkm/ipfw/../../sys/netinet/ip_fw.h:57: parse error before `}'
/usr/src/lkm/ipfw/ipfw_lkm.c: In function `ipfw_load':
/usr/src/lkm/ipfw/ipfw_lkm.c:53: `ip_acct_cnt_ptr' undeclared (first use this function)
/usr/src/lkm/ipfw/ipfw_lkm.c:53: (Each undeclared identifier is reported only once
/usr/src/lkm/ipfw/ipfw_lkm.c:53: for each function it appears in.)
/usr/src/lkm/ipfw/ipfw_lkm.c:53: `ip_acct_ctl_ptr' undeclared (first use this function)
/usr/src/lkm/ipfw/ipfw_lkm.c:59: `ip_fw_chk' undeclared (first use this function)
/usr/src/lkm/ipfw/ipfw_lkm.c:60: `ip_fw_ctl' undeclared (first use this function)
/usr/src/lkm/ipfw/ipfw_lkm.c:63: `ip_acct_cnt' undeclared (first use this function)
/usr/src/lkm/ipfw/ipfw_lkm.c:64: `ip_acct_ctl' undeclared (first use this function)
/usr/src/lkm/ipfw/ipfw_lkm.c: In function `ipfw_unload':
/usr/src/lkm/ipfw/ipfw_lkm.c:79: `ip_acct_ctl_ptr' undeclared (first use this function)
/usr/src/lkm/ipfw/ipfw_lkm.c:80: `ip_acct_cnt_ptr' undeclared (first use this function)
*** Error code 1

Stop.
bash# od -c /usr/share/misc/termcap.db 
0000000   \0 006 025   a  \0  \0  \0 002  \0  \0 004 322  \0  \0      \0
0000020   \0  \0  \0  \r  \0  \0 001  \0  \0  \0 001  \0  \0  \0  \0  \b
0000040   \0  \0  \0 001  \0  \0  \0 002  \0  \0  \0 001  \0  \0  \0 003
0000060   \0  \0  \0 001  \0 001  \0  \0  \0  \0  \0  \0  \0  \0  \0 001
0000100  225   n   } 343  \0  \0  \0  \0  \0  \0  \0 002  \0  \0  \0 002
0000120   \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0000300   \0  \0  \0  \0  \b 001  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000320   \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0060000  375 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377
0060020  377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377
*
0100000
bash# 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602251648.RAA03898>