View previous topic :: View next topic |
Author |
Message |
castrik n00b
Joined: 16 Apr 2004 Posts: 31
|
Posted: Tue Mar 22, 2005 11:35 am Post subject: emerge howl failure [SOLVED] |
|
|
i am trying to
Code: | emerge gnome xscreensaver |
for which howl is a dependency.
My USE flags are: Code: | USE="-kde -qt gnome alsa gtk hal howl openssh cdr" |
My compile fails at howl with many errors like these:
Code: | /usr/include/linux/ethtool.h:340: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:342: error: syntax error before '*' token
/usr/include/linux/ethtool.h:342: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:344: error: syntax error before '*' token
/usr/include/linux/ethtool.h:344: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:346: error: syntax error before '*' token
/usr/include/linux/ethtool.h:346: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:349: error: syntax error before "__u64"
|
I successfully emerged ethtool in an effort to fix this, but to no avail.
My kernel is 2.6.11-gentoo-r4 compiled with genkernel.
Any ideas?
Last edited by castrik on Fri Apr 01, 2005 4:07 pm; edited 2 times in total |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Mar 22, 2005 12:04 pm Post subject: |
|
|
does it say anything about /sys/kernel ? i had that error from howl _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
castrik n00b
Joined: 16 Apr 2004 Posts: 31
|
Posted: Tue Mar 22, 2005 12:06 pm Post subject: |
|
|
no errors about /sys/kernel just a page long flood of ethtool syntax errors. |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Mar 22, 2005 12:08 pm Post subject: |
|
|
did u use genkernel? _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
castrik n00b
Joined: 16 Apr 2004 Posts: 31
|
Posted: Tue Mar 22, 2005 12:10 pm Post subject: |
|
|
yes , sorry i'll add that to the original post. |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Mar 22, 2005 12:14 pm Post subject: |
|
|
ok this is what i did:
compiled my kernel by not using genkernel, causes a prob for some reason... then:
Code: |
unmerge linux-headers (if this says it cant find it, your using 26 headers already so skip next)
emerge linux26-headers
then
emerge glibc
|
then i didnt get the error anymore, you might wana try diff mirrors aswel and emerge-sync, but i doubt thatll make a difference _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
castrik n00b
Joined: 16 Apr 2004 Posts: 31
|
Posted: Mon Mar 28, 2005 4:24 pm Post subject: |
|
|
i am using 2.6 headers and now running a non-genkernel kernel, glibc has also been recompiled, however the problem, with the same errors still occurs. can anyone help me? |
|
Back to top |
|
|
JORUNO n00b
Joined: 19 Sep 2003 Posts: 8
|
Posted: Tue Mar 29, 2005 10:59 am Post subject: |
|
|
I have problem to emerge howl too. I'm using Gentoo 2005.0.
Can any one tell me how to fix this problem? |
|
Back to top |
|
|
Frank Lorenz n00b
Joined: 29 Mar 2005 Posts: 14
|
Posted: Tue Mar 29, 2005 7:26 pm Post subject: |
|
|
I encountered the same error with howl during a "emerge gnome", I think
Perhaps the following info helps someone to identify the problem: ???
The errors are encountered inside /usr/include/linux/ethtool.h. Compiler reports tons of "parse error before "__u64" " or other data type declarations like "__u32".
The ethtool.h is included by posix_interface.c of howl. The last error message complains that the storage size of 'edata' is not known, where 'edata' is a 'ethtool_value' struct containing two "__u32" data words. For me, it looks like these data type declarations are unknown inside ethtool.h (which does not include anything), so perhaps there is an include missing in posix_interface.c???
best regards,
Frank |
|
Back to top |
|
|
todw1fd Tux's lil' helper
Joined: 21 Mar 2003 Posts: 93
|
Posted: Tue Mar 29, 2005 10:21 pm Post subject: |
|
|
Do a search on bugs.gentoo.org for 84030. I unmerged headers and remerged headers and glibc which did nothing for howl. added net-misc/howl ~x86 to package.keywords and emerged howl again and it compiled successfully. I believe the ebuild version is 0.9.8. Try it and see if it helps. |
|
Back to top |
|
|
Frank Lorenz n00b
Joined: 29 Mar 2005 Posts: 14
|
Posted: Wed Mar 30, 2005 8:48 am Post subject: |
|
|
What do you mean with
Quote: |
"added net-misc/howl ~x86 to package.keywords" | ?
I cannot find a "package.keywords" file on my system.
After reading some man pages, I found that you can add the ~x86 flag as a keyword to the ACCEPT_KEYWORDS option inside /etc/make.conf:
Code: | ACCEPT_KEYWORDS="~x86". |
When doing this, emerge fetches the 0.9.8 version of howl which includes the patch we need and compiles successfully. After compiling howl, I removed the above line again. Problem is that when removing this line and running e.g. emerge gnome again (with dependency "howl"), portage tries to compile the buggy version of howl (0.9.6) again and fails.
So your "package.keywords" solution seems to be better, I simply do not understand it
best regards,
Frank |
|
Back to top |
|
|
Frank Lorenz n00b
Joined: 29 Mar 2005 Posts: 14
|
Posted: Wed Mar 30, 2005 9:07 am Post subject: |
|
|
Ups, I just found the solution (haven't read enough man pages, I think )
For all readers: You can create a package.keywords file inside /etc/portage and add the line
to it.
Then the command
fetches the 0.9.8 version of howl which is masked up to now (the ~x86 command says portage should use masked versions for x86 platform, too). This version includes a patch to compile sucessfully. |
|
Back to top |
|
|
etrek n00b
Joined: 23 Jun 2002 Posts: 58
|
Posted: Fri Apr 01, 2005 3:22 am Post subject: Yep that worked for me.. |
|
|
It worked for me on my opteron (using the ~amd64 instead of ~x86)
That's cool, thanks much!
E. |
|
Back to top |
|
|
SchmilK n00b
Joined: 07 Feb 2005 Posts: 11
|
Posted: Sat Apr 23, 2005 3:24 pm Post subject: |
|
|
As Homer Simpson once said
"yes YES OOOOOOOH YEEEEESSSSSS!!!"
FINALLY!!! I get to emerge kftpgrabber!! All imissed was "failed" from the search term emerge howl and now howl 0.9.8 is installed, and kftpgrabber just installed...FINALLY!
Thanks SOOOOO much for the best support forum EVAAARRRRR!!!!! _________________ (¯'·._-=SchmilK=-_.·'¯) |
|
Back to top |
|
|
megaburn n00b
Joined: 26 Apr 2005 Posts: 1 Location: Lost in the woods!
|
Posted: Tue Apr 26, 2005 12:37 pm Post subject: |
|
|
I just moved two laptops over from Mandrake with the 'stock' 2005.0 iso's using emerge gnome xscreensaver and ran into this problem on both of them. Noting this problem and Frank's solution in the regular documentation would be very helpful for (most) new users.....
Thanks! This problem was driving me nuts.
-Chris _________________ "Only the dead have seen the end of war."-Plato |
|
Back to top |
|
|
Jameas n00b
Joined: 23 Aug 2002 Posts: 13
|
Posted: Tue Apr 26, 2005 4:37 pm Post subject: |
|
|
This (package.keywords) works for me, too. Thank you. |
|
Back to top |
|
|
StevemE;eet n00b
Joined: 04 May 2005 Posts: 1
|
Posted: Wed May 04, 2005 4:07 am Post subject: HEALP!?!?!? |
|
|
Hey,
I'm trying to compile gnome but i got the error
then i did what u said and downloaded 0.9.8
it still doesnt work |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Wed May 04, 2005 8:45 am Post subject: |
|
|
whats the error? same one? _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
Stagediver n00b
Joined: 04 May 2005 Posts: 4
|
Posted: Wed May 04, 2005 9:07 pm Post subject: |
|
|
THANK YOU FRANK LORENZ !
I can only agree to SchmilK and megaburn: Thanks for this hint !! And yes, it should be put in the docs !
This works for me with a stage 3 athlon-xp installation of gentoo 2005.0 (having nothing installed but the pure kernel and system and then i wanted to install gnome-light and then this problem occured)
Thanks again ! _________________ - Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. (George Orwell ) |
|
Back to top |
|
|
Kensai Guru
Joined: 09 Mar 2004 Posts: 568 Location: Puerto Rico
|
Posted: Sat May 07, 2005 3:01 am Post subject: |
|
|
Thanks it worked Fine I wondered why this happened. Never though a package marked stable will give such an error. _________________ Gentoo: Gigabyte: nFORCE 2: nVIDIA GeForce 6600: AMD Athlon XP 3200+
Perspective of a Thinking Human Being |
|
Back to top |
|
|
ironmind n00b
Joined: 08 May 2005 Posts: 1 Location: Pori, Finland
|
Posted: Sun May 08, 2005 10:51 am Post subject: |
|
|
You might not want to add ACCEPT_KEYWORDS="~x86" to your make.conf coz then you'll accept to emerge potentially unstable versions of any software in the future. Instead I suggest you emerge just howl with the ~x86 flag.
Try this:
ACCEPT_KEYWORDS="~x86" emerge howl
You can always see if there is a newer version of some software by comparing:
emerge "some_software" -vp and ACCEPT_KEYWORDS="~x86" emerge "some_software" -vp _________________ Athlon XP 1700+
DDR 256MB 333MHz
30,5 MB/s 40GB harddrive
XOOPS + 2048/512 adsl |
|
Back to top |
|
|
Azalit n00b
Joined: 08 May 2005 Posts: 12
|
Posted: Sun May 08, 2005 3:45 pm Post subject: help |
|
|
make[3]: *** [all-recursive] Error 1
make[3]: Leaving Directory /var/tmp/portage/howl-0.9.6-r2/work/howl-0.9.6/src/lib/howl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving Directory /var/tmp/portage/howl-0.9.6-r2/work/howl-0.9.6/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving Directory /var/tmp/portage/howl-0.9.6-r2/work/howl-0.9.6/src'
help please
Last edited by Azalit on Sun May 08, 2005 4:21 pm; edited 1 time in total |
|
Back to top |
|
|
p.n Tux's lil' helper
Joined: 15 Nov 2004 Posts: 124
|
Posted: Sun May 08, 2005 3:53 pm Post subject: |
|
|
ironmind wrote: | You might not want to add ACCEPT_KEYWORDS="~x86" to your make.conf coz then you'll accept to emerge potentially unstable versions of any software in the future. Instead I suggest you emerge just howl with the ~x86 flag.
Try this:
ACCEPT_KEYWORDS="~x86" emerge howl
You can always see if there is a newer version of some software by comparing:
emerge "some_software" -vp and ACCEPT_KEYWORDS="~x86" emerge "some_software" -vp |
I would suggest you not use ACCEPT_KEYWORDS at all. Rather add howl ~x86 to /etc/portage/package.keywords. ACCEPT_KEYWORDS has been depricated.
Regards
p.n _________________ "Every time I learn something new it pushes some old stuff out of my brain." - Homer Simpson |
|
Back to top |
|
|
Azalit n00b
Joined: 08 May 2005 Posts: 12
|
Posted: Sun May 08, 2005 7:54 pm Post subject: help please |
|
|
All right. I've no idea what to do. last night I tried to install gnome
Code: | emerge gnome xscreensaver |
and I let it run for... maybe 4 1/2 hours before I went to bed so the computer was running all night and I'm not sure how much longer it took to give me the aforementioned error. I need help. If any 1 knows what to do or if there's a post about this that I missed somewhere, please help. |
|
Back to top |
|
|
checco n00b
Joined: 06 Apr 2005 Posts: 10 Location: Italy - Florence
|
Posted: Thu May 12, 2005 3:55 pm Post subject: |
|
|
Hi All,
I've applied all the suggestion, but the result is the same ....
when I this is the result:
Code: |
/usr/include/linux/ethtool.h:340: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:342: error: parse error before '*' token
/usr/include/linux/ethtool.h:342: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:344: error: parse error before '*' token
/usr/include/linux/ethtool.h:344: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:346: error: parse error before '*' token
/usr/include/linux/ethtool.h:346: error: `__u32' declared as function returning a function
/usr/include/linux/ethtool.h:349: error: parse error before "__u64"
/usr/include/linux/ethtool.h:350: error: parse error before "__u32"
/usr/include/linux/ethtool.h:353: error: parse error before "__u64"
/usr/include/linux/ethtool.h:356: error: parse error before '}' token
Posix/posix_interface.c: In function `sw_network_interface_link_status':
Posix/posix_interface.c:238: error: storage size of `edata' isn't known
make[4]: *** [posix_interface.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include/ -I../ -DHOWL_KERNEL -c Posix/posix_signal.c -MT posix_signal.lo -MD -MP -MF .deps/posix_signal.TPlo -o posix_signal.o >/dev/null 2>&1
mv -f .libs/posix_signal.lo posix_signal.lo
make[4]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src/lib/howl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src/lib/howl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/howl-0.9.8/work/howl-0.9.8/src'
make: *** [all-recursive] Error 1
!!! ERROR: net-misc/howl-0.9.8 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
|
As suggested I've added ACCEPT_KEYWORDS="~x86" in /etc/make.conf
and
I've created the file /etc/portage/package.keywords
Any other suggestion ?
P.S. Take care that I'm a beginner...
Bye,
Checco |
|
Back to top |
|
|
|