I 'm trying to cross compile alsa-driver-1.0.22 against arm linux(kernel 2.6.19.2). After the build process finishes, the object files in "modules" directory are all *.o files, not the desired *.ko files.
My configure options are:
./configure --with-cross=arm-linux- --with-kernel=/work/Kernel/linux-2.6.19.2 --with-build=/work/Kernel/linux-2.6.19.2 --with-moddir=/work/tmp --with-debug=full --enable-dynamic-minors --host=arm-linux --build=i386-linux --with-redhat=no --with-suse=no
The *.o files can't be inserted into kernel using insmod or modprobe command, which returns -1 and outputs "invalid module format".
How can I get the desired *.ko kernel modules?
Any idea?
By the way, the kernel source has been fully configured and built.
And the cross-compile toolchain works well.
Regards,
Jie
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user