Date: Sat, 16 Aug 2008 23:08:48 +0200 From: "Attilio Rao" <attilio@freebsd.org> To: "Ryan French" <rfrench@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Building custom kernel with new files Message-ID: <3bbf2fe10808161408y337a94d0pef6e63c5901969e5@mail.gmail.com> In-Reply-To: <200808170905.22691.rfrench@freebsd.org> References: <200808162210.02467.rfrench@freebsd.org> <3bbf2fe10808160338s19d25242id2f008744ab24ede@mail.gmail.com> <200808170905.22691.rfrench@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/8/16, Ryan French <rfrench@freebsd.org>: > On Sat, 16 Aug 2008 10:38:24 pm you wrote: > > 2008/8/16, Ryan French <rfrench@freebsd.org>: > > > Hi All, > > > > > > I am currently trying to build a custom kernel for my Google Summer of > > > Code, and am running into a bit of a problem. I have all of my code > > > compiling, but when I get to the linking stage as soon as it comes to the > > > new files I have installed it says the *.o does not exist. I have added > > > the files to /conf/files, and well as added the files to /conf/options > > > and /conf/NOTES, and the option is set in my Makefile for the kernel. Is > > > there another step I need to do before I can build the kernel? > > > > Ryan, > > can you please past the error message? > > More specifically, missing .o are about your newly included files or other? > > This can happen, for example, if the consumer of a subsystem wants to > > use it and the subsystem is not compiled (the stack(9) without STACK > > option, for example). > > > > Thanks, > > Attilio > > The missing .o is about my own files that I have included in the kernel. More > specifically I have a file 'mpls.h' and as it is the first one in the > directory as soon as it gets to linking the file I get the error > > ld: mpls.o: No such file: No such file or directory > *** Error code 1 > > This occurs right after the command > > MAKE=make sh /usr/src/sys/conf/newvers.sh MPLSKERNEL > > Sorry I cant copy the whole error but I am running the development in a VM and > I cant copy and paste between the VM and my host machine. Can you please paste your diff against src/sys/conf/files* ? Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10808161408y337a94d0pef6e63c5901969e5>