Dear FreeBSD! On my home machine I`ve tried to compile custom kernel for 5_0 release. In a script commented out all scsi, raid, ethernet, nfs options, I had not. So I`ve included atapicam options and "device pcm" for AC97 sound chip. After all, result was an error: linking kernel if.o: In function 'if_setlladdr': if.o(.text+0x2725): undefined reference to 'arp_ifinit' stop in /usr/orj/usr/src/sys/NEWKERN I am shure that mistake is mine, but don't know what option to include. Must be something I threw away, without knowlidge what it is. Is there someone, who knows what to do for linking kernel to finaly compile? Script excludes and includes exactly what I said. Yes, 5_0 is very unstable and behaves a lot different than stable 4_. Best regards Zoran Kolic kolicz@eunet.yu
On Fri, Apr 11, 2003 at 09:58:12AM +0000, Zoran Kolic wrote:> I am shure that mistake is mine, but don't know > what option to include. Must be something > I threw away, without knowlidge what it is.Then please start over using the GENERIC kernel config file as a start. Only threw out that options "at once" from which you know that they are not needed. Then iterate slowly up to the point where the compile problem arises. Don't make too many changes at once, so that at least you exactly know, whats causing this. And if you have it and think its an error, report it to the list, ask if its an error or not (maybe you overlooked a dependency) ... If its an error, please file a bugreport using send-pr. Andreas /// -- Andreas Klemm - Powered by FreeBSD 4.7 Need a magic printfilter today ? -> http://www.apsfilter.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030411/897b8954/attachment.bin
On Fri, 11 Apr 2003, Zoran Kolic wrote:> > Dear FreeBSD! > On my home machine I`ve tried to > compile custom kernel for 5_0 release. > In a script commented out all scsi, raid, > ethernet, nfs options, I had not. So I`ve > included atapicam options and "device > pcm" for AC97 sound chip. After all, > result was an error: > > linking kernel > if.o: In function 'if_setlladdr': > if.o(.text+0x2725): undefined reference to 'arp_ifinit' > stop in /usr/orj/usr/src/sys/NEWKERNAs you said, you removed "device ether", which for no good reason is required by "options INET". See the recent thread on hackers@ for more: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=97462+0+current/freebsd-hackers This shouldn't be the case, (you may want ppp support for internet dial-up without ethernet support, or you may want ethernet without IP), but for now, either replace "device ether" or remove the following if you don't need any networking at all: options INET options INET6 device sl device ppp device tun device gif I'd be interested to hear what anyone else thinks about these dependencies.> I am shure that mistake is mine, but don't know > what option to include. Must be something > I threw away, without knowlidge what it is. > Is there someone, who knows what to do > for linking kernel to finaly compile? Script > excludes and includes exactly what I said. > > Yes, 5_0 is very unstable and behaves a > lot different than stable 4_. Best regardsDepends on what you mean by unstable, but it's been pretty stable for me. Did your 4.x kernel run without device ether but with INET? Geoff
>Add >device ether >in kernel config.Yes! Yes! Compiles! Works! Thanks for quick and helpfull answer. To answer the questions:>what you mean by unstable?None OS goes down after simple mounting CDrom. Don`t get me wrong. I am impressed with 5_0. You could guess that I`m linux user and almost everything on freeBSD is what I want on linux. Simplicity, no "works-by-itself" things, no newly imported desktop envs and home entertaintment apps.>Did your 4.x kernel run without device ether but with INET?Oh, I just made kernel smaller. Didn`t touch it. Now I threw it away and made a mess. Never could think about that dependency. Like the one, that you must have KOffice if you want KDE. I just need libraries and use it for apps. Thanks again for your time. Zoran Kolic