Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149540 - media-video/SDLcam-0.7.3-r1 fails to build due to unresolved png symbols
Summary: media-video/SDLcam-0.7.3-r1 fails to build due to unresolved png symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-29 09:56 UTC by Carl Fongheiser
Modified: 2006-09-30 12:03 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 Carl Fongheiser 2006-09-29 09:56:36 UTC
Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 28 Sep 2006 15:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
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-r3
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=i686 -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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig 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"
SYNC="rsync://192.168.1.17/gentoo-portage"
USE="x86 X a52 acl alsa apache2 apm arts avahi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups daap dlloader dri dts dvd dvdr dvdread elibc_glibc emboss encode ffmpeg flac foomaticdb fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww mad mikmod mmx mono motif mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nvidia vorbis win32codecs x264 xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Error output here:

g++ `sdl-config --libs` `xml2-config --libs` -lSDL_image -lSDL_ttf -lm -lxml2 -rdynamic -ljpeg -ldl main.o init.o SDL_v4l.o SDL_v4l_filters.o webcam.o interface.o configuration.o config_file.o SDL_v4l_filters_thomas.o dump_thomas.o capture.o ftp-upload.o logo.o parser.o misc.o xml_theme.o dyn_misc.o -o SDLcam 
dump_thomas.o: In function `write_file_png':
dump_thomas.c:(.text+0x35e): undefined reference to `png_create_write_struct'
dump_thomas.c:(.text+0x381): undefined reference to `png_create_info_struct'
dump_thomas.c:(.text+0x44a): undefined reference to `png_destroy_write_struct'
dump_thomas.c:(.text+0x4d2): undefined reference to `png_init_io'
dump_thomas.c:(.text+0x517): undefined reference to `png_set_IHDR'
dump_thomas.c:(.text+0x529): undefined reference to `png_write_info'
dump_thomas.c:(.text+0x538): undefined reference to `png_write_image'
dump_thomas.c:(.text+0x54b): undefined reference to `png_write_end'
dump_thomas.c:(.text+0x55d): undefined reference to `png_destroy_write_struct'
dump_thomas.c:(.text+0x591): undefined reference to `png_destroy_write_struct'
collect2: ld returned 1 exit status
make: *** [SDLcam] Error 1

Steps to reproduce:

emerge SDLcam

Notes:
This fails consistently on 4 different Gentoo Linux machines.
Adding -lpng to the LDFLAGS line in the Makefile fixes the problem.
Comment 1 SpanKY gentoo-dev 2006-09-30 12:03:57 UTC
should be fixed in cvs now