Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220749

Summary: media-video/dvgrab-3.1 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: media-video herd <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: dvgrab-3.1-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-05-07 13:09:05 UTC
make[1]: Entering directory `/var/tmp/portage/media-video/dvgrab-3.1/work/dvgrab-3.1'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/lqt     -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT avi.o -MD -MP -MF ".deps/avi.Tpo" \
          -c -o avi.o `test -f 'avi.cc' || echo './'`avi.cc; \
        then mv -f ".deps/avi.Tpo" ".deps/avi.Po"; \
        else rm -f ".deps/avi.Tpo"; exit 1; \
        fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/lqt     -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT dvframe.o -MD -MP -MF ".deps/dvframe.Tpo" \
          -c -o dvframe.o `test -f 'dvframe.cc' || echo './'`dvframe.cc; \
        then mv -f ".deps/dvframe.Tpo" ".deps/dvframe.Po"; \
        else rm -f ".deps/dvframe.Tpo"; exit 1; \
        fi
dvframe.cc: In member function ‘void DVFrame::Deinterlace(void*, int)’:
dvframe.cc:845: error: ‘memcpy’ was not declared in this scope
make[1]: *** [dvframe.o] Error 1
make[1]: *** Waiting for unfinished jobs....
avi.cc: In constructor ‘AVIFile::AVIFile()’:
avi.cc:81: error: ‘memset’ was not declared in this scope
avi.cc:91: error: ‘memset’ was not declared in this scope
make[1]: *** [avi.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/dvgrab-3.1/work/dvgrab-3.1'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-07 13:09:44 UTC
Created attachment 152259 [details, diff]
dvgrab-3.1-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-05-07 20:32:17 UTC
committed