Re: Building custom kernel with new files
2008/8/16, Ryan French <[EMAIL PROTECTED]>: > On Sat, 16 Aug 2008 10:38:24 pm you wrote: > > 2008/8/16, Ryan French <[EMAIL PROTECTED]>: > > > 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 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building custom kernel with new files
On Sat, 16 Aug 2008 10:38:24 pm you wrote: > 2008/8/16, Ryan French <[EMAIL PROTECTED]>: > > 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. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building custom kernel with new files
On Sat, 16 Aug 2008 10:33:09 pm you wrote: > On Sat, Aug 16, 2008 at 10:10:02PM +1200, Ryan French wrote: > > 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? > > how do you build the kernel? adding to conf/files and conf/options should > be sufficient... I build the file using make buildkernel KERNCONF=MPLSKERNEL while in the /usr/src/ directory. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building custom kernel with new files
2008/8/16, Ryan French <[EMAIL PROTECTED]>: > 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 -- Peace can only be achieved by understanding - A. Einstein ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Building custom kernel with new files
On Sat, Aug 16, 2008 at 10:10:02PM +1200, Ryan French wrote: > 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? how do you build the kernel? adding to conf/files and conf/options should be sufficient... ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Building custom kernel with new files
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? Thanks for any help. Ryan French. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"