Re: LINT broken. (in_cksum changes)

2000-05-09 Thread Nick Hibma


Appart from that, ipf does not load as a kld anymore. And probably, not
tried, the IPFILTER option in any kernel would break the build as well.

Nick

On Mon, 8 May 2000, Wes Morgan wrote:

 I sent a note to the committer on these last night. LINT must need some
 modification, because the error is also present in netinet6/ipsec.c. There
 are some ifdef's around it that point to LINT needing some extra options.
 
 On Sun, 7 May 2000, Nick Hibma wrote:
 
  
  Is it only me that ever compiles LINT? The checksum changes went in a
  few days ago.
  
  Please, people, when you move code around or change a function that is
  used in more than a fixed set of files, compile LINT. If unsure, compile
  LINT. It's an extra five minutes, but well worth it.
  
  linking kernel
  fil.o: In function `fr_tcpsum':
  fil.o(.text+0xf47): undefined reference to `in_cksum'
  ip_fil.o: In function `send_reset':
  ip_fil.o(.text+0xd7d): undefined reference to `in_cksum'
  ip_fil.o: In function `ipfr_fastroute':
  ip_fil.o(.text+0x10f1): undefined reference to `in_cksum'
  ip_fil.o(.text+0x1316): undefined reference to `in_cksum'
  ip_fil.o(.text+0x1380): undefined reference to `in_cksum'
  ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum'
  follow
  
  
  I just couldn't be bothered to fix it.
  
  Nick
  --
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]  USB project
  http://www.etla.net/~n_hibma/
  
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with "unsubscribe freebsd-current" in the body of the message
  
 
 -- 
_ __ ___   ___ ___ ___
   Wesley N Morgan   _ __ ___ | _ ) __|   \
   [EMAIL PROTECTED] _ __ | _ \._ \ |) |
   FreeBSD: The Power To Serve  _ |___/___/___/
 Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 

--
[EMAIL PROTECTED]
[EMAIL PROTECTED]  USB project
http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: LINT broken. (in_cksum changes)

2000-05-09 Thread MIHIRA Yoshiro

  On Sun, 7 May 2000, Nick Hibma wrote:
  
   
   Is it only me that ever compiles LINT? The checksum changes went in a
   few days ago.
   
   Please, people, when you move code around or change a function that is
   used in more than a fixed set of files, compile LINT. If unsure, compile
   LINT. It's an extra five minutes, but well worth it.
   
   linking kernel
   fil.o: In function `fr_tcpsum':
   fil.o(.text+0xf47): undefined reference to `in_cksum'
   ip_fil.o: In function `send_reset':
   ip_fil.o(.text+0xd7d): undefined reference to `in_cksum'
   ip_fil.o: In function `ipfr_fastroute':
   ip_fil.o(.text+0x10f1): undefined reference to `in_cksum'
   ip_fil.o(.text+0x1316): undefined reference to `in_cksum'
   ip_fil.o(.text+0x1380): undefined reference to `in_cksum'
   ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum'
   follow

I had same problem with below options:

optionsIPFILTER#ipfilter support
optionsIPFILTER_LOG#ipfilter logging
optionsIPSEC   #IP security

I think this problem related to jlemon-san's commit.

jlemon  2000/05/06 11:18:33 PDT

  Modified files:
sys/alpha/alpha  in_cksum.c
sys/alpha/includein_cksum.h
sys/i386/i386in_cksum.c
sys/i386/include in_cksum.h
  Log:
  Make in_cksum() a macro call to in_cksum_skip(), since it provides the
  same functionality.  Sharing code should help cache issues.

  Remove in_cksum_partial, since its not being used, and we now have
  a way to compute partial checksums on mbuf chains.

in_cksum function was removed and change into macro.

--- in sys/i386/include/in_cksum.h
#define in_cksum(m, len)in_cksum_skip(m, len, 0)
---

It needs to some code to compile with those options...

MIHIRA Yoshiro


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: LINT broken. (in_cksum changes)

