From: Denis Vlasenko <vda@ilport.com.ua>
To: "Gabriel C." <crazy@pimpmylinux.org>
Cc: da.crew@gmx.net, linux-kernel@vger.kernel.org,
Adrian Bunk <bunk@stusta.de>,
linville@tuxdriver.com, netdev@vger.kernel.org
Subject: Re: 2.6.16-rc1-mm4: ACX=y, ACX_USB=n compile error
Date: Tue, 31 Jan 2006 14:16:05 +0200 [thread overview]
Message-ID: <200601311416.05397.vda@ilport.com.ua> (raw)
In-Reply-To: <20060131100330.2931cbe9@zwerg>
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
On Tuesday 31 January 2006 11:03, Gabriel C. wrote:
> > > > I got this compile error with 2.6.16-rc1-mm4 , config attached.
> > > >
> > > >
> > > > LD .tmp_vmlinux1
> > > > drivers/built-in.o: In function
> > > > `acx_l_transmit_authen1':common.c:(.text+0x6cd62): undefined
> > > > reference to `acxusb_l_alloc_tx' :common.c:(.text+0x6cd74):
> > > > undefined reference to
> > > > `acxusb_l_get_txbuf' :common.c:(.text+0x6cdeb): undefined
> > > > reference to `acxusb_l_tx_data' drivers/built-in.o: In function
> > > > `acx_s_configure_debug': undefined reference to
> > > > `acxusb_s_issue_cmd_timeo_debug' drivers/built-in.o: In function
> > > > [many more]
> > > >...
> > >
> > > Thanks for your report.
> > >
> > > @Denis:
> > > The problem seems to be CONFIG_ACX=y, CONFIG_ACX_USB=n.
> >
> > Thanks, will test/fix ASAP.
CONFIG_ACX=y
# CONFIG_ACX_PCI is not set
# CONFIG_ACX_USB is not set
This won't fly. You must select at least one.
Attached patch will check for this and #error out.
Andrew, do not apply to -mm, I'll send you bigger update today.
--
vda
[-- Attachment #2: acx.patch --]
[-- Type: text/x-diff, Size: 660 bytes --]
diff -urpN linux-2.6.16-rc1-mm4.org/drivers/net/wireless/tiacx.org/acx_struct.h linux-2.6.16-rc1-mm4.org/drivers/net/wireless/tiacx/acx_struct.h
--- linux-2.6.16-rc1-mm4.org/drivers/net/wireless/tiacx.org/acx_struct.h Tue Jan 31 12:13:53 2006
+++ linux-2.6.16-rc1-mm4.org/drivers/net/wireless/tiacx/acx_struct.h Tue Jan 31 13:51:18 2006
@@ -121,6 +121,10 @@ enum { acx_debug = 0 };
#define DEVTYPE_PCI 0
#define DEVTYPE_USB 1
+#if !defined(CONFIG_ACX_PCI) && !defined(CONFIG_ACX_USB)
+#error Driver must include PCI and/or USB support. You selected neither.
+#endif
+
#if defined(CONFIG_ACX_PCI)
#if !defined(CONFIG_ACX_USB)
#define IS_PCI(priv) 1
next prev parent reply other threads:[~2006-01-31 12:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060130133833.7b7a3f8e@zwerg>
2006-01-30 18:10 ` 2.6.16-rc1-mm4: ACX=y, ACX_USB=n compile error Adrian Bunk
2006-01-31 6:10 ` Denis Vlasenko
2006-01-31 9:03 ` Gabriel C.
2006-01-31 12:16 ` Denis Vlasenko [this message]
2006-01-31 14:54 ` John W. Linville
2006-01-31 14:58 ` Denis Vlasenko
2006-01-31 18:34 ` Gabriel C.
2006-01-31 18:59 ` Carlos Martín
2006-01-31 22:16 ` Adrian Bunk
2006-02-01 6:57 ` Denis Vlasenko
2006-02-05 5:02 ` [-mm patch] let only ACX_PCI/ACX_USB be user-visible and select ACX accordingly Adrian Bunk
2006-01-30 18:23 ` [2.6 patch] PCMCIA=m, HOSTAP_CS=y is not a legal configuration Adrian Bunk
2006-01-30 20:30 ` Gabriel C.
2006-01-31 16:19 ` John W. Linville
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=200601311416.05397.vda@ilport.com.ua \
--to=vda@ilport.com.ua \
--cc=bunk@stusta.de \
--cc=crazy@pimpmylinux.org \
--cc=da.crew@gmx.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.org \
/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 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).