View previous topic :: View next topic |
Author |
Message |
ilamir n00b
Joined: 01 Feb 2005 Posts: 8
|
Posted: Wed Feb 02, 2005 2:34 am Post subject: emerge system compile error [SOLVED] |
|
|
I just got the following error while doing 'emerge system' :
g++ -c -I. -I../dist/.. -I../dist/../dbic -D_GNU_SOURCE -D_REENTRANT "{-march=pentium4" -fomit-frame-pointer "-O2}" ../dist/../cxx/cxx_db.cpp -fPIC -DPIC - o .libs/cxx_db.lo
g++: cannot specify -0 with -c or -S and multiple compilations
make: *** [cxx_db.lo] Error 1
Anyone have any ideas?
Last edited by ilamir on Wed Feb 02, 2005 3:32 pm; edited 1 time in total |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Wed Feb 02, 2005 3:44 am Post subject: |
|
|
output please. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
ilamir n00b
Joined: 01 Feb 2005 Posts: 8
|
Posted: Wed Feb 02, 2005 4:22 am Post subject: |
|
|
Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
System uname: 2.6.9-gentoo-r1 i686 Mobile Intel(R) Pentium(R) - M CPU 2.40 GHz
Gentoo Base System version 1.4.16
Autoconf:
Automake:
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux-headers-2.4.21-r1
Libtools:
ACCEPT_KEYWORKS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 _fomit-frame-pointer -O2"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/shar/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="{-march=pentium4 _fomit-frame-pointer -O2""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rysnc.gentoo.org/gentoo-portage"
USE=" x86 X apm arts avi berkdb bitmap-fonts crypt cups encode f77 font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xm12 xmms xv zlib" |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Wed Feb 02, 2005 4:29 am Post subject: |
|
|
ilamir wrote: |
CXXFLAGS="{-march=pentium4 _fomit-frame-pointer -O2""
|
Why is there a "{" in CXXFLAGS? _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Wed Feb 02, 2005 5:25 am Post subject: |
|
|
There's also an underscore there. Completely messed up, it's amazing he got as far as sys-libs/db.
ilamir: Change your /etc/make.conf. Edit CFLAGS to read Code: | CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer | and CXXFLAGS to read Code: | CXXFLAGS="${CFLAGS}" | Please copypaste that exactly as it is written, don't re-type it. The O is a big o, not a zero, and there must be no other brackets there, as well as no underscores. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Wed Feb 02, 2005 5:38 am Post subject: |
|
|
moocha wrote: | There's also an underscore there... |
Yikes, and an extra "...better clean my bifocals B-) _________________ Time is what keeps everything from happening all at once. |
|
Back to top |
|
|
bet1m l33t
Joined: 04 Dec 2004 Posts: 631 Location: Kosova/Prishtine
|
|
Back to top |
|
|
ilamir n00b
Joined: 01 Feb 2005 Posts: 8
|
Posted: Wed Feb 02, 2005 1:57 pm Post subject: |
|
|
Ok, unfortunately the errors you guys saw in my emerge --info were just typo's.
My make.conf reads (has always read) as :
CFLAGS="-march=pentium4 -fomit-frame-pointer -O2"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="{$CFLAGS}"
Sorry for any confusion....anyone have another other ideas? |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Feb 02, 2005 2:33 pm Post subject: |
|
|
Yup, you've got the { in the wrong place in your CXXFLAGS. See moocha's post. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
ilamir n00b
Joined: 01 Feb 2005 Posts: 8
|
Posted: Wed Feb 02, 2005 2:40 pm Post subject: |
|
|
Ah, I see it now. Edited, now running emerge system.... *fingers crossed* |
|
Back to top |
|
|
|