> Hello all, > > I have forwarded a message that's about two weeks old from > the -newbies list. > As you'll see, the problem is related to kernel compilation. > > One bit of update to this old message: > > I got wise to it (slightly), and decided that despite the > fact that I didn't > have an ISA card, it might be intuitive to add the line: > > device isa > > to my kernel config file, seeing as how the file 'npx.c' is > contained in a > directory named 'isa.' Thinking I had some sort of sourcecode level > dependency solved, I proudly attempted to recompile. Fate > had other ideas, > and the compile failed again, this time before reaching > npx.c. Here's the > error: > > In file included from > /usr/target/src/sys/dev/sound/pcm/sound.h > :98, > from > /usr/target/src/sys/dev/sound/isa/sbc.c:2 > > 8: > /usr/target/src/sys/dev/sound/pcm/channel.h:69:24: > channel_if.h > : No such file or directory > mkdep: compile failed
Do you have device pcm in your kernel? I think that was the solution for me with that error > > Clearly, this smacks of problems with the isa driver. > > Again, thanks for your help. > > Kris Kerwin > > > ---------- Forwarded Message ---------- > > Subject: Newbie Right of Passage -- Kernel Compilation Problems :-) > Date: Tuesday 17 June 2003 10:56 pm > From: Kris Kerwin <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > Hello all, > > This might be more of a question for the freebsd-questions > mailing list, but, knowing my luck, I probably just made a > newbie mistake. :-) > > While compiling my kernel (using the 5.1-RELEASE source), I > ran into an error while trying to compile > /usr/src/sys/i386/isa/npx.c. I did my homework, and learned > that NPX is one of those device drivers that you really can't > live without (it takes care of Floating Point Math), so, I > can't just comment that line out of my kernel config. > > The error? I cut the output of 'make buildkernel KERNCONF=MYKERNEL': > > cc1: warnings being treated as errors > /usr/target/src/sys/i386/isa/npx.c:1075: warning: > `npx_driver' defined but not used > /usr/target/src/sys/i386/isa/npx.c:1081: warning: > `npx_devclass' defined but not used > > I resynced my source tree, and tried to recompile; no joy, > same errors. > > I tried running with the -k argument to ignore errors, and it > told me at the end of the compile that making 'all' failed. > > I tried the traditional '/usr/sbin/config' 'make depend' > 'make' 'make install', still got teh same errors. > > I tried looking at the source for npx.c itself, and couldn't > make heads or tales of it. :-) ... I'm more of an end-user > than a developer, the only tutorial I've done is 'Hello > World!' I did 'grep -n' the file and searched for those two > functions, and did find them, but wasn't sure if I should > risk commenting them out. My luck, my mistake was made long > before it got to the source code. > > As of yet, I havn't been able to find an FAQ with an answer > to this one, and no amount of googling the rest of the > internet or freebsd.org has been able to help me either. > > Any ideas? Did I just make another goof? Thanks for all of > your help. > > Kris Kerwin > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/free> bsd-newbies > To > unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > ------------------------------------------------------- > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/free> bsd-questions > > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"