Re: Newbie can't get the driver to work.

Joerg Albert <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hi,

On Fri, 2 Jan 2004, Dan Eskildsen wrote:

> Hi all.
>
> I am a real newbie on linux - hope that you don't mind helping me.
>
> Here is the setup:
>
> I have a computer with win2k installed.  I connect to the net using a
> usb wireless lan adapter called Topcom Skr@cer 3511.  I have downloaded
> SUSE and now installed Suse 9.0 but I can't get the adapter to work in SuSE.
>
> I found my adapter listed on the page
> http://at76c503a.berlios.de/devices.html
> So I downloaded: at76c503a driver, unpacked it and then did a make
> command but the result was a heap of errors (see below).
>
> When I connect my usb-wlan device the following lines appear in my
> var/log/messages (syslog).
>
> I don't know what kernel I have or how to find that out.  I have Suse 9.0
> Can anyone help me understand these error messages and what i need to do?

> gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing
> -fno-common -Wno-sign-compare -Wno-unused
> -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\"
> -I/lib/modules/2.4.21-144-athlon/build/include  -c at76c503.c
>
> In file included from /usr/include/linux/mm.h:205,
>                  from /usr/include/linux/poll.h:10,
>                  from at76c503.c:82:
>
> /usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT'
> undeclared here (not in a function

You need to install the kernel sources or at least the kernel headers (no
idea if SuSE supplies them) for your running kernel version
(2.4.21-144-athlon I guess). Try to use yast to find this package.

The above error is IMHO caused by the
symbolic link /lib/modules/2.4.21-144-athlon/build
not pointing to the root dir of the kernel sources.
gcc tries to include user space includes and fails.

Sorry, I'm not using SuSE - anyone else able to help?

/Jörg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.