When I try to emerge mpeg2vidcodec, or any application that depends on it, mpeg2vidcodec fails to compile. GCC complains that you cannot specify -o with -c or -S. I'd fix it, but I don't know enough about Gentoo yet. Reproducible: Always Steps to Reproduce: 1. emerge mpeg2vidcodec 2. 3. Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) media-video/mpeg2vidcodec-12-r1 to / >>> md5 src_uri ;-) mpeg2vidcodec_v12.tar.gz >>> Unpacking source... >>> Unpacking mpeg2vidcodec_v12.tar.gz to /var/tmp/portage/mpeg2vidcodec-12- r1/work mv: cannot stat `/var/tmp/Makefile': No such file or directory >>> Source unpacked. cd src/mpeg2dec; make 'CC=gcc' \ 'CFLAGS=-O /usr/include' \ 'LIBS=' 'LIBRARYDIR=' cd src/mpeg2enc; make 'CC=gcc' 'CFLAGS=-O' make[1]: Entering directory `/var/tmp/portage/mpeg2vidcodec-12- r1/work/mpeg2/src/mpeg2dec' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O /usr/include -c -o mpeg2dec.o mpeg2dec.c gcc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [mpeg2dec.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mpeg2vidcodec-12- r1/work/mpeg2/src/mpeg2dec' make: *** [mpeg2decode] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory `/var/tmp/portage/mpeg2vidcodec-12- r1/work/mpeg2/src/mpeg2enc' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Expected Results: Compiled and installed correctly. gentoo mpeg2vidcodec # emerge info Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo- r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS=" -O" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/shar e/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer -pipe - fprefetch-loop-arrays -ffast-math -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo rsync://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa apm arts avi berkdb bonobo cdr crypt cups dga directfb encode esd ethereal evo fbcon flac flash foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtkhtml imagemagick imap imlib jabber java jikes jpeg kde kerberos ldap libg++ libwww mad mikmod motif mozilla mpeg msn ncurses nls odbc oggvorbis opengl oscar oss pam pdflib perl png python qt quicktime readline samba sdl slang slp spell sse ssl svga tcltk tcpd theora tiff truetype usb wmf x86 xinerama xml2 xmms xosd xv zlib"
Funny, this happened when i was ssh'd into the box. I went over to it later today and used Porthole to emerge mpeg2vidcodec and it went without error. What's the deal with building through ssh?
it has nothing to do with the fact that you we're logged in via ssh i would say: gcc: cannot specify -o with -c or -S and multiple compilations. feel free to reopen this one if you still have problems.