Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58487 - ipw2100 ebuild fails in macro expansion
Summary: ipw2100 ebuild fails in macro expansion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 19:49 UTC by Joseph Pingenot
Modified: 2004-08-26 09:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ipw2100_main.c.diff (ipw2100_main.c.diff,434 bytes, patch)
2004-08-01 07:23 UTC, Christian Roessner
Details | Diff
ipw2100-0.51.ebuild (ipw2100-0.51.ebuild,2.35 KB, text/plain)
2004-08-01 07:24 UTC, Christian Roessner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pingenot 2004-07-26 19:49:49 UTC
When emerging ipw2100 with development-kernel 2.6.7, I get:
# emerge ipw2100
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ipw2100-0.51 to /
>>> md5 src_uri ;-) ipw2100-0.51.tgz
>>> md5 src_uri ;-) ipw2100-fw-1.2.tgz
>>> Unpacking source...
>>> Unpacking ipw2100-0.51.tgz to /var/tmp/portage/ipw2100-0.51/work
>>> Unpacking ipw2100-fw-1.2.tgz to /var/tmp/portage/ipw2100-0.51/work
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.7 found in /usr/src/linux
>>> Source unpacked.
make -C //usr/src/linux M=/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51 MODVERDIR=/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51 modules
make[1]: Entering directory `/usr/src/linux-2.6.7'
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ieee80211_module.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ieee80211_tx.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ieee80211_rx.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ieee80211_wx.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_fw.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_wx.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ieee80211_crypt.o
  CC [M]  /var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ieee80211_crypt_wep.o
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c:6443:52: macro "create_workqueue" requires 2 arguments, but only 1 given
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c: In function `ipw2100_alloc_device':
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c:6443: error: `create_workqueue' undeclared (first use in this function)
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c:6443: error: (Each undeclared identifier is reported only once
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c:6443: error: for each function it appears in.)
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c: At top level:
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c:5329: warning: `ipw2100_disassociate_bssid' defined but not used
/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.c:5385: warning: `ipw2100_set_wpa_ie' defined but not used
make[2]: *** [/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51/ipw2100_main.o] Error 1
make[1]: *** [_module_/var/tmp/portage/ipw2100-0.51/work/ipw2100-0.51] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.7'
make: *** [modules] Error 2

!!! ERROR: net-wireless/ipw2100-0.51 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1.try to emerge ipw2100 with 2.6.7
2.watch it crash and burn
3.

Actual Results:  
ipw2100 fails to build

Expected Results:  
ipw2100 should have emerged and been working.  :)
Comment 1 Andreas Kotowicz 2004-07-28 01:03:12 UTC
same here. but his happens aswell with version 0.50
Comment 2 Christian Roessner 2004-08-01 07:23:30 UTC
Created attachment 36581 [details, diff]
ipw2100_main.c.diff

I think, the flags parameter in the create_workqueue function is not needed, so
I put a NULL argument in it.
Comment 3 Christian Roessner 2004-08-01 07:24:40 UTC
Created attachment 36582 [details]
ipw2100-0.51.ebuild

The ebuild includes the patch above.
Comment 4 Henrik Brix Andersen 2004-08-18 09:25:19 UTC
This is likely to be related to the reporter using a kernel with the swsusp2 patches applied.

See http://sourceforge.net/mailarchive/message.php?msg_id=9243751 for more information.
Comment 5 Henrik Brix Andersen 2004-08-19 05:44:21 UTC
Could the reporter please try the ebuild for ipw2100-0.53 as attached to bug #60791 and see if this fixes the compilation?

The ChangeLog for ipw2100-0.53 says (see http://ipw2100.sourceforge.net for full ChangeLog):

  Fixed SWSUSP2 build dependency check to CONFIG_SOFTWARE_SUSPEND2
Comment 6 Andreas Kotowicz 2004-08-19 08:31:03 UTC
works for me.
Comment 7 Joseph Pingenot 2004-08-26 09:26:47 UTC
the next ipw2100 driver, ipw2100 0.53 is now available.  It fixes oopses as well as this issue, so this issue is now moot.  I installed it yesterday and it works.  You need to follow the instructions in bug #61078 to make it go until it gets updated in the portage tree (involves copying 0.52 ebuild to 0.53 and then emerging).
Comment 8 Joseph Pingenot 2004-08-26 09:31:34 UTC
Grrr.  I guess it helps to actually <i>understand</i> Henrik's reply.  Sorry.

Ah well.  Either way it works and this bug is now moot.