Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166553 - x11-plugins/gkrellm-wifi-0.9.12 compile fails
Summary: x11-plugins/gkrellm-wifi-0.9.12 compile fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 19:37 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2007-04-07 21:38 UTC (History)
1 user (show)

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


Attachments
/var/log/portage/x11-plugins:gkrellm-wifi-0.9.12:20070212-175735.log (x11-plugins:gkrellm-wifi-0.9.12:20070212-175735.log,6.41 KB, text/plain)
2007-02-12 19:38 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
/tmp/emerge--info (emerge--info,4.25 KB, text/plain)
2007-02-12 19:41 UTC, DEMAINE Benoît-Pierre, aka DoubleHP
Details
includes iwlib.h to the build (gkrellm-wifi-0.9.12-iwlib-patch,520 bytes, patch)
2007-03-09 02:36 UTC, Markus Peloquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-12 19:37:59 UTC
root@moon_gen_2:~# emerge -va1 x11-plugins/gkrellm-wifi
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild  N    ] x11-plugins/gkrellm-wifi-0.9.12  0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No]
>>> Emerging (1 of 1) x11-plugins/gkrellm-wifi-0.9.12 to /
 * gkrellm-wifi-0.9.12.tar.gz MD5 ;-) ...                                        [ ok ]
 * gkrellm-wifi-0.9.12.tar.gz size ;-) ...                                       [ ok ]
 * checking ebuild checksums ;-) ...                                             [ ok ]
 * checking auxfile checksums ;-) ...                                            [ ok ]
 * checking miscfile checksums ;-) ...                                           [ ok ]
 * checking gkrellm-wifi-0.9.12.tar.gz ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking gkrellm-wifi-0.9.12.tar.gz to /var/tmp/portage/x11-plugins/gkrellm-wifi-0.9.12/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-plugins/gkrellm-wifi-0.9.12/work/gkrellm-wifi-0.9.12 ...
[...]
cc -O2 -march=athlon-mp -pipe -mmmx -msse -m3dnow -I/usr/src/linux/include -Wall -O2 -fPIC -I/usr/include/gkrellm2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DG_LOG_DOMAIN=\"gkrellm-wifi\"   -c -o gkrellm-wifi-linux.o gkrellm-wifi-linux.c
In file included from gkrellm-wifi-linux.c:32:
/usr/src/linux/include/linux/wireless.h:651: error: expected specifier-qualifier-list before '__s32'
/usr/src/linux/include/linux/wireless.h:663: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
/usr/src/linux/include/linux/wireless.h:678: error: expected specifier-qualifier-list before '__s32'
/usr/src/linux/include/linux/wireless.h:689: error: expected specifier-qualifier-list before '__u8'
[...]
/usr/src/linux/include/linux/wireless.h:946: error: expected specifier-qualifier-list before '__u32'
/usr/src/linux/include/linux/wireless.h:1047: error: expected specifier-qualifier-list before '__u32'
/usr/src/linux/include/linux/wireless.h:1065: error: expected specifier-qualifier-list before '__u16'
gkrellm-wifi-linux.c:65: error: expected specifier-qualifier-list before '__s32'
gkrellm-wifi-linux.c:73: error: expected specifier-qualifier-list before '__u8'
gkrellm-wifi-linux.c:81: error: expected specifier-qualifier-list before '__u32'
[...]
gkrellm-wifi-linux.c:390: error: 'struct iw_point' has no member named 'flags'
gkrellm-wifi-linux.c:392: error: 'struct iwreq' has no member named 'ifr_name'
gkrellm-wifi-linux.c:396: error: 'union iwreq_data' has no member named 'data'
make: *** [gkrellm-wifi-linux.o] Error 1

!!! ERROR: x11-plugins/gkrellm-wifi-0.9.12 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1693:   Called src_compile
  gkrellm-wifi-0.9.12.ebuild, line 20:   Called die
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-12 19:38:39 UTC
Created attachment 109982 [details]
/var/log/portage/x11-plugins:gkrellm-wifi-0.9.12:20070212-175735.log
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-12 19:41:31 UTC
Created attachment 109984 [details]
/tmp/emerge--info
Comment 3 Markus Peloquin 2007-03-09 02:36:50 UTC
Created attachment 112665 [details, diff]
includes iwlib.h to the build
Comment 4 Markus Peloquin 2007-03-09 02:39:44 UTC
I was able to build it by adding '-include iwlib.h' to CFLAGS in the makefile.  iwlib.h (in /usr/include/) comes from >=net-wireless/wireless-tools-22.
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2007-03-13 20:33:08 UTC
do you expect any thing from me ATM ? waiting for me to test ? test what ?
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 21:38:18 UTC
thanks, I fixed this in the tree!