* Re: [gentoo-user] zd1211 patch?
2007-05-08 15:56 [gentoo-user] zd1211 patch? Arnau Bria
@ 2007-05-08 15:47 ` Daniel Pielmeier
[not found] ` <200705081722.32303.alan@linuxholdings.co.za>
2007-05-09 20:24 ` [gentoo-user] " Stefan Schweizer
2 siblings, 0 replies; 13+ messages in thread
From: Daniel Pielmeier @ 2007-05-08 15:47 UTC (permalink / raw
To: gentoo-user
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8; format=flowed, Size: 769 bytes --]
> For what I understand, I must modify zd1211-83.ebuild, and rebuild the
> ebuild with:
> ebuild zd1211-83.ebuild digest (which worked fine)
>
> but, what should be the content of /tmp/net_dev.patch?¿?
> Cause I get:
>
> * Checking for suitable kernel configuration options... [ ok ]
> >>> Unpacking source...
> >>> Unpacking zd1211-driver-r83.tgz to /var/tmp/portage/net-wireless/zd1211-83/work
> * Applying net_dev.patch ...
>
> * Failed Patch: net_dev.patch !
> * ( /tmp/net_dev.patch )
You have to put the net_dev.patch into the files directory of the
zd1211-driver ebuild which is usually located at
/usr/portage/net-wireless/zd1211/files/
éí¢¬z¸\x1eÚ(¢¸&j)b b²
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] zd1211 patch?
@ 2007-05-08 15:56 Arnau Bria
2007-05-08 15:47 ` Daniel Pielmeier
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Arnau Bria @ 2007-05-08 15:56 UTC (permalink / raw
To: gentoo-user
Hi again,
I'm trying to compile zd1211 driver, and get some error. LOOKING INTO
BUGs, I found a patch (or something similar) but I don't understand
what I have to do:
Here's the bug:
https://bugs.gentoo.org/show_bug.cgi?id=159552
This is the patch:
net_dev.patch
diff -Naur /root/tmp-old/Makefile /root/tmp-new/Makefile
--- /root/tmp-old/Makefile 2007-01-28 06:41:03.000000000 +0000
+++ /root/tmp-new/Makefile 2007-01-28 06:39:54.000000000 +0000
@@ -55,7 +55,7 @@
EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe
#EXTRA_CFLAGS += -Wa,-a,-ad -g
-EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
+EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
EXTRA_CFLAGS += -DHOST_IF_USB
EXTRA_CFLAGS += -DAMAC
EXTRA_CFLAGS += -DGCCK
and here "Patch for the zd1211-83.ebuild to use net_dev.patch":
--- /usr/portage/net-wireless/zd1211/zd1211-83.ebuild 2006-09-13 16:48:48.000000000 +0000
+++ /usr/local/portage/net-wireless/zd1211/zd1211-83-r1.ebuild 2007-01-28 06:53:31.000000000 +0000
@@ -37,6 +37,8 @@
mkdir rel_a rel_b
echo -e "all:\n\tcd ..; make ZD1211REV_B=0" > rel_a/Makefile
echo -e "all:\n\tcd ..; make ZD1211REV_B=1" > rel_b/Makefile
+
+ epatch ${FILESDIR}/net_dev.patch
}
src_compile() {
For what I understand, I must modify zd1211-83.ebuild, and rebuild the
ebuild with:
ebuild zd1211-83.ebuild digest (which worked fine)
but, what should be the content of /tmp/net_dev.patch?¿?
Cause I get:
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking zd1211-driver-r83.tgz to /var/tmp/portage/net-wireless/zd1211-83/work
* Applying net_dev.patch ...
* Failed Patch: net_dev.patch !
* ( /tmp/net_dev.patch )
Thanks in advance,
Arnau
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] zd1211 patch?
2007-05-08 16:43 ` Arnau Bria
@ 2007-05-08 15:56 ` Alan McKinnon
2007-05-09 8:26 ` Arnau Bria
2007-05-08 23:05 ` Daniel Barkalow
1 sibling, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2007-05-08 15:56 UTC (permalink / raw
To: gentoo-user
On Tuesday 08 May 2007, Arnau Bria wrote:
> Ok, but, what is the content of net_dev.patch?
It's right there in your original mail:
diff -Naur /root/tmp-old/Makefile /root/tmp-new/Makefile
--- /root/tmp-old/Makefile 2007-01-28 06:41:03.000000000 +0000
+++ /root/tmp-new/Makefile 2007-01-28 06:39:54.000000000 +0000
@@ -55,7 +55,7 @@
EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe
#EXTRA_CFLAGS += -Wa,-a,-ad -g
-EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
+EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
EXTRA_CFLAGS += -DHOST_IF_USB
EXTRA_CFLAGS += -DAMAC
EXTRA_CFLAGS += -DGCCK
That IS what the patch file looks like. It will alter your Makefile, and
the epatch function in portage is smart enough to try apply the patch
to the following files in order:
/root/tmp-new/Makefile
tmp-new/Makefile
Makefile
If that doesn't work, the patch itself is faulty
for more info "man patch"
alan
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] zd1211 patch?
[not found] ` <200705081722.32303.alan@linuxholdings.co.za>
@ 2007-05-08 16:43 ` Arnau Bria
2007-05-08 15:56 ` Alan McKinnon
2007-05-08 23:05 ` Daniel Barkalow
0 siblings, 2 replies; 13+ messages in thread
From: Arnau Bria @ 2007-05-08 16:43 UTC (permalink / raw
To: gentoo-user
On Tue, 8 May 2007 17:22:32 +0200
Alan McKinnon wrote:
Hi!
> On Tuesday 08 May 2007, Arnau Bria wrote:
> > For what I understand, I must modify zd1211-83.ebuild, and rebuild
> > the ebuild with:
> > ebuild zd1211-83.ebuild digest (which worked fine)
> >
> > but, what should be the content of /tmp/net_dev.patch?¿?
>
> You list two patches.
>
> The one for the ebuild you should apply to the ebuild manually
> using 'patch', but you seem to have successfully done that already.
Yep,
> Then copy the first patch (net_dev.patch)
Ok, but, what is the content of net_dev.patch? if I put:
# cat files/net_dev.patch
EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe
#EXTRA_CFLAGS += -Wa,-a,-ad -g
-EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
+EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
EXTRA_CFLAGS += -DHOST_IF_USB
EXTRA_CFLAGS += -DAMAC
EXTRA_CFLAGS += -DGCCK
or just
-EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
+EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
I get errorrs:
* Failed Patch: net_dev.patch !
* ( /usr/portage/net-wireless/zd1211/files/net_dev.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/net-wireless/zd1211-83/temp/net_dev.patch-14253.out
# cat /var/tmp/portage/net-wireless/zd1211-83/temp/net_dev.patch-14253.out
***** net_dev.patch *****
=========================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-wireless/zd1211/files/net_dev.patch
=========================
patch: **** Only garbage was found in the patch input.
=========================
> The ebuild will apply the patch itself, because of this line in the
> new ebuild:
>
> + epatch ${FILESDIR}/net_dev.patch
>
> alan
TIA!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] zd1211 patch?
2007-05-08 16:43 ` Arnau Bria
2007-05-08 15:56 ` Alan McKinnon
@ 2007-05-08 23:05 ` Daniel Barkalow
1 sibling, 0 replies; 13+ messages in thread
From: Daniel Barkalow @ 2007-05-08 23:05 UTC (permalink / raw
To: gentoo-user
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; CHARSET=X-UNKNOWN, Size: 1856 bytes --]
On Tue, 8 May 2007, Arnau Bria wrote:
> On Tue, 8 May 2007 17:22:32 +0200
> Alan McKinnon wrote:
>
> Hi!
>
> > On Tuesday 08 May 2007, Arnau Bria wrote:
> > > For what I understand, I must modify zd1211-83.ebuild, and rebuild
> > > the ebuild with:
> > > ebuild zd1211-83.ebuild digest (which worked fine)
> > >
> > > but, what should be the content of /tmp/net_dev.patch?¿?
> >
> > You list two patches.
> >
> > The one for the ebuild you should apply to the ebuild manually
> > using 'patch', but you seem to have successfully done that already.
> Yep,
>
> > Then copy the first patch (net_dev.patch)
> Ok, but, what is the content of net_dev.patch? if I put:
> # cat files/net_dev.patch
> EXTRA_CFLAGS += -O2 -Wall -Wstrict-prototypes -pipe
> #EXTRA_CFLAGS += -Wa,-a,-ad -g
> -EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
> +EXTRA_CFLAGS += -DZDCONF_WE_STAT_SUPPORT=0
> EXTRA_CFLAGS += -DHOST_IF_USB
> EXTRA_CFLAGS += -DAMAC
> EXTRA_CFLAGS += -DGCCK
You need to copy the whole patch file exactly, including whitespace. Go to
https://bugs.gentoo.org/attachment.cgi?id=108347 and save as netdev.patch.
(This paragraph isn't critical, but if you want to understand patch/diff...)
In particular, you seem to have lost the "diff" line, the --- and +++
lines (which tell it what file to patch), the @@ ... @@ line (which tells
it where to look for the thing to change), the blank line that shouldn't
be changed, and the space characters in the first columns of the context
lines that tell it that those are context instead of changes.
So "patch" has decided that the contents of that file are too damaged for
it to use. In particular, it has no chance without any of the first three
lines, because it doesn't know what file to use and can't guess.
-Daniel
*This .sig left intentionally blank*
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] zd1211 patch?
2007-05-08 15:56 ` Alan McKinnon
@ 2007-05-09 8:26 ` Arnau Bria
0 siblings, 0 replies; 13+ messages in thread
From: Arnau Bria @ 2007-05-09 8:26 UTC (permalink / raw
To: gentoo-user
On Tue, 8 May 2007 17:56:36 +0200
Alan McKinnon wrote:
> On Tuesday 08 May 2007, Arnau Bria wrote:
> > Ok, but, what is the content of net_dev.patch?
>
> It's right there in your original mail:
[...]
> That IS what the patch file looks like. It will alter your Makefile,
> and the epatch function in portage is smart enough to try apply the
> patch to the following files in order:
>
> /root/tmp-new/Makefile
> tmp-new/Makefile
> Makefile
Ok, thanks you very much for the explanation.
> If that doesn't work, the patch itself is faulty
Well, following all instructions and, now, yours, I ensure patch still
doens't work FOR ME.
My workaround was modifying Makefile in tgz and done an ebuild digest
again. I could compile the driver.
> for more info "man patch"
I'll take a look, thanks
> alan
Arnau
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: zd1211 patch?
2007-05-08 15:56 [gentoo-user] zd1211 patch? Arnau Bria
2007-05-08 15:47 ` Daniel Pielmeier
[not found] ` <200705081722.32303.alan@linuxholdings.co.za>
@ 2007-05-09 20:24 ` Stefan Schweizer
2007-05-10 12:54 ` Arnau Bria
2 siblings, 1 reply; 13+ messages in thread
From: Stefan Schweizer @ 2007-05-09 20:24 UTC (permalink / raw
To: gentoo-user
I have added a new fixed ebuild to the tree now :)
Best regards,
Stefan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: zd1211 patch?
2007-05-10 12:54 ` Arnau Bria
@ 2007-05-10 12:03 ` Alan McKinnon
2007-05-10 13:16 ` Arnau Bria
0 siblings, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2007-05-10 12:03 UTC (permalink / raw
To: gentoo-user
On Thursday 10 May 2007, Arnau Bria wrote:
> n Wed, 09 May 2007 22:24:47 +0200
> Stefan Schweizer wrote:
>
> Hi,
>
> > I have added a new fixed ebuild to the tree now :)
>
> Firest of all, thanks.
> Now, with zd1211-85.ebuild, I'm getting new error:
Output in English please. Few people here can understand the error
messages you are getting.
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: zd1211 patch?
2007-05-10 13:16 ` Arnau Bria
@ 2007-05-10 12:42 ` Alan McKinnon
2007-05-10 14:48 ` [gentoo-user] " Stefan Schweizer
1 sibling, 0 replies; 13+ messages in thread
From: Alan McKinnon @ 2007-05-10 12:42 UTC (permalink / raw
To: gentoo-user
On Thursday 10 May 2007, Arnau Bria wrote:
> CC [M]
> /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/z
>dusb.o CC [M]
> /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/z
>d1211.o
> /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd
>1211.c:1825:40: error: macro "INIT_WORK" requires 3 arguments, but
> only 2 given
Error in source code :-(
File a bug at b.g.o. and make sure Stefan Schweizer <genstef@gentoo.org>
is cc'ed (he submitted the original ebuild)
--
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?
Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: zd1211 patch?
2007-05-09 20:24 ` [gentoo-user] " Stefan Schweizer
@ 2007-05-10 12:54 ` Arnau Bria
2007-05-10 12:03 ` Alan McKinnon
0 siblings, 1 reply; 13+ messages in thread
From: Arnau Bria @ 2007-05-10 12:54 UTC (permalink / raw
To: gentoo-user
On Wed, 09 May 2007 22:24:47 +0200
Stefan Schweizer wrote:
Hi,
> I have added a new fixed ebuild to the tree now :)
Firest of all, thanks.
Now, with zd1211-85.ebuild, I'm getting new error:
/usr/src/linux
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85
-I/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85 modules
make[2]: se ingresa al directorio `/usr/src/linux-2.6.19-suspend2-r3'
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1205.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdasocsvc.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdauthreq.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdauthrsp.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdmmrx.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdshared.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdhci.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdglobal.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdencrypt.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdpmfilter.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdpsmon.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdsynch.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdbuf.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1205_proc.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdhw.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zddebug.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdtkipseed.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdmic.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdusb.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.o
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825:40: error: la macro "INIT_WORK" requiere 3 argumentos, pero solo se proporcionan 2
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c: En la función ‘zd1211_InitSetup’:
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825: error: ‘INIT_WORK’ no se declaró aquí (primer uso en esta función)
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825: error: (Cada identificador no declarado solamente se reporta una vez
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825: error: ara cada funcion en la que aparece.)
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1826:58: error: la macro "INIT_WORK" requiere 3 argumentos, pero solo se proporcionan 2
make[3]: *** [/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.o] Error 1
make[2]: *** [_module_/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85] Error 2
make[2]: se sale del directorio `/usr/src/linux-2.6.19-suspend2-r3'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85'
make: *** [all] Error 2
!!! ERROR: net-wireless/zd1211-85 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4047: Called src_compile
zd1211-85.ebuild, line 43: Called linux-mod_src_compile
linux-mod.eclass, line 516: Called die
!!! Unable to make KERNEL_SOURCE=/usr/src/linux KDIR=/usr/src/linux KERN_26=y all.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/zd1211-85/temp/build.log'.
Any clue?
I'm using the one from kernel, but it does not work fine with kismet. Do this one work with kismet?
> Best regards,
> Stefan
Cheers,
Arnau
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: zd1211 patch?
2007-05-10 12:03 ` Alan McKinnon
@ 2007-05-10 13:16 ` Arnau Bria
2007-05-10 12:42 ` Alan McKinnon
2007-05-10 14:48 ` [gentoo-user] " Stefan Schweizer
0 siblings, 2 replies; 13+ messages in thread
From: Arnau Bria @ 2007-05-10 13:16 UTC (permalink / raw
To: gentoo-user
On Thu, 10 May 2007 14:03:35 +0200
Alan McKinnon wrote:
> On Thursday 10 May 2007, Arnau Bria wrote:
> > n Wed, 09 May 2007 22:24:47 +0200
> > Stefan Schweizer wrote:
> >
> > Hi,
> >
> > > I have added a new fixed ebuild to the tree now :)
> >
> > Firest of all, thanks.
> > Now, with zd1211-85.ebuild, I'm getting new error:
> Output in English please. Few people here can understand the error
> messages you are getting.
Sorry, did not notice.... (i've been playing with locales recently)
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.19-suspend2-r3/build
* Found sources for kernel version:
* 2.6.19-suspend2-r3
* Checking for suitable kernel configuration options... [ ok ]
>>> Unpacking source...
>>> Unpacking zd1211-driver-r85.tgz to /var/tmp/portage/net-wireless/zd1211-85/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85 ...
* Preparing zd1211 module
cd ..; make ZD1211REV_B=0
make[1]: Entering directory `/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
/usr/src/linux
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85
-I/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/zdsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zdusb.o src/zd1211.o
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85 modules
make[2]: Entering directory `/usr/src/linux-2.6.19-suspend2-r3'
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1205.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdasocsvc.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdauthreq.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdauthrsp.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdmmrx.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdshared.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdhci.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdglobal.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdencrypt.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdpmfilter.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdpsmon.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdsynch.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdbuf.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1205_proc.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdhw.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zddebug.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdtkipseed.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdmic.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zdusb.o
CC [M] /var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.o
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825:40: error: macro "INIT_WORK" requires 3 arguments, but only 2 given
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c: In function ‘zd1211_InitSetup’:
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825: error: ‘INIT_WORK’ undeclared (first use in this function)
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1825: error: for each function it appears in.)
/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.c:1826:58: error: macro "INIT_WORK" requires 3 arguments, but only 2 given
make[3]: *** [/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85/src/zd1211.o] Error 1
make[2]: *** [_module_/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.19-suspend2-r3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-wireless/zd1211-85/work/zd1211-driver-r85'
make: *** [all] Error 2
!!! ERROR: net-wireless/zd1211-85 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4047: Called src_compile
zd1211-85.ebuild, line 43: Called linux-mod_src_compile
linux-mod.eclass, line 516: Called die
!!! Unable to make KERNEL_SOURCE=/usr/src/linux KDIR=/usr/src/linux KERN_26=y all.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/zd1211-85/temp/build.log'.
Again, sorry.
Cheers!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Re: zd1211 patch?
2007-05-10 13:16 ` Arnau Bria
2007-05-10 12:42 ` Alan McKinnon
@ 2007-05-10 14:48 ` Stefan Schweizer
2007-05-10 16:13 ` Arnau Bria
1 sibling, 1 reply; 13+ messages in thread
From: Stefan Schweizer @ 2007-05-10 14:48 UTC (permalink / raw
To: gentoo-user
hmh, works fine for me on 2.6.21.
You might want to consider using gentoo-sources-2.6.20-r8 because that is
the latest stable one.
Best regards,
Stefan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Re: zd1211 patch?
2007-05-10 14:48 ` [gentoo-user] " Stefan Schweizer
@ 2007-05-10 16:13 ` Arnau Bria
0 siblings, 0 replies; 13+ messages in thread
From: Arnau Bria @ 2007-05-10 16:13 UTC (permalink / raw
To: gentoo-user
On Thu, 10 May 2007 16:48:04 +0200
Stefan Schweizer wrote:
> hmh, works fine for me on 2.6.21.
>
> You might want to consider using gentoo-sources-2.6.20-r8 because
> that is the latest stable one.
Mmmm... I use suspend ones...
Linux pataki 2.6.19-suspend2-r3 #1 PREEMPT Fri Mar 9 02:17:29 CET 2007
i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
I'll download 2.6.20 and compile it again (later)...
But, anyway, will it be possible to use it with suspend ones?
> Best regards,
> Stefan
Many thanks,
Arnau
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2007-05-10 15:17 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 15:56 [gentoo-user] zd1211 patch? Arnau Bria
2007-05-08 15:47 ` Daniel Pielmeier
[not found] ` <200705081722.32303.alan@linuxholdings.co.za>
2007-05-08 16:43 ` Arnau Bria
2007-05-08 15:56 ` Alan McKinnon
2007-05-09 8:26 ` Arnau Bria
2007-05-08 23:05 ` Daniel Barkalow
2007-05-09 20:24 ` [gentoo-user] " Stefan Schweizer
2007-05-10 12:54 ` Arnau Bria
2007-05-10 12:03 ` Alan McKinnon
2007-05-10 13:16 ` Arnau Bria
2007-05-10 12:42 ` Alan McKinnon
2007-05-10 14:48 ` [gentoo-user] " Stefan Schweizer
2007-05-10 16:13 ` Arnau Bria
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox