Hello list!

I am trying to get my Linksys WPC54G ver.2 PCMCIA card working on my dell inspiron 8000 laptop (from y2k!).

I posted my error here: http://www.linuxquestions.org/questions/showthread.php?postid=1797037#post1797037

But I will cross post on this list as well, as nothing cam up when I searched this list.

I am also trying to install ndiswrapper, except that I am using Fedora Core 3, the 2.6.13-rc4-RT-V0.7.52-13 kernel, and I am building from the ndiswrapper 1.2.1 tar.gz file, not the src rpm.

I try "sudo make rpm" but I get:

[wade@transport ndiswrapper-1.2]$ sudo make rpm
mkdir -p ndiswrapper-1.2
for subdir in utils driver debian; do \
if test "$subdir" = .; then :; else \
test -d ndiswrapper-1.2/$subdir \
|| mkdir ndiswrapper-1.2/$subdir \
|| exit 1; \
fi; \
done
make -C driver distdir=../ndiswrapper-1.2/driver dist
make[1]: Entering directory `/home/wade/ndiswrapper-1.2/driver'
make[1]: Leaving directory `/home/wade/ndiswrapper-1.2/driver'
make -C utils distdir=../ndiswrapper-1.2/utils dist
make[1]: Entering directory `/home/wade/ndiswrapper-1.2/utils'
make[1]: Leaving directory `/home/wade/ndiswrapper-1.2/utils'
make -C debian distdir=../ndiswrapper-1.2/debian dist
make[1]: Entering directory `/home/wade/ndiswrapper-1.2/debian'
make[1]: Leaving directory `/home/wade/ndiswrapper-1.2/debian'
# Update version in dist rpm spec file - don't crash if it fails
sed -i "s/\%define\s\+ndiswrapper_version\s\+[^\}]\+\}/%define ndiswrapper_version 1.2\}/" ndiswrapper-1.2/ndiswrapper.spec
tar cfz ndiswrapper-1.2.tar.gz ndiswrapper-1.2
rpmbuild -ta ndiswrapper-1.2.tar.gz --define="ndiswrapper_version 1.2"
error: Failed build dependencies:
/lib/modules/2.6.13-rc4-RT-V0.7.52-13/build/Makefile is needed by ndiswrapper-1.2-1.i386
make: *** [rpm] Error 1

I then try "sudo pmbuild -ta ndiswrapper-1.2.tar.gz --define="ndiswrapper_version 1.2" -vv" and get:

sudo rpmbuild -ta ndiswrapper-1.2.tar.gz --define="ndiswrapper_version 1.2" -vv
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: ========== +++ ndiswrapper-1.2-1 i386/linux 0x0
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: opening db index /var/lib/rpm/Basenames rdonly mode=0x0
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: Requires: /lib/modules/2.6.13-rc4-RT-V0.7.52-13/build/Makefile NO
D: package ndiswrapper-1.2-1.i386 has unsatisfied Requires: /lib/modules/2.6.13-rc4-RT-V0.7.52-13/build/Makefile
D: closed db index /var/lib/rpm/Depends
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Basenames
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
error: Failed build dependencies:
/lib/modules/2.6.13-rc4-RT-V0.7.52-13/build/Makefile is needed by ndiswrapper-1.2-1.i386

but clearly the Makefile is there:

-rw-r--r-- wade wade root:object_r:src_t /lib/modules/2.6.13-rc4-RT-V0.7.52-13/build/Makefile

so what is up (wo)man?

Thanks!
-thewade