problem compiling for 2.6.16 kernel

"Lee Dobrowolski" <[email protected]> Wed, 22 Mar 2006 01:41:00 +0000
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
------=_Part_15771_20268369.1142991660873
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Does anyone post here any more? Anyhow I am having horrible problems
compiling the driver under the 2.6.16 kernel. I have applied all the patche=
s
that I have seen posted on the mailing list however (inclding the one dated
march 2006). It appears that the driver now does compile, however I am
getting all sorts of warnings as you can see below:

[root@server at76c503a]# make
mkdir -p .tmp_versions
cp /lib/modules/2.6.16-1.2064_FC5/build/.tmp_versions/*.mod/root/Drivers/at=
76c503a/.tmp_versions
cp: cannot stat `/lib/modules/2.6.16-1.2064_FC5/build/.tmp_versions/*.mod':
No such file or directory
make: [modules] Error 1 (ignored)
make -C /lib/modules/2.6.16-1.2064_FC5/build SUBDIRS=3D/root/Drivers/at76c5=
03a
MODVERDIR=3D/root/Drivers/at76c503a/.tmp_versions \
EXTRA_CFLAGS=3D" -DCOMPILE_FIRMWARE_INTO_DRIVER" modules
make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2064_FC5-i686'
  CC [M]  /root/Drivers/at76c503a/at76c503-i3861.o
In file included from /root/Drivers/at76c503a/at76c503-i3861.c:49:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76c503-rfmd.o
In file included from /root/Drivers/at76c503a/at76c503-rfmd.c:57:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76c503-rfmd-acc.o
In file included from /root/Drivers/at76c503a/at76c503-rfmd-acc.c:48:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76c505-rfmd.o
In file included from /root/Drivers/at76c503a/at76c505-rfmd.c:47:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76c503-i3863.o
In file included from /root/Drivers/at76c503a/at76c503-i3863.c:48:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76c505-rfmd2958.o
In file included from /root/Drivers/at76c503a/at76c505-rfmd2958.c:49:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76c505a-rfmd2958.o
In file included from /root/Drivers/at76c503a/at76c505a-rfmd2958.c:47:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76c503.o
In file included from /root/Drivers/at76c503a/at76c503.c:131:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'
  CC [M]  /root/Drivers/at76c503a/at76_usbdfu.o
In file included from /root/Drivers/at76c503a/at76_usbdfu.c:34:
/root/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored
for field of type 'uint8_t[15u]'

Then after I do a make install and plug in my usb device I only see the
following in the logs:

usb 1-2: new full speed USB device using uhci_hcd and address 8
usb 1-2: configuration #1 chosen from 1 choice
at76_usbdfu: falsely claims to have parameter debug
at76c503: Unknown symbol usbdfu_download
at76c503_rfmd: Unknown symbol at76c503_delete_device
at76c503_rfmd: Unknown symbol at76c503_do_probe

Does anyone have any suggestions as to what the problem is or what I can do
to resolve it?

Many thanks

------=_Part_15771_20268369.1142991660873
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Does anyone post here any more? Anyhow I am having horrible problems compil=
ing the driver under the 2.6.16 kernel. I have applied all the patches that=
 I have seen posted on the mailing list however (inclding the one dated mar=
ch 2006). It appears that the driver now does compile, however I am getting=
 all sorts of warnings as you can see below:
<br><br>[root@server at76c503a]# make<br>mkdir -p .tmp_versions<br>cp /lib/=
modules/2.6.16-1.2064_FC5/build/.tmp_versions/*.mod /root/Drivers/at76c503a=
/.tmp_versions<br>cp: cannot stat `/lib/modules/2.6.16-1.2064_FC5/build/.tm=
p_versions/*.mod
': No such file or directory<br>make: [modules] Error 1 (ignored)<br>make -=
C /lib/modules/2.6.16-1.2064_FC5/build SUBDIRS=3D/root/Drivers/at76c503a MO=
DVERDIR=3D/root/Drivers/at76c503a/.tmp_versions \<br>EXTRA_CFLAGS=3D&quot; =
-DCOMPILE_FIRMWARE_INTO_DRIVER&quot; modules
<br>make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2064_FC5-i686'<b=
r>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c503-i3861.o<br>In file i=
ncluded from /root/Drivers/at76c503a/at76c503-i3861.c:49:<br>/root/Drivers/=
at76c503a/at76c503.h:710: warning: 'packed' attribute ignored for field of =
type 'uint8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c503-rfmd.o<br>In file =
included from /root/Drivers/at76c503a/at76c503-rfmd.c:57:<br>/root/Drivers/=
at76c503a/at76c503.h:710: warning: 'packed' attribute ignored for field of =
type 'uint8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c503-rfmd-acc.o<br>In f=
ile included from /root/Drivers/at76c503a/at76c503-rfmd-acc.c:48:<br>/root/=
Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored for f=
ield of type 'uint8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c505-rfmd.o<br>In file =
included from /root/Drivers/at76c503a/at76c505-rfmd.c:47:<br>/root/Drivers/=
at76c503a/at76c503.h:710: warning: 'packed' attribute ignored for field of =
type 'uint8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c503-i3863.o<br>In file=
 included from /root/Drivers/at76c503a/at76c503-i3863.c:48:<br>/root/Driver=
s/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored for field o=
f type 'uint8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c505-rfmd2958.o<br>In f=
ile included from /root/Drivers/at76c503a/at76c505-rfmd2958.c:49:<br>/root/=
Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored for f=
ield of type 'uint8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c505a-rfmd2958.o<br>In =
file included from /root/Drivers/at76c503a/at76c505a-rfmd2958.c:47:<br>/roo=
t/Drivers/at76c503a/at76c503.h:710: warning: 'packed' attribute ignored for=
 field of type 'uint8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76c503.o<br>In file inclu=
ded from /root/Drivers/at76c503a/at76c503.c:131:<br>/root/Drivers/at76c503a=
/at76c503.h:710: warning: 'packed' attribute ignored for field of type 'uin=
t8_t[15u]'
<br>&nbsp; CC [M]&nbsp; /root/Drivers/at76c503a/at76_usbdfu.o<br>In file in=
cluded from /root/Drivers/at76c503a/at76_usbdfu.c:34:<br>/root/Drivers/at76=
c503a/at76c503.h:710: warning: 'packed' attribute ignored for field of type=
 'uint8_t[15u]'
<br><br>Then after I do a make install and plug in my usb device I only see=
 the following in the logs:<br>&nbsp;<br>usb 1-2: new full speed USB device=
 using uhci_hcd and address 8<br>usb 1-2: configuration #1 chosen from 1 ch=
oice
<br>at76_usbdfu: falsely claims to have parameter debug<br>at76c503: Unknow=
n symbol usbdfu_download<br>at76c503_rfmd: Unknown symbol at76c503_delete_d=
evice<br>at76c503_rfmd: Unknown symbol at76c503_do_probe<br><br>Does anyone=
 have any suggestions as to what the problem is or what I can do to resolve=
 it?
<br><br>Many thanks<br>

------=_Part_15771_20268369.1142991660873--