emerge ffmpeg fails with the following message: i386-pc-solaris2.10-gcc -DHAVE_AV_CONFIG_H -I. -I"/nilfisk/home/dve/gentoo-clean/var/tmp/portage/media-video/ffmpeg-0.5_p19928/work/ffmpeg-0.5_p19928" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__EXTENSIONS__ -march=native -O2 -pipe -fomit-frame-pointer -march=nocona -std=c99 -fomit-frame-pointer -I/nilfisk/home/dve/gentoo-clean/usr/include/dirac -I/nilfisk/home/dve/gentoo-clean/usr/include/schroedinger-1.0 -I/nilfisk/home/dve/gentoo-clean/usr/include/liboil-0.3 -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavutil/crc.d -MT libavutil/crc.o -c -o libavutil/crc.o libavutil/crc.c {standard input}: Assembler messages: {standard input}:69: Error: unbalanced parenthesis in operand 1. {standard input}:74: Error: unbalanced parenthesis in operand 1. {standard input}:79: Error: unbalanced parenthesis in operand 1. {standard input}:84: Error: unbalanced parenthesis in operand 1. {standard input}:101: Error: unbalanced parenthesis in operand 2. make: *** [libavcodec/x86/mlpdsp.o] Error 1
Created attachment 206160 [details] buildlog
dve@nilfsik-ng ~/gentoo-clean $ emerge --info Portage 2.2.00.14487-prefix (prefix/sunos/solaris/5.10/x86, gcc-4.2.4, unavailable, 5.10 i86pc) ================================================================= System uname: Solaris-2.10-i86pc-i386-32bit-ELF Timestamp of tree: Mon, 05 Oct 2009 15:33:46 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p33 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r2 dev-util/ccache: 2.4-r8 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.9.6-r2, 1.10.2-r00.1, 1.11 sys-devel/binutils: 2.20.51.0.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a-r00.2 ACCEPT_KEYWORDS="~x86-solaris" CBUILD="i386-pc-solaris2.10" CFLAGS="-march=native -O2 -pipe" CHOST="i386-pc-solaris2.10" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/nilfisk/home/dve/gentoo-clean/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="C" LDFLAGS="" LINGUAS="de" MAKEOPTS="-j6" PKGDIR="/nilfisk/home/dve/gentoo-clean/usr/portage/packages" PORTAGE_CONFIGROOT="/nilfisk/home/dve/gentoo-clean/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/nilfisk/home/dve/gentoo-clean/var/tmp" PORTDIR="/nilfisk/home/dve/gentoo-clean/usr/portage" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="X bash-completion berkdb bzip2 cairo cleartype cpudetection cracklib curl derby dirac djvu exif faac faad ffmpeg flac fontconfig gd gif gtk gzip ipv6 java jpeg jpeg2k lcms mng modules mp3 mp4 ncurses nls openexr opengl pdf perl png prefix python readline ruby schroedinger smp speex ssl svg theora threads tiff unicode vim-syntax vorbis wavpack x264 x86-solaris xinerama xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
according to http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-July/061837.html I added --extra-cflags="-Wa,--divide" to the configure call. Now it fails later with: /nilfisk/home/dve/gentoo-clean/usr/lib/gcc/i386-pc-solaris2.10/4.2.4/../../../../i386-pc-solaris2.10/bin/ld: /nilfisk/home/dve/gentoo-clean/var/tmp/portage/media-video/ffmpeg-0.5_p19928/work/ffmpeg-0.5_p19928/libavutil/libavutil.so: read: invalid version 3 (max 0) /nilfisk/home/dve/gentoo-clean/var/tmp/portage/media-video/ffmpeg-0.5_p19928/work/ffmpeg-0.5_p19928/libavutil/libavutil.so: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libavcodec/libavcodec.so.52] Error 1
Created attachment 206229 [details] buildlog with --extra_cflags=-Wa,--divide
hmmm, I think I just fixed ffmpeg on Solaris the other day. can you give this one a clean sync and recompile?
0.6 compiles