[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alternative airport extreme card



On Thu, 2004-08-26 at 22:52, Sven Luther wrote on the whole issue of
broken config scripts :

> Bah, another broken driver who doesn't know how to build when sources are not
> in /usr/src/linux. either you fix it by grepping in the makefile to see what
> shows /usr/src/linux and replace it with the stuff from kernel-build, or you
> put a symlink from /usr/src/linux to the place that holds your kernl-build
> stuff. If you use 2.6.8 debian packages, and this doesn't work for you, please
> fill a bug report.
> 
> Friendly,
> 
> Sven Luther

Thanks for the pointers. I knew I just needed some outside direction and
something to try.

By copying the kernel-source-2.6.8 directory to /usr/src/linux and then
copying the files in kernel-headers-2.6.8 to /usr/src/linux gave me a
successful configure (see below). However I still have problems when I
try and do a make all.

huntm@tabernacle:~/linux-wlan-ng-0.2.1pre21$ make config

-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [n]: y

Linux source directory [/usr/src/linux]: {I accepted this}

The kernel source tree is version 2.6.8.
Kernel 2.5/2.6 support is highly experimental.
WARNING: the current running kernel is actually version 2.6.8-powerpc.
The current kernel build date is Wed Aug 18 16:56:08 2004.

Alternate target install root directory on host []:
  Module install directory [/lib/modules/2.6.8]: {see below}

			{I changed this to - /lib/modules/2.6.8-powerpc}

It looks like you have a System V init file setup.


Prefix for build host compiler? (rarely needed) []:

Build for debugging (see doc/config.debug) (y/n) [n]:


Configuration successful.

------------------------------

Now when I try and do a make all it complains about the following
directory :-

.......
make[2]: Entering directory
`/home/huntm/linux-wlan-ng-0.2.1pre21/src/p80211'
if test ! -d
/home/huntm/linux-wlan-ng-0.2.1pre21/src/p80211/../.tmp_versions; then \
        cp -rf /usr/src/linux/.tmp_versions
/home/huntm/linux-wlan-ng-0.2.1pre21/src/p80211/../ ; \
fi
cp: cannot stat `/usr/src/linux/.tmp_versions': No such file or
directory			^^^^^^^^^^^^^^
make[2]: *** [default] Error 1
make[2]: Leaving directory
`/home/huntm/linux-wlan-ng-0.2.1pre21/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/huntm/linux-wlan-ng-0.2.1pre21/src'
make: *** [all] Error 2

I'm not sure what the .tmp_versions is supposed to be, but I tried
creating a blank file with that name and the script baulked saying it
wasn't a directory like it expected. Any further ideas ???

Friendly Aussie, :-)

Michael Hunt



Reply to: