Re: kernel compile problems
On Sat, 2009-02-21 at 13:41 +, daemon wrote: Hi, I try to build a 7.1 kernel but when i does # make depend make clean depend So you make the dependency chain, then clean it and remake the dependency chain. You've gained nothing. make shows : make : don't know how to make ../../../dev/agp/agp.c. Stop This sounds like you've removed the device agp from the config file... Which is needed, even if you don't have an AGP slot/card in your system. anyone know anything? Thanks! GL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel compile problems
daemon wrote: Hi, I try to build a 7.1 kernel but when i does # make depend make clean depend make shows : make : don't know how to make ../../../dev/agp/agp.c. Stop anyone know anything? Thanks! [snip] Have you tried cd to /usr/src and make buildkernel KERNCONF=yourkernel and make installkernel KERNCONF=yourkernel ? Where yourkernel would be the name of your custom kernel (yourkernel.conf) minus the .conf part. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel compile problems
# make depend make clean depend make shows : make : don't know how to make ../../../dev/agp/agp.c. Stop anyone know anything? Thanks! that you miss some files - this file do exist. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel compile problems
daemon wrote: I try to build a 7.1 kernel but when i does # make depend make clean depend make shows : make : don't know how to make ../../../dev/agp/agp.c. Stop anyone know anything? Thanks! The process for building a kernel has changed since the days of 4.x. Now you should just use: make buildkernel KERNCONF=configfile Leave the KERNCONF out to build GENERIC. See http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html for more details. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel compile problems
The process for building a kernel has changed since the days of 4.x. Now you should just use: make buildkernel KERNCONF=configfile Leave the KERNCONF out to build GENERIC. See http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html for more details. -- if userland and kernel are in sync old method is OK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: kernel compile problems
Wojciech Puchar wrote: # make depend make clean depend --? make shows : make : don't know how to make ../../../dev/agp/agp.c. Stop anyone know anything? Thanks! that you miss some files - this file do exist. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org boozer [105] [9:56am] [/sys/i386/conf]# cp GENERIC sample boozer [106] [9:56am] [/sys/i386/conf]# config sample Kernel build directory is ../compile/sample Don't forget to do ``make cleandepend make depend''--! Might that be it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Kernel compile problems
Hi Ryan, I presume you do something like : make -jX KERNCONF=newkernel kernel where X is a number larger than 2 ?? Run it without the j flag and then other errors will show up. These errors are caused by a misconfigured kernel and reading your kernel conf I found at least 2: I suggest that you either enable device scbus and device da or disable device umass and the next : if you disable device wlan you need to disable device ural too ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compile problems
On Fri, 14 Dec 2007 16:23:41 -0500 (EST) O-ren-ishi-i [EMAIL PROTECTED] wrote: Hi all, I use this kernel config file (follows below): syntactical the configuration appears ok.I get no errors here. When compiling the kernel I get errors as soon as the modules are being build. I then tried /etc/make.conf (adding this line as zlib.ko is the first module that makes problems) WITHOUT_MODULES = zlib I don't find the error. Thanks in advance Ryan I am running FreeBSD 6.2-Release i386 SMP ( on Athlon 64 X2 4600+ Hi Ryan You have a line in your kernel config: device umass # Disks/Mass storage - Requires scbus and da But scbus and da are commented out. I'm not sure it will entirely cure the problem. Also it's advisable to call a modified kernel something other than GENERIC and change the ident line accordingly. Follow up with the errors you get if it still won't build. -- Thanks, John. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]