cant make dsplink for beagleboard

Hi
I am trying to build dsplink but getting this error for kernel by make -s debug in $DSPLINK/gpp/src

Building kernel side code using kbuild

ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.

WARNING: Symbol version dump /home/parimal/Downloads/android/mydroid/kernel/omap/Module.symvers
is missing; modules will have no dependencies and modversions.

/home/parimal/Downloads/android/mydroid/kernel/omap/scripts/Makefile.modpost:42: include/config/auto.conf: No such file or directory
make[2]: *** No rule to make target `include/config/auto.conf’. Stop.
make[1]: *** [modules] Error 2
make: *** [debug] Error 2

parimal wrote:

Hi
I am trying to build dsplink but getting this error for kernel by make -s debug in $DSPLINK/gpp/src

Building kernel side code using kbuild

ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

WARNING: Symbol version dump /home/parimal/Downloads/android/mydroid/kernel/omap/Module.symvers
is missing; modules will have no dependencies and modversions.

/home/parimal/Downloads/android/mydroid/kernel/omap/scripts/Makefile.modpost:42: include/config/auto.conf: No such file
or directory
make[2]: *** No rule to make target `include/config/auto.conf'. Stop.
make[1]: *** [modules] Error 2
make: *** [debug] Error 2

you need to build dsplink against a *configured* kernel, just using the
kernel sources is not enough, it says so in the error message:

I have a .config file in the folder

parimal naigaonkar wrote:

I have a .config file in the folder

did you read the error message:

hmmmmm ... is "make prepare" sufficient above, or should you run
"make modules_prepare" instead? i've always used the latter. here's
the Makefile dependency:

PHONY += modules_prepare
modules_prepare: prepare scripts

so is there anything in the "scripts" target that's required here?
again, i've just always used "make modules_prepare".

rday

Robert P. J. Day wrote:

Go to your kernel source directory.
you have to make it as well using some options.

I just did this. But i forgot the exact syntax. I used the psp from TI
for the OMAP evm

make CROSS_COMPILE=arm-angstrom-gnueabi- modules

something like this

I used these references

http://pixhawk.ethz.ch/wiki/tutorials/omap/dsp_toolchain
http://ossie.wireless.vt.edu/trac/wiki/BeagleBoard_DSPLink