* acx-20060215 for etch
@ 2006-12-15 19:32 jeffery
2006-12-16 11:43 ` Carlos Martín Nieto
0 siblings, 1 reply; 2+ messages in thread
From: jeffery @ 2006-12-15 19:32 UTC (permalink / raw)
To: perbj, netdev, acx100-devel, acx100-users
pci.c needed a fix for etch..
I added the includes for utsrelease.h as they were needed for the
declaration of UTS_RELEASE in debian etch...
as the acx tarball downloaded into debian etch:
~~~~~~~~~~~~~
debian:/usr/src/acx-20060215# make -C /lib/modules/`uname -r`/build M=`pwd`
make: Entering directory `/usr/src/linux-headers-2.6.18-3-686'
CC [M] /usr/src/acx-20060215/pci.o
In file included from /usr/src/acx-20060215/acx.h:2,
from /usr/src/acx-20060215/pci.c:55:
/usr/src/acx-20060215/wlan_compat.h:246: warning: ‘packed’ attribute
ignored for field of type ‘u8[6]’
/usr/src/acx-20060215/wlan_compat.h:247: warning: ‘packed’ attribute
ignored for field of type ‘u8[6]’
/usr/src/acx-20060215/wlan_compat.h:253: warning: ‘packed’ attribute
ignored for field of type ‘u8’
<snip>
/usr/src/acx-20060215/pci.c: In function ‘acxpci_e_probe’:
/usr/src/acx-20060215/pci.c:1653: error: ‘UTS_RELEASE’ undeclared (first
use in this function)
/usr/src/acx-20060215/pci.c:1653: error: (Each undeclared identifier is
reported only once
/usr/src/acx-20060215/pci.c:1653: error: for each function it appears in.)
make[1]: *** [/usr/src/acx-20060215/pci.o] Error 1
make: *** [_module_/usr/src/acx-20060215] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.18-3-686'
debian:/usr/src/acx-20060215#
~~~~~~~~~~~
after researching and discovering these declarations had been put into
separate includes.h for etch,
I entered pci.c and in the includes header added the line
#include <linux/utsrelease.h>
and it compiled beautifully.
I haven't touched source code for over 12 years.
Totally made my day.
...jeffery
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: acx-20060215 for etch
2006-12-15 19:32 acx-20060215 for etch jeffery
@ 2006-12-16 11:43 ` Carlos Martín Nieto
0 siblings, 0 replies; 2+ messages in thread
From: Carlos Martín Nieto @ 2006-12-16 11:43 UTC (permalink / raw)
To: jeffery; +Cc: perbj, netdev, acx100-devel, acx100-users
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
On vie, 2006-12-15 at 11:32 -0800, jeffery wrote:
> pci.c needed a fix for etch..
>
> I added the includes for utsrelease.h as they were needed for the
> declaration of UTS_RELEASE in debian etch...
>
> as the acx tarball downloaded into debian etch:
This is an old tarball. Current in etch is acx-20060521-3. If you do
want to fix it up for Debian, you want to talk to the Debian maintainer
for it. (you can get info about the package at
http://packages.qa.debian.org/a/acx100.html)
cmn
--
Carlos Martín Nieto | http://www.cmartin.tk
Hobbyist programmer |
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-16 12:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-15 19:32 acx-20060215 for etch jeffery
2006-12-16 11:43 ` Carlos Martín Nieto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).