I'm trying to recompile my generic sparc kernel to make use of some /dev/cua* patches that were sent to me on the list not too long ago but now I'm running into a problem with make.

When I first received the patches, things were mostly working but I was running out of memory and swap space (small machine) so a lot of the build was failing. But make did work at that time.

Now, the only thing different about the system is that I added another hard drive and mounted the entire space as swap.

The root is on disk /dev/sd1a. That drive is a bit small so there's a second drive that is holding the source code for the kernel. It is /dev/sd2a and is mounted at /disk2. I also have a symlink from /usr/src/sys pointing to /disk2/sys where the kernel source is located.

When I first tried (prior to discovering I ran out of memory and swap), I was going to /usr/src/sys/arch/sparc/compile/GENERIC (I had already run "config GENERAL") and then make clean && make depend && make. Everything seemed to work ok other than running out of memory.

Now, after the new swap drive (/dev/sd3a) was added, I get the following:

make clean works

make depend:
make: don't know how to make ../../../../arch/sparc/sparc/auxreg.c. Stop in /disk2/sys/arch/sparc/compile/GENERIC.

Suggestions?

Reply via email to