2000-05-09 Thread Jonathan Lemon

On Wed, May 10, 2000 at 01:49:51AM +0900, MIHIRA Yoshiro wrote:
   On Sun, 7 May 2000, Nick Hibma wrote:
   

Is it only me that ever compiles LINT? The checksum changes went in a
few days ago.

Please, people, when you move code around or change a function that is
used in more than a fixed set of files, compile LINT. If unsure, compile
LINT. It's an extra five minutes, but well worth it.

linking kernel
fil.o: In function `fr_tcpsum':
fil.o(.text+0xf47): undefined reference to `in_cksum'
ip_fil.o: In function `send_reset':
ip_fil.o(.text+0xd7d): undefined reference to `in_cksum'
ip_fil.o: In function `ipfr_fastroute':
ip_fil.o(.text+0x10f1): undefined reference to `in_cksum'
ip_fil.o(.text+0x1316): undefined reference to `in_cksum'
ip_fil.o(.text+0x1380): undefined reference to `in_cksum'
ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum'
follow
 
 I had same problem with below options:
 
 optionsIPFILTER#ipfilter support
 optionsIPFILTER_LOG#ipfilter logging
 optionsIPSEC   #IP security
 
 I think this problem related to jlemon-san's commit.

Yes, my abject apologies.  I just committed Nick's fix to 
the tree to resolve this.
--
Jonathan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: LINT broken. (in_cksum changes)

2000-05-08 Thread Wes Morgan

I sent a note to the committer on these last night. LINT must need some
modification, because the error is also present in netinet6/ipsec.c. There
are some ifdef's around it that point to LINT needing some extra options.

On Sun, 7 May 2000, Nick Hibma wrote:

 
 Is it only me that ever compiles LINT? The checksum changes went in a
 few days ago.
 
 Please, people, when you move code around or change a function that is
 used in more than a fixed set of files, compile LINT. If unsure, compile
 LINT. It's an extra five minutes, but well worth it.
 
 linking kernel
 fil.o: In function `fr_tcpsum':
 fil.o(.text+0xf47): undefined reference to `in_cksum'
 ip_fil.o: In function `send_reset':
 ip_fil.o(.text+0xd7d): undefined reference to `in_cksum'
 ip_fil.o: In function `ipfr_fastroute':
 ip_fil.o(.text+0x10f1): undefined reference to `in_cksum'
 ip_fil.o(.text+0x1316): undefined reference to `in_cksum'
 ip_fil.o(.text+0x1380): undefined reference to `in_cksum'
 ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum'
 follow
 
 
 I just couldn't be bothered to fix it.
 
 Nick
 --
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]  USB project
 http://www.etla.net/~n_hibma/
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 

-- 
   _ __ ___   ___ ___ ___
  Wesley N Morgan   _ __ ___ | _ ) __|   \
  [EMAIL PROTECTED] _ __ | _ \._ \ |) |
  FreeBSD: The Power To Serve  _ |___/___/___/
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



LINT broken. (in_cksum changes)

2000-05-07 Thread Nick Hibma


Is it only me that ever compiles LINT? The checksum changes went in a
few days ago.

Please, people, when you move code around or change a function that is
used in more than a fixed set of files, compile LINT. If unsure, compile
LINT. It's an extra five minutes, but well worth it.

linking kernel
fil.o: In function `fr_tcpsum':
fil.o(.text+0xf47): undefined reference to `in_cksum'
ip_fil.o: In function `send_reset':
ip_fil.o(.text+0xd7d): undefined reference to `in_cksum'
ip_fil.o: In function `ipfr_fastroute':
ip_fil.o(.text+0x10f1): undefined reference to `in_cksum'
ip_fil.o(.text+0x1316): undefined reference to `in_cksum'
ip_fil.o(.text+0x1380): undefined reference to `in_cksum'
ip_mroute.o(.text+0x19d6): more undefined references to `in_cksum'
follow


I just couldn't be bothered to fix it.

Nick
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]  USB project
http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message