Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152002 - media-video/SDLcam-0.7.3-r2 doesn't emerge: SDL_v4l_filters_thomas.c:154: error: memory input 4 is not directly addressable
Summary: media-video/SDLcam-0.7.3-r2 doesn't emerge: SDL_v4l_filters_thomas.c:154: err...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Other
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 13:21 UTC by Thomas Tuttle
Modified: 2006-10-21 22:35 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 Thomas Tuttle 2006-10-19 13:21:38 UTC
`emerge SDLcam' (SDLcam-0.7.3.r2) fails with compiler errors.  The details will follow in a comment.
Comment 1 Thomas Tuttle 2006-10-19 13:22:03 UTC
emerge --info:

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 19 Oct 2006 02:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer prelink sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa arts asf berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader doc dri dvd dvdr eds elibc_glibc emboss encode esd exif fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java5 jikes jpeg kde kernel_linux ldap libg++ linguas_en linguas_en_US lirc_devices_streamzap mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session source spell spl srvdir sse sse2 ssl svga symlink tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 video_cards_i945 video_cards_vesa vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Compile log:

>>> Compiling source in /var/tmp/portage/SDLcam-0.7.3-r2/work/SDLcam-0.7.3 ...
g++ -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c main.cpp
gcc -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c init.c
g++ -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c SDL_v4l.cpp
input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor
input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor
gcc -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c SDL_v4l_filters.c
main.cpp: In function 'int main(int, char**)':
main.cpp:145: warning: 'image' may be used uninitialized in this function
g++ -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c webcam.cpp
g++ -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c interface.cpp
input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor
g++ -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c configuration.cpp
input.h:5: warning: 'class cInput' has virtual functions but non-virtual destructor
gcc -O2 -march=nocona -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c config_file.c
gcc -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -c SDL_v4l_filters_thomas.c
SDL_v4l_filters_thomas.c: In function 'yuv420p_to_rgb32':
SDL_v4l_filters_thomas.c:154: error: memory input 4 is not directly addressable
SDL_v4l_filters_thomas.c:154: error: memory input 5 is not directly addressable
SDL_v4l_filters_thomas.c: In function 'yuv420p_to_bgr32':
SDL_v4l_filters_thomas.c:256: error: memory input 4 is not directly addressable
SDL_v4l_filters_thomas.c:256: error: memory input 5 is not directly addressable
make: *** [SDL_v4l_filters_thomas.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-video/SDLcam-0.7.3-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 608:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Thomas Tuttle 2006-10-19 13:28:26 UTC
And from a second system:

emerge --info:

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.5
Last Sync: Thu, 12 Oct 2006 20:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.42.0.8/gentoo-portage"
USE="x86 X alsa arts berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_vesa video_cards_vga vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Compile log:

>>> Compiling source in /var/tmp/portage/SDLcam-0.7.3-r2/work/SDLcam-0.7.3 ...
g++ -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c main.cpp
main.cpp: In function `int main(int, char**)':
main.cpp:145: warning: 'image' might be used uninitialized in this function
gcc -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c init.c
In file included from interface.h:45,
                 from init.c:27:
/usr/include/SDL/SDL_ttf.h:90: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
/usr/include/SDL/SDL_ttf.h:92: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
g++ -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c SDL_v4l.cpp
gcc -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c SDL_v4l_filters.c
In file included from interface.h:45,
                 from SDL_v4l_filters.c:33:
/usr/include/SDL/SDL_ttf.h:90: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
/usr/include/SDL/SDL_ttf.h:92: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
g++ -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c webcam.cpp
g++ -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c interface.cpp
g++ -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -c configuration.cpp
gcc -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c config_file.c
gcc -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -c SDL_v4l_filters_thomas.c
SDL_v4l_filters_thomas.c: In function `yuv420p_to_rgb32':
SDL_v4l_filters_thomas.c:154: warning: use of memory input without lvalue in asm operand 4 is deprecated
SDL_v4l_filters_thomas.c:154: warning: use of memory input without lvalue in asm operand 5 is deprecated
SDL_v4l_filters_thomas.c: In function `yuv420p_to_bgr32':
SDL_v4l_filters_thomas.c:256: warning: use of memory input without lvalue in asm operand 4 is deprecated
SDL_v4l_filters_thomas.c:256: warning: use of memory input without lvalue in asm operand 5 is deprecated
gcc -O2 -march=pentium3 -pipe -Wshadow -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DMMX -DTIMER -DPROG_VERSION=\"0.7.3\" -Wstrict-prototypes -c dump_thomas.c
dump_thomas.c: In function `write_file_jpeg':
dump_thomas.c:36: error: storage size of 'jpeg' isn't known
dump_thomas.c:37: error: storage size of 'jpeg_err' isn't known
dump_thomas.c:43: warning: implicit declaration of function `jpeg_std_error'
dump_thomas.c:44: warning: implicit declaration of function `jpeg_create_compress'
dump_thomas.c:45: warning: implicit declaration of function `jpeg_stdio_dest'
dump_thomas.c:46: error: `JCS_RGB' undeclared (first use in this function)
dump_thomas.c:46: error: (Each undeclared identifier is reported only once
dump_thomas.c:46: error: for each function it appears in.)
dump_thomas.c:50: error: `JDCT_FLOAT' undeclared (first use in this function)
dump_thomas.c:51: warning: implicit declaration of function `jpeg_set_defaults'
dump_thomas.c:52: warning: implicit declaration of function `jpeg_set_quality'
dump_thomas.c:52: error: `TRUE' undeclared (first use in this function)
dump_thomas.c:53: warning: implicit declaration of function `jpeg_start_compress'
dump_thomas.c:55: warning: implicit declaration of function `jpeg_write_scanlines'
dump_thomas.c:56: warning: implicit declaration of function `jpeg_finish_compress'
dump_thomas.c:57: warning: implicit declaration of function `jpeg_destroy_compress'
dump_thomas.c:36: warning: unused variable `jpeg'
dump_thomas.c:37: warning: unused variable `jpeg_err'
make: *** [dump_thomas.o] Error 1

!!! ERROR: media-video/SDLcam-0.7.3-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 608:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 SpanKY gentoo-dev 2006-10-21 22:35:58 UTC
fixed in cvs