From: jeffery <bucove@telus.net>
To: perbj@stanford.edu, netdev@vger.kernel.org,
acx100-devel@lists.sourceforge.net,
acx100-users@lists.sourceforge.net
Subject: acx-20060215 for etch
Date: Fri, 15 Dec 2006 11:32:08 -0800 [thread overview]
Message-ID: <4582F838.9050308@telus.net> (raw)
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
next reply other threads:[~2006-12-16 7:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-15 19:32 jeffery [this message]
2006-12-16 11:43 ` acx-20060215 for etch Carlos Martín Nieto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4582F838.9050308@telus.net \
--to=bucove@telus.net \
--cc=acx100-devel@lists.sourceforge.net \
--cc=acx100-users@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
--cc=perbj@stanford.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.