View previous topic :: View next topic |
Author |
Message |
Professor Frink Tux's lil' helper
Joined: 03 Oct 2003 Posts: 128 Location: Bethlehem, PA
|
Posted: Mon Nov 15, 2004 9:11 pm Post subject: new totem .99.19 won't compile at all |
|
|
Here's the error message I get:
In file included from /usr/include/netdb.h:28,
from /usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs-address.h:31,
from /usr/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h:28,
from totem-disc.c:38:
/usr/include/netinet/in.h:354: error: syntax error before '(' token
/usr/include/netinet/in.h:354: error: syntax error before "__u32"
/usr/include/netinet/in.h:355: error: syntax error before '(' token
/usr/include/netinet/in.h:355: error: syntax error before "__u16"
/usr/include/netinet/in.h:357: error: syntax error before '(' token
/usr/include/netinet/in.h:357: error: syntax error before "__u32"
/usr/include/netinet/in.h:359: error: syntax error before '(' token
/usr/include/netinet/in.h:359: error: syntax error before "__u16"
make[2]: *** [totem-disc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/totem-0.99.19/work/totem-0.99.19/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/totem-0.99.19/work/totem-0.99.19'
make: *** [all-recursive-am] Error 2
!!! ERROR: media-video/totem-0.99.19 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
Any ideas? These are the flags I'm using
[ebuild U ] media-video/totem-0.99.19 [0.99.8-r2] -debug +gstreamer* -lirc +mad 0 kB _________________ "You've got to listen to me. Elementary chaos theory tells us that all robots will eventually turn against their masters and run amok in an orgy of blood, and kicking and the biting with the metal teeth and the hurting and shoving." |
|
Back to top |
|
|
anybody n00b
Joined: 14 Sep 2003 Posts: 32
|
Posted: Mon Nov 15, 2004 10:13 pm Post subject: |
|
|
I got exactly the same problem and have no idea how to fix this.
Totem 0.99.8-r2 emerged fine. |
|
Back to top |
|
|
boilersuit n00b
Joined: 13 Oct 2004 Posts: 28 Location: England
|
Posted: Tue Nov 16, 2004 4:27 am Post subject: |
|
|
Same here. Totem is on it's arse. |
|
Back to top |
|
|
RSay Tux's lil' helper
Joined: 13 Dec 2003 Posts: 100 Location: Cleveland
|
Posted: Tue Nov 16, 2004 4:30 am Post subject: |
|
|
Ditto, it stopped me too |
|
Back to top |
|
|
llsardonicll Tux's lil' helper
Joined: 07 Oct 2004 Posts: 110
|
Posted: Tue Nov 16, 2004 6:48 am Post subject: |
|
|
Totem 0.99.20 works flawlessly on my system. Just rename the ebuild and digest it. |
|
Back to top |
|
|
Pip101 n00b
Joined: 30 Mar 2004 Posts: 62 Location: UK
|
Posted: Tue Nov 16, 2004 5:15 pm Post subject: |
|
|
Just tried that and I get the same error |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Tue Nov 16, 2004 6:56 pm Post subject: Failing totem emerge |
|
|
Same for me. I even changed make.conf flags from pentium4 to pentium3 to pentium2 No changes. It always fails _________________ Olivier PELERIN |
|
Back to top |
|
|
mr_clark n00b
Joined: 13 Feb 2004 Posts: 14
|
Posted: Tue Nov 16, 2004 7:22 pm Post subject: |
|
|
Ditto for me. Gettting exactly the same error.
Anybody find a solution yet? |
|
Back to top |
|
|
Kabuto l33t
Joined: 01 Aug 2002 Posts: 701
|
Posted: Wed Nov 17, 2004 3:54 pm Post subject: |
|
|
No problem here with same use flags. 'emerge info'? |
|
Back to top |
|
|
jwalcik n00b
Joined: 22 Sep 2003 Posts: 27 Location: austin, tx
|
Posted: Wed Nov 17, 2004 4:29 pm Post subject: |
|
|
i'm having the exact same problem, w/ the same USE flags, here's my "emerge info":
Code: |
root@sarge portage # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r8 i686)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.datapipe.net/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aim apache2 apm arts avi berkdb bitmap-fonts cdr composite crypt cups encode esd f77 fam flac flash foomaticdb fortran freetype gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib java jpeg junit ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nvidia oggvorbis opengl openssh oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype x86 xinput xml xml2 xmms xprint xv zlib" |
|
|
Back to top |
|
|
Pip101 n00b
Joined: 30 Mar 2004 Posts: 62 Location: UK
|
Posted: Wed Nov 17, 2004 4:53 pm Post subject: |
|
|
OK, it seems like it might be CFLAGS-related. I just tried with CFLAGS="" for the hell of it, and it worked. Set CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe" (minimally more conservative than my normal ones, I normally have -fomit-frame-pointer and -ffast-math in there), and it fails again. Fiddling with others now, gradually dropping down.
EDIT: Eventually whittled it down to "-mcpu=i686 -march=i686" and it finally worked, -O1 was the last one I got rid of to make it work for me. Raising the other options again.
EDIT2: OK, "-mcpu=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -ffast-math" is also working.. It just b0rks at any optimisation level (-O*) for me. Note that this is with totem 0.99.20 from the suggestion above.
"emerge info" anyway: Code: | Philips root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26 i686)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-xfce4rc1"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acpi apm artswrappersuid avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib java jp2 jpeg junit kde libcaca libg++ libwww mad mikmod mmx mmx2 mng motif mozilla moznocompose moznoirc moznomail mpeg msn ncurses nls ntlm offensive oggvorbis opengl operanom2 oss pam pdflib perl png python qt quicktime readline rtc samba sdl slang spell sse ssl svg svga tcltk tcpd tiff truetype wifi wmf x86 xine xml xml2 xmms xpm xv xvid zlib" |
|
|
Back to top |
|
|
grlownzl n00b
Joined: 24 Jan 2004 Posts: 1 Location: UK
|
Posted: Wed Nov 17, 2004 5:34 pm Post subject: |
|
|
Hi
if you add
#define _LINUX_BYTEORDER_LITTLE_ENDIAN_H
to
/var/tmp/portage/totem-0.99.19/work/totem-0.99.19/src/totem-disc.c
(it should go before the
#include <linux/cdrom.h>
line)
and then run ebuild qmerge it should work. (at least it did for me)
[from https://bugs.gentoo.org/show_bug.cgi?id=68087]
[Ahem]
what I should have said in the second part is
#ebuild /usr/portage/media-video/totem/totem-0.99.19.ebuild compile
#ebuild /usr/portage/media-video/totem/totem-0.99.19.ebuild install
#ebuild /usr/portage/media-video/totem/totem-0.99.19.ebuild qmerge
Geoff _________________ ******
Fortune favours the brave, but keeps an axe for the stupid.....
******
Last edited by grlownzl on Thu Nov 18, 2004 1:41 pm; edited 1 time in total |
|
Back to top |
|
|
jwalcik n00b
Joined: 22 Sep 2003 Posts: 27 Location: austin, tx
|
Posted: Wed Nov 17, 2004 5:37 pm Post subject: |
|
|
i managed to get it working with:
Code: |
CFLAGS="-03 -march=pentium4" USER="-mad" emerge -uD totem
|
|
|
Back to top |
|
|
don quixada l33t
Joined: 15 May 2003 Posts: 790
|
Posted: Thu Nov 18, 2004 4:13 am Post subject: |
|
|
How about just this?:
Code: |
CFLAGS="-03 -march=<your arch here>" emerge -u totem
|
It worked for me.
dq |
|
Back to top |
|
|
johndoe_1995 n00b
Joined: 27 Oct 2004 Posts: 4
|
Posted: Thu Nov 18, 2004 6:48 am Post subject: Got it 0.99.19 installed |
|
|
Hi,
Just to keep the info flowing. I too was having the problem... After reading the thread, here's what worked and didn't work for me.
Did not work
Code: | CFLAGS="-O3 -march=pentium4" emerge -u totem |
Code: | CFLAGS="-O2 -march=pentium4" emerge -u totem |
Worked
Code: | CFLAGS="-march=pentium4" emerge -u totem |
Quote: |
add
#define _LINUX_BYTEORDER_LITTLE_ENDIAN_H
to
/var/tmp/portage/totem-0.99.19/work/totem-0.99.19/src/totem-disc.c
(it should go before the
#include <linux/cdrom.h>
line)
and then run ebuild qmerge |
Thanks Everyone!! |
|
Back to top |
|
|
dscamp n00b
Joined: 16 Feb 2004 Posts: 3 Location: Fredericton, NB Canada
|
Posted: Thu Nov 18, 2004 1:28 pm Post subject: |
|
|
I just did it with
Code: |
CFLAGS="-march=athlon-xp -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays" emerge -u totem
|
and had no trouble. Seems like it doesn't like any -Ox optimization but will accept other flags. |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Thu Nov 18, 2004 8:11 pm Post subject: I got it working |
|
|
Same for me:
CFLAGS="-march=pentium4" emerge -u totem
No troubles. _________________ Olivier PELERIN |
|
Back to top |
|
|
dopeflish n00b
Joined: 18 Nov 2004 Posts: 4 Location: Glasgow
|
Posted: Thu Nov 18, 2004 10:29 pm Post subject: |
|
|
Thanks CFLAGS="-march=athlon-xp -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays" emerge -u totem worked for me.
Problem solved. |
|
Back to top |
|
|
deanpence Apprentice
Joined: 08 Nov 2004 Posts: 158 Location: Earth
|
Posted: Fri Nov 19, 2004 8:39 pm Post subject: |
|
|
This worked for me as well:
Code: | CFLAGS='-march=athlon -fomit-frame-pointer -pipe' emerge -uD totem |
|
|
Back to top |
|
|
llsardonicll Tux's lil' helper
Joined: 07 Oct 2004 Posts: 110
|
Posted: Fri Nov 19, 2004 8:54 pm Post subject: |
|
|
here's mine and seems all the versions compiled fine
Code: | CFLAGS="-march=athlon-xp -m3dnow -msse -mmmx -O2 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -ftracer"
LDFLAGS="-Wl,-O1"
|
|
|
Back to top |
|
|
llsardonicll Tux's lil' helper
Joined: 07 Oct 2004 Posts: 110
|
Posted: Sat Nov 20, 2004 6:40 am Post subject: |
|
|
ran into the problem on the wife's machine... i removed the 2.4 linux headers and emerged the 2.6 headers and totem compiled fine on there. |
|
Back to top |
|
|
wimvandorst n00b
Joined: 31 Dec 2003 Posts: 17 Location: the Netherlands
|
Posted: Mon Nov 22, 2004 9:41 pm Post subject: Totem 99.19 (upto 99.22) won't compile at all: SOLVED |
|
|
llsardonicll wrote: | ran into the problem on the wife's machine... i removed the 2.4 linux headers and emerged the 2.6 headers and totem compiled fine on there. |
hello all,
this did work! Excellent recommendation.
I had the same error (totem 99.22). Then I did:
Code: | emerge -C linux-headers
emerge linux26-headers |
Even having the 2.6.8.1 sources already on-line wasn't enough, apparently. And downgrading the optimization CFLAGS wasn't effective either. But replacing the old headers did the trick.
Met vriendelijke groeten, Wim van Dorst _________________ --------------------------------------------------------
This sentence have three erors. |
|
Back to top |
|
|
anybody n00b
Joined: 14 Sep 2003 Posts: 32
|
Posted: Tue Nov 23, 2004 1:47 am Post subject: |
|
|
Unmerging linux-headers and emerging linux26-headers solved my problems too. I didn't try one of the other possible solutions as i liked that one best |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Tue Nov 23, 2004 7:40 am Post subject: Totem -- Linux headers |
|
|
Hi,
Then I have 2 questions.
1) Why thoses old linux headers are installed even when I installed only a kernel 2.6?
2) What is the risk of using linux headers 2.6 ? Any future errors possible? _________________ Olivier PELERIN |
|
Back to top |
|
|
nickrout Apprentice
Joined: 06 Oct 2002 Posts: 208 Location: New Zealand
|
Posted: Tue Nov 23, 2004 9:22 pm Post subject: |
|
|
omitting -O3 worked for me too. |
|
Back to top |
|
|
|