Hi,
Stop me if there's an easier way to do this! Other than using a NIC cabled to the Access Point, which is not ideal.
I'm trying to put a server into an outbuilding on its own so I've put a SMC wireless LAN PCI card (it's a PCMCIA card on an adaptor, really) into my SME Server 5.1.2 box and I've got the linux-wlan-ng-0.1.14-pre3 source from
www.linux-wlan.org. Configured the kernel and then gone to make the device driver, but ...
Does this look familiar?
make: ./Configure: Command not found
make: *** [config] Error 127
I have installed the following RPMs:
cpp-2.96-85.i386.rpm
gcc-2.96-85.i386.rpm
glibc-devel-2.2.4-24.i386.rpm
kernel-headers-2.4.9-31.i386.rpm
kernel-source-2.2.19-7.0.16.i386.rpm
make-3.79.1-5.i386.rpm
(I'm not sure if it matters that these aren't spot on to the patch levels.)
I've run 'make' and 'make dep' in /usr/src/linux-2.2.19
taking the defaults and answering 'Yes' for "Symmetric multi-processing support (CONFIG_SMP)".
This seemed to go okay.
I've not configured pcmcia sources as I'm only building prism2_plx.
When I try to run 'make config' in the linux-wlan-ng-0.1.14-pre3 directory I get:
make: ./Configure: Command not found
make: *** [config] Error 127
The e-smith server is the only Linux box I have available so I've not tried replicating this on a standard RH7.1 installation. I don't have the man pages for make on the box either.
Can you tell me how I can get the object file for my WLAN card built?
Cheers,
Richard,.
PS. I also tried 'make all' and saw this:
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory /home/e-smith/files/ibays/cottage/files/downloads/WLAN/linux-wlan-ng-0.1.14-pre3/src'
set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; done
make[2]: Entering directory /home/e-smith/files/ibays/cottage/files/downloads/WLAN/linux-wlan-ng-0.1.14-pre3/src/mkmeta'
M -I../include -I/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend
/bin/sh: M: command not found
make[2]: [.depend] Error 127 (ignored)
mkdir -p obj
c -g -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/include -D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o
make[2]: c: Command not found
make[2]: [obj/p80211types.o] Error 127 (ignored)
c -g -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o obj/p80211metamsg.o
make[2]: c: Command not found
make[2]: [obj/p80211metamsg.o] Error 127 (ignored)
c -g -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/include -D__LINUX_WLAN__ ../shared/p80211metamib.c -o obj/p80211metamib.o
make[2]: c: Command not found
make[2]: [obj/p80211metamib.o] Error 127 (ignored)
c -g -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/include -D__LINUX_WLAN__ ../shared/p80211meta.c -o obj/p80211meta.o
make[2]: c: Command not found
make[2]: [obj/p80211meta.o] Error 127 (ignored)
c -g -O2 -Wall -Wstrict-prototypes -pipe -I../include -I/include -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.o
make[2]: c: Command not found
make[2]: [obj/mkmetadef.o] Error 127 (ignored)
o mkmetadef obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o
make[2]: o: Command not found
make[2]: [mkmetadef] Error 127 (ignored)
cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >> ../include/wlan/p80211metadef.h
/bin/sh: ./mkmetadef: No such file or directory
make[2]: *** [mkmetadef] Error 127
make[2]: Leaving directory /home/e-smith/files/ibays/cottage/files/downloads/WLAN/linux-wlan-ng-0.1.14-pre3/src/mkmeta'
make[1]: *** [all] Error 2
make[1]: Leaving directory /home/e-smith/files/ibays/cottage/files/downloads/WLAN/linux-wlan-ng-0.1.14-pre3/src'
make: *** [all] Error 2