gmoreno
September 18th, 2007, 06:11
Guys,

I can't figure out how to compile my kernel. I'm following the guide - http://www.netbsd.org/docs/guide/en/chap-kernel.html

Neither: "config MYKERNEL"

../../../../conf/files:5: syntax error
../../../../net/files.pf:18: syntax error
../../../../net/files.pf:19: syntax error
../../../../net/files.pf:20: syntax error
../../../../conf/files:171: syntax error
../../../../conf/files:236: syntax error
../../../../ipkdb/files.ipkdb:5: syntax error
../../../../miscfs/procfs/files.procfs:3: syntax error
*** Stop.





Nor:
"$ cd /usr/src
$ ./build.sh kernel=MYKERNEL"

ERROR: build.sh must be run from the top source level
*** BUILD ABORTED ***



I'd appreciate any help. THanks

Kernel_Killer
September 18th, 2007, 07:22
Something in your config seems to be your issue. If you can't run 'config YOURKERNELNAME' without an error, you need to double check to make sure there isn't something mis-spelled, or is a non-existant module. What did you add to the GENERIC kernel?

Hopefully Strog will chime in on this one since he's more familiar with NetBSD kernels, but it could very well be your sources as well. Please do let us know what you did add to what is now MYKERNEL.

gmoreno
September 18th, 2007, 11:48
I get the same error when running config through un modified GENERIC.

I wonder if /usr/sbin/config is the right program? Config wont run unless I include it's path.