On Jan 15, 2008 11:34 AM, Lars NoodC)n <[EMAIL PROTECTED]> wrote: > What is recommended for using a second machine to compile a kernel for > the soekris? > > I would like to build a streamlined kernel to run on a net4801. I'm > running into problems though. > > 'make depend' runs without error, but then 'make' comes up with many > errors like the following: > agp_ali.o(.data+0x14): undefined reference > to `agp_generic_enable' > > agp appears to be video, which should not be present in soekris (right?) > > Here are the steps I am taking: > > On Soekris net4801: > $ scp compilorama:/usr/src/sys/arch/i386/conf/GENERIC ./GENERIC > $ dmassage -s GENERIC >SMALLKERNEL > $ scp ./SMALLKERNEL compilorama:/usr/src/sys/arch/i386/conf/SMALLKERNEL > > > On larger unit with compiler, /usr/src/, etc: > # cd /usr/src/sys/arch/i386/conf > # /usr/sbin/config SMALLKERNEL > # cd /usr/src/sys/arch/i386/compile/SMALLKERNEL > # make clean > # make depend > # make > > Regards, > -Lars > > Are you compiling from i386 or amd64, or other? Is it -current, -stable or -release that you're compiling?
Personally, I just run 4.2-stable on my Soekris & Wrap boxes as well as my USB Flash devices and other things, in an MFS. Custom kernel, just to make it tighter/leaner. Unless the problem is caused by dmassage, have you tried without? compilorama, i like the name. :-)