/usr/src/modules
I made a mistake.
I deleted /usr/src/modules
Now it seems that I can't do anything to recreate the file necessary to
be able to compile the pcmcia-source.
I'm trying to compile the pcmcia-cs-3.1.29 source with the 2.4.9 kernel.
What I'm running into right now when I run 'make-kpkg modules' is
/usr/src/modules - file not found
So I made a directory /usr/src/modules.
I also have /usr/src/pcmcia-cs-3.1.29 as a directory
When I run 'make-kpkg modules'
I get:
> for module in ; do \ if test -d $module;
> then \ (cd $module;
> \ if ./debian/rules KVERS="2.4.9"
> KSRC="/usr/src/linux" \ KMAINT="Tom Allison"
> KEMAIL="tallison@thorin.tacocat.net" \ KDREV="Custom.1.00"
> kdist; then \ echo "Module $module processed fine";
> \ else \ echo
> "Module $module failed."; \ echo "Hit return to
> Continue?"; \ read ans;
> \ fi;
> \ ); \ fi;
> \ done
>
FOLLOWED BY
> /bin/sh: -c: line 1: syntax error near unexpected token ';' /bin/sh:
> -c: line 1: `for modules in ; do if
test -d $modules; then
(cd $module;
if ./debian/rules KVERS="2.4.9" KSRC="/usr/src/linux" KMAIN="Tom Allison"
KEMAIL="tallison@thorin.tacocat.net" KDREV="Custom.1.00" kdist; then;
echo "Module $module processed file";
else
echo "Module $module failed."
echo "Hist return to Continue?";
read ans;
fi;
);
done
make: [modules] Error 2 (ignored)
------------------
and that's it.
Now, in case I was missing something "debian-ish" i installed the
pcmcia-source-3.1.22 hoping that this would give me something more in
this /usr/src tree.
No dice. It's still very broken.
Suggestions?
Reply to: