Quote:
Originally Posted by dracae
apt-get install pwc-source module-assistant fakeroot build-essential
cd /usr/src
m-a a-i pwc
|
ok, here's the output for that......
-------------------------------------------------------------------------
dh_testdir
rm -f build-arch-stamp build-indep-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory -/usr/src/modules/pwc'
rm -f *_[oas] .*.flags *.ko .*.cmd .*.d .*.tmp *.mod.c
rm -rf .tmp_versions
make[1]: Leaving directory -/usr/src/modules/pwc'
dh_clean
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory -/usr/src/modules/pwc'
dh_testdir
rm -f build-arch-stamp build-indep-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[2]: Entering directory -/usr/src/modules/pwc'
rm -f *_[oas] .*.flags *.ko .*.cmd .*.d .*.tmp *.mod.c
rm -rf .tmp_versions
make[2]: Leaving directory -/usr/src/modules/pwc'
dh_clean
/usr/bin/gcc-3.3
for templ in ; do \
cp $templ -echo $templ | sed -e 's/_KVERS_/2.6.11/g'- ; \
done
for templ in -ls debian/*-modules. in- ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ
sed -e 's/##KVERS##/2.6.11/g ;s/#KVERS#/2.6.11/g ; s/_KVERS_/2.6.11/g
done
export DH_OPTIONS='-ppwc-modules-2.6.11'
# Is this needed for setting up a Depends?
echo "kpkg:Kernel-Version=2.6.11" > \
debian/pwc-modules-2.6.11.substvars
dh_testdir
dh_test_root
dh_clean -k
# Build the module
CC=gcc-3.3 /usr/bin/make KSRC=/usr/src/linux KVER=2.6.11
make[2]: Entering directory -/usr/src/modules/pwc'
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/pwc modules
/bin/sh: /usr/src/linux-2.6.11/scripts/gcc-version.sh No such file or dir
make[3]: Entering directory -/usr/src/linux-2.6.11'
make[4]: scripts/Makefile.build: No such file or directory
make[4]: *** No rule to make target -scripts/Makefile.build'. Stop.
make[3]: *** [_module_/usr/src/modules/pwc] Error 2
make[3]: Leaving directory -/usr/src/linux-2.6.11'
make[2]: ***[all] Error 2
make[2]: Leaving directory -/usr/src/modules/pwc'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory -/usr/src/modules/pwc'
make: *** [kdist_build] Error 2
-------------------------------------------------------------------------
There's what i get when i did it your way dracae, i hope this helps some