print STDERR "Destination module directory: $moduledir\n" if !$quiet;
my @kernel_paths=(
- "/lib/modules/$uname_r/build",
+ "/lib/modules/$uname_r$uname_smp/build",
"/usr/src/kernel-headers-$uname_r",
"/usr/src/linux-$uname_r",
"/usr/src/linux-$uname_r_base",
.($kernel ? "Detected Linux kernel sources \"$kernel\" do not appear to be valid.\n"
: "No Linux kernel sources for your running kernel were found.\n")
."Please install kernel-source-x.y.z.i386.rpm or kernel-headers_x.y.z_i386.deb.\n"
- ."The following directory paths were search (first existing directory used):\n"
+ ."The following directory paths were searched (first existing directory used):\n"
.join("",map("\t\t$_\n",@kernel_paths));