*BSD News Article 52537


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!cs.utexas.edu!news.sprintlink.net!in1.uu.net!hearst.acc.Virginia.EDU!maui.cc.odu.edu!bosco101
From: sturgesj@bosco.cc.odu.edu (Jonathan Sturges)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Kernel patches for PPP-2.2 into 2.0.5 kernel?
Date: Tue, 03 Oct 95 21:30:45 GMT
Organization: Old Dominion University
Lines: 42
Message-ID: <44sa27$q0@maui.cc.odu.edu>
NNTP-Posting-Host: bosco48101.cc.odu.edu
X-Newsreader: News Xpress Version 1.0 Beta #4

Hi,
I ftp'd PPP 2.2 (with pppd), and couldn't get the kernel add-ins to compile, 
even though I got pppd, pppstats, and chat to compile.  I'm running FreeBSD 
2.0.5-950622-SNAP.

I really hate trying to patch stuff myself, so I was wondering if someone else 
had done this and made up some diff files.  Here are the errors I get (if 
they're any help to someone!):

In file included from ../../net/if_ppp.c:111:
./../net/ppp_defs.h:81: redefinition of `u_int32_t'
/machine/types.h:62: `u_int32_t' previously declared here
./../net/if_ppp.c:128: warning: redundant redeclaration of `pppioctl' in same 
s
cope
./../net/if_pppvar.h:102: warning: previous declaration of `pppioctl'
./../net/if_ppp.c: In function `pppattach':
./../net/if_ppp.c:208: `ppp_intr' undeclared (first use this function)
./../net/if_ppp.c:208: (Each undeclared identifier is reported only once
./../net/if_ppp.c:208: for each function it appears in.)
./../net/if_ppp.c: In function `ppp_ccp':
./../net/if_ppp.c:965: warning: `return' with no value, in function returning 
n
on-void
./../net/if_ppp.c:974: warning: `return' with no value, in function returning 
n
on-void
./../net/if_ppp.c:980: warning: `return' with no value, in function returning 
n
on-void
./../net/if_ppp.c:1041: warning: control reaches end of non-void function
./../net/if_ppp.c: In function `ppp_inproc':
./../net/if_ppp.c:1094: warning: `ilen' might be used uninitialized in this 
fun
ction
*** Error code 1

Stop.

Thanks for any help here, or any pointers to patches I can apply.
-Jonathan
sturgesj@bosco.cc.odu.edu