PDA

View Full Version : Ndiskwrapper on the Compaq R4000 problems


uvicbigcanuck
2006-03-27, 03:42 PM CST
Hi. So I tried install ndiswrapper on my machine,
Compaq R4000
AMD 64 3200
Broadcom wireless card
and it wouldn't go past the make command. Any Ideas? heres what I did

[root@dh165234 kyle]# tar zxvf ndiswrapper-1.11.tar.gz
ndiswrapper-1.11/
ndiswrapper-1.11/AUTHORS
ndiswrapper-1.11/ChangeLog
ndiswrapper-1.11/INSTALL
ndiswrapper-1.11/Makefile
ndiswrapper-1.11/README
ndiswrapper-1.11/ndiswrapper.spec
ndiswrapper-1.11/version
ndiswrapper-1.11/ndiswrapper.8
ndiswrapper-1.11/utils/
ndiswrapper-1.11/utils/Makefile
ndiswrapper-1.11/utils/ndiswrapper
ndiswrapper-1.11/utils/loadndisdriver.c
ndiswrapper-1.11/utils/ndiswrapper-buginfo
ndiswrapper-1.11/driver/
ndiswrapper-1.11/driver/divdi3.c
ndiswrapper-1.11/driver/hal.c
ndiswrapper-1.11/driver/iw_ndis.c
ndiswrapper-1.11/driver/iw_ndis.h
ndiswrapper-1.11/driver/loader.c
ndiswrapper-1.11/driver/loader.h
ndiswrapper-1.11/driver/longlong.h
ndiswrapper-1.11/driver/Makefile
ndiswrapper-1.11/driver/misc_funcs.c
ndiswrapper-1.11/driver/ndis.c
ndiswrapper-1.11/driver/ndis.h
ndiswrapper-1.11/driver/ndiswrapper.h
ndiswrapper-1.11/driver/ntoskernel.c
ndiswrapper-1.11/driver/ntoskernel.h
ndiswrapper-1.11/driver/ntoskernel_io.c
ndiswrapper-1.11/driver/pe_linker.c
ndiswrapper-1.11/driver/pe_linker.h
ndiswrapper-1.11/driver/pnp.c
ndiswrapper-1.11/driver/pnp.h
ndiswrapper-1.11/driver/proc.c
ndiswrapper-1.11/driver/usb.c
ndiswrapper-1.11/driver/usb.h
ndiswrapper-1.11/driver/winnt_types.h
ndiswrapper-1.11/driver/wrapper.c
ndiswrapper-1.11/driver/wrapndis.h
ndiswrapper-1.11/driver/wrapndis.c
ndiswrapper-1.11/driver/x86_64_stubs.S
ndiswrapper-1.11/debian/
ndiswrapper-1.11/debian/Makefile
ndiswrapper-1.11/debian/changelog.modules
ndiswrapper-1.11/debian/changelog.source
ndiswrapper-1.11/debian/changelog.utils
ndiswrapper-1.11/debian/control.modules
ndiswrapper-1.11/debian/control.source
ndiswrapper-1.11/debian/control.utils
ndiswrapper-1.11/debian/copyright
ndiswrapper-1.11/debian/dirs.utils
ndiswrapper-1.11/debian/docs
ndiswrapper-1.11/debian/postinst.modules
ndiswrapper-1.11/debian/README.Debian
ndiswrapper-1.11/debian/rules
[root@dh165234 kyle]# cd ndiswrapper-1.11
[root@dh165234 ndiswrapper-1.11]# make distclean
make -C driver clean
make[1]: Entering directory `/home/kyle/ndiswrapper-1.11/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
make[1]: Leaving directory `/home/kyle/ndiswrapper-1.11/driver'
make -C utils clean
make[1]: Entering directory `/home/kyle/ndiswrapper-1.11/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/kyle/ndiswrapper-1.11/utils'
rm -f *~
rm -fr ndiswrapper-1.11 ndiswrapper-1.11.tar.gz *.deb patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/kyle/ndiswrapper-1.11/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
rm -f *_exports.h .\#* x86_64_stubs.h
make[1]: Leaving directory `/home/kyle/ndiswrapper-1.11/driver'
make -C utils distclean
make[1]: Entering directory `/home/kyle/ndiswrapper-1.11/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/kyle/ndiswrapper-1.11/utils'
rm -f .\#*
[root@dh165234 ndiswrapper-1.11]# make install
make -C driver install
make[1]: Entering directory `/home/kyle/ndiswrapper-1.11/driver'
Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/kyle/ndiswrapper-1.11/driver'
make: *** [install] Error 2
[root@dh165234 ndiswrapper-1.11]#

Darkmage
2006-03-27, 11:26 PM CST
Another way of getting ndiswrapper instead of building it is, add Livna repository to /etc/yum.repo.d with


rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm



edit /etc/yum.repo.d/livna.repo and change enabled=1 to enabled=0
then


yum --enablerepo=livna install ndiswrapper kmod-ndiswrapper

uvicbigcanuck
2006-03-28, 05:05 PM CST
I'm pretty new to linux how do I
edit /etc/yum.repo.d/livna.repo and change enabled=1 to enabled=0 ??

uvicbigcanuck
2006-03-28, 05:07 PM CST
I can't find teh /livna.repo file