[EMAIL PROTECTED] wrote:
> [Jason Corekin wrote ... ]
> > Instead I am getting the error unresolved symbol schedule_work.
> please, check the kernel includes.
> /usr/include/linux MUST be the link to the include directory of the
> kernel. it was in the process of migration from 2.4.<20 to 2.4.>20.
> some distributions have /usr/include/linux as a directory. and, when
> compiling the fresh kernel, one can get strange things with unresolved
> symbols etc (old headers + new kernel).
>
> so,
> /usr/include/linux must be the link to /usr/src/linux/include/linux,
> if kernel sources were unpacked to the /usr/src/linux.

The kernel README file has a section "INSTALLING the kernel:"

  "- If you install the full sources, put the kernel tarball in a
     directory where you have permissions (eg. your home directory) and
     unpack it:

                gzip -cd linux-2.4.XX.tar.gz | tar xvf -

     Replace "XX" with the version number of the latest kernel.

     Do NOT use the /usr/src/linux area! This area has a (usually
     incomplete) set of kernel headers that are used by the library header
     files.  They should match the library, and not get messed up by
     whatever the kernel-du-jour happens to be."

Doesn't this mean the kernel header files in /usr/src/linux/include/linux
should be the same header files which were used to build your C library,
i.e. you shouldn't change or unpack new kernels into /usr/src/linux ? 

Have you tried "make clean; rm config.cache;
./configure --with-kernel=/my_kernel", where /my_kernel is the
top-level directory of the kernel source code
which should match the version of your current running kernel ("uname -a")?

William


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to