Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

kdemultimedia emerge fail

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
poisson
n00b
n00b
User avatar
Posts: 35
Joined: Sun Nov 24, 2002 2:13 pm

kdemultimedia emerge fail

  • Quote

Post by poisson » Fri Jul 11, 2003 2:40 pm

I'm trying to emerge kdemultimedia 3.1.2-r1
Meanwhile I changed kernel (from 2.4.20 to 2.4.21, both vanilla)
I installed manually the kernel and the relative links in /usr/include
(I don't like the copy of include directories, like emerge do)

My flags are:

Code: Select all

USE="-cups dvd sse -ldap"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -funroll-loops -pipe"
CXXFLAGS="${CFLAGS}"
And the error is:

Code: Select all

g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -static -Wall -DDATADIR=\"/usr/kde/3.1/share/apps/kaudiocreator\" -DQT_THREAD_SUPPORT  -D_REENTRANT -I/usr/X11R6/include,esd  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -fomit-frame-pointer -funroll-loops -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o cdconfigimp.o `test -f 'cdconfigimp.cpp' || echo './'`cdconfigimp.cpp
In file included from /usr/include/linux/cdrom.h:14,
                 from cdconfigimp.cpp:78:
/usr/include/asm/byteorder.h:38: syntax error before `(' token
/usr/include/asm/byteorder.h:42: '__u64' is used as a type, but is not defined as a type.
/usr/include/asm/byteorder.h:43: parse error before `}' token
/usr/include/asm/byteorder.h:44: syntax error before `.' token
/usr/include/asm/byteorder.h:50: syntax error before `.' token
/usr/include/asm/byteorder.h:51: syntax error before `.' token
/usr/include/asm/byteorder.h:52: parse error before `:' token
In file included from /usr/include/linux/byteorder/little_endian.h:11,
                 from /usr/include/asm/byteorder.h:65,
                 from /usr/include/linux/cdrom.h:14,
                 from cdconfigimp.cpp:78:
/usr/include/linux/byteorder/swab.h:199: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:209: syntax error before `(' token
/usr/include/linux/byteorder/swab.h:213: `__u64' was not declared in this scope
/usr/include/linux/byteorder/swab.h:213: `addr' was not declared in this scope
/usr/include/linux/byteorder/swab.h:214: variable or field `__swab64s' declared void
/usr/include/linux/byteorder/swab.h:214: `__swab64s' declared as an `inline' variable
/usr/include/linux/byteorder/swab.h:214: syntax error before `{' token
cdconfigimp.cpp:81: parse error before `}' token
make[3]: *** [cdconfigimp.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.2-r1/work/kdemultimedia-3.1.2/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.2-r1/work/kdemultimedia-3.1.2/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.2-r1/work/kdemultimedia-3.1.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.1.2-r1 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make

Any suggestion?

EDIT -- I noticed the problem is "-ansi" ... but how to solve the problem?
Top
cchapman
Guru
Guru
User avatar
Posts: 440
Joined: Thu Jan 16, 2003 4:31 pm
Location: Fremont, NE

  • Quote

Post by cchapman » Fri Jul 11, 2003 4:13 pm

try emerging it with these CCFLAGS

Code: Select all

-02 -pipe
Some code just needs to be compiled with those flags...

Usually if something wont compile I try that first and then post to the forum...
Top
poisson
n00b
n00b
User avatar
Posts: 35
Joined: Sun Nov 24, 2002 2:13 pm

  • Quote

Post by poisson » Fri Jul 11, 2003 6:13 pm

CFLAGS="-O2 -pipe" doesn't work.

I built "manually" kdemultimedia successfully removing "-ansi".

Any trick for this?
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic