Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77404 - nuppelvideo-0.52a doesn't compile. problems with newer gcc versions?
Summary: nuppelvideo-0.52a doesn't compile. problems with newer gcc versions?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 12:23 UTC by Holly
Modified: 2005-01-14 10:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holly 2005-01-10 12:23:21 UTC
Nuppelvideo (which heavily overrides my CFLAGS) doesn't compile with 3.4.3-r1.

>>> md5 src_uri ;-) NuppelVideo-0.52a.tar.gz
>>> Unpacking source...
>>> Unpacking NuppelVideo-0.52a.tar.gz to /var/tmp/portage/nuppelvideo-0.52a/work
>>> Source unpacked.
gcc -Wall -O3 -DMMX -mcpu=pentium -march=pentium -funroll-loops -fexpensive-optimizations -finline-functions -I/usr/src/linux/drivers/char/ -O3 -fexpensive-optimizations -funroll-loops -finline-functions -c areaDeinterlace.c
gcc -c -O3 -Wall -DMMX -mcpu=pentium -funroll-loops -fexpensive-optimizations -finline-functions RTjpegN.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
areaDeinterlace.c: In function `AreaBasedDeinterlacerYUV420':
areaDeinterlace.c:75: warning: implicit declaration of function `memcpy'
RTjpegN.c: In function `RTjpeg_b2s':
RTjpegN.c:157: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c:166: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c:195: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c:207: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c:224: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c:245: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c:255: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c:262: warning: use of cast expressions as lvalues is deprecated
RTjpegN.c: In function `RTjpeg_s2b':
RTjpegN.c:356: error: label at end of compound statement
make: *** [RTjpegN.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-tv/nuppelvideo-0.52a failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


I wanted to test it with gcc-3.3, but don't have it properly installed. theres just an i386-pc-linux-gnu-3.3.4 profile from stage1, but i even cannot set it with gcc-config.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 VIA Nehemiah
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  5 2005, 21:50:20)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -Os -mtune=c3-2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -Os -mtune=c3-2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://194.117.143.71 http://194.117.143.70
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.117.143.69"
LDFLAGS=""
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="x86 X aac aalib acl acpi alsa apache2 apm arts audiofile avi
bash-completion berkdb bigger-fonts bitmap-fonts bzlib calendar caps cdb
cdparanoia cdr cle266 codecs cpdflib crypt cups curl dba dedicated divx4linux
djbfft dts dvb dvd dvdr dvdread edl encode ethereal evo fam fastcgi fbcon fftw
flac flash fortran ftp gd gdbm gif gnome gnutls gphoto2 gpm gps gstreamer gtk
gtk2 iconv icq imagemagick imap imlib ipv6 jack java joystick jpeg kde
kdexdeltas ladcca lcms libcaca libwww live lm_sensors lzo mad maildir
mailwrapper makecheck mcal memlimit mikmod mime ming mmx mng mozilla mpeg mysql
mythtv nas ncurses nls nocd nptl offensive oggvorbis opengl oscar oss pam pcre
pda pdflib perl php png pnp portaudio pwdb python qt quicktime readline real
recode rrdtool rtc samba sdl session sharedmem slang slp sndfile snmp soap
sockets sox speex spell spl sqlite sse ssl svg svga tcltk tcpd tetex tga theora
tidy tiff transcode truetype unicode usb userlocales v4l v4l2 vhosts videos vim
wmf wxwindows xanim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv
xvid xvmc zlib video_cards_cle266"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-14 09:30:09 UTC
Made a patch to get it through the compiler, should be in portage soon. Please re-open if it doesn't work for you. About the CFLAGS, I tend to trust the author's choice there. Please tell me if there are grave problems with the predefined ones.
Comment 2 Holly 2005-01-14 10:39:51 UTC
i didn't test the program yet, but it compiled successfully, so thank you :)