*BSD News Article 90948


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!howland.erols.net!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!cam-news-feed2.bbnplanet.com!ray.com!news.ray.com!news.res.ray.com!eoits1.eo.ray.com!usenet
From: Kevin Harris <kevin@rpa.ueci.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: ppp 2.3b1 and kernel 2.1.5
Date: Thu, 13 Mar 1997 15:56:24 -0600
Organization: Raytheon Process Automation
Lines: 31
Message-ID: <33287808.2781E494@rpa.ueci.com>
NNTP-Posting-Host: harden.rpa.ueci.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.4 sun4c)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36976

Hi, folks,

I tried to build a 2.1.5 kernel using the ppp sources from ppp-2.3b1. I
made pppd, pppstats and chat (the chat that ships with 2.1.5 on CD was
not working for me...at all.) I installed these and sure enough, the new
chat works just fine.

*However*, following the instructions in ppp 2.3b1, I did a "make
kernel" which copies some ppp-specific stuff into the kernel source
tree. I then attempted to compile a new kernel. Here's the result:

	bash# make
	loading kernel
	inflate.o: Definition of symbol `_inflate' (multiply defined)
	zlib.o: Definition of symbol `_inflate' (multiply defined)
	*** Error code 1

D'oh. I looked into the sources for inflate.c and zlib.c and, sure
enough, they both have an inflate() defined. Zlib.c has the following:

	#ifdef FreeBSD
	#define inflate       inflate_ppp
	#endif

Hmmm, I see that *somebody's* encountered this before.

Does anybody have a work-around for this situation?

Thanks in advance,

kevin