Maarten,
Yes. You're right. The two files are generated by running configure script from 
templates which you mentioned. 

This week I review the patch and find the bug. It's in
distinguish_kernel_makefile_and_source_dirs.patch in line 45 to 55.

+echo "\$(warning KBUILD_SRC=\$(KBUILD_SRC))" > "$dir"/Makefile
+kernelsrc=$(make -C "$CONFIG_SND_KERNELDIR" M="$dir" 2>&1 >/dev/null | \
+           sed -n "s#^$dir/Makefile:.*: KBUILD_SRC=\(.*\)\$#\1#; T; p; q")
+rm -rf "$dir"
+if test -z "$kernelsrc"; then
+  AC_MSG_RESULT(failed)
+  exit 1
+else
+  CONFIG_SND_KERNELSRC="$kernelsrc"
+  AC_MSG_RESULT($kernelsrc)
+fi

With configure script generated by autoconf, we fail to set 
$CONFIG_SND_KERNELSRC into $kernelsrc in Ubuntu environment.
I cannot generate fix patch with my poor skills... I hope this may help you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832137

Title:
  Need to fix bugs causes compiling error. One is related to Open Sound
  System Emuration. The other is caused by patches.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/832137/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to