From owner-freebsd-questions Thu Mar 29 16:13:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 5739037B720 for ; Thu, 29 Mar 2001 16:13:51 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 71116 invoked by uid 100); 30 Mar 2001 00:13:50 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15043.53182.504308.429097@guru.mired.org> Date: Thu, 29 Mar 2001 18:13:50 -0600 To: "Munish Chopra" Cc: questions@freebsd.org Subject: Re: ports update during make world and kernel ppp In-Reply-To: <123501985@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Munish Chopra types: > First off, the ports tree. When I cvsup the system and make world, will this > update any installed ports too, or must I make uninstall, update the ports > tree, and then make install the port? Whether or not the ports tree is updated depends on your make.conf file. If you set it up properly, the ports tree will be updated when you "make update" in /usr/src. This will *not* update any of the installed ports. If you want to update those, you'll need to make, deinstall and the install the udpated versions. pkg_version -c generates a script to do this udpate for you. You *have* to edit the script before you can use it. You need to delete the comment and exit at the top, check that things are being done in the right order, and possibly comment out ports that need special handling (active database servers, for instance). If you have WRKDIRPREFIX pointed outside of /usr/ports and don't habitually make clean, you'll want to "make clean" on all the ports as well. > Second of all, I use ppp to connect to the net. In my kernel configuration > file, should I enable ppp, or can I do without that if I'd rather run it in > userland? If you're running userland ppp, you don't need it in the kernel. You do need tun, though. > Finally, I tried building my first kernel on a 4.2-RELEASE box today. As I > haven't CVSuped (dialup is expensive in Europe), I did the whole config, > make depend, make thing. Now at make, output is something like this: > > # make > linking kernel > [bunch of files]: undefined reference to '[bunch of stuff]' > *** Error Code 1 > > There are a whole lot of those error lines. Exact error messages would help, but you probably left out a device that some device you included depends on. Typical things are the mii device for some PCI ethernet cards, and some SCSI code for for USB disks. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message