Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86496 - waimea-0.4.0-r1 doesn't compile with imlib2 unresolved symbols
Summary: waimea-0.4.0-r1 doesn't compile with imlib2 unresolved symbols
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-24 03:30 UTC by Fabian Svara
Modified: 2005-04-06 06:54 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 Fabian Svara 2005-03-24 03:30:55 UTC
waimea needs imlib2 to be compiled with the "X" use flag. It will complain about various unresolved symbols, "imlib_context_set_display" among others. imlib2 doesn't have those when compiled without USE="X".

Reproducible: Always
Steps to Reproduce:
1. Emerge imlib2 without USE="X"
2. Try to emerge waimea
3.

Actual Results:  
i686-pc-linux-gnu-g++  -O3 -march=pentium3 -pipe -fomit-frame-pointer   -lSM
-lICE -o waimea  main.o Waimea.o Screen.o Window.o Resources.o Event.o Image.o
Menu.o Net.o Dockapp.o Timer.o Regex.o Font.o  -lX11 -lXext  -lXrender -lXrandr
-lXft -lX11 -lfreetype -lXrender -lfontconfig   -lImlib2
Screen.o(.text+0x41d): In function
`WaScreen::WaScreen[not-in-charge](_XDisplay*, int, Waimea*)':
: undefined reference to `imlib_context_set_display'
Screen.o(.text+0x43e): In function
`WaScreen::WaScreen[not-in-charge](_XDisplay*, int, Waimea*)':
: undefined reference to `imlib_context_set_drawable'
Screen.o(.text+0x45f): In function
`WaScreen::WaScreen[not-in-charge](_XDisplay*, int, Waimea*)':
: undefined reference to `imlib_context_set_colormap'
Screen.o(.text+0x480): In function
`WaScreen::WaScreen[not-in-charge](_XDisplay*, int, Waimea*)':
: undefined reference to `imlib_context_set_visual'
Screen.o(.text+0x17ad): In function `WaScreen::WaScreen[in-charge](_XDisplay*,
int, Waimea*)':
: undefined reference to `imlib_context_set_display'
Screen.o(.text+0x17ce): In function `WaScreen::WaScreen[in-charge](_XDisplay*,
int, Waimea*)':
: undefined reference to `imlib_context_set_drawable'
Screen.o(.text+0x17ef): In function `WaScreen::WaScreen[in-charge](_XDisplay*,
int, Waimea*)':
: undefined reference to `imlib_context_set_colormap'
Screen.o(.text+0x1810): In function `WaScreen::WaScreen[in-charge](_XDisplay*,
int, Waimea*)':
: undefined reference to `imlib_context_set_visual'
Window.o(.text+0xb377): In function `WaChildWindow::Render()':
: undefined reference to `imlib_free_pixmap_and_mask'
Resources.o(.text+0x12698): In function
`ResourceHandler::ReadDatabaseTexture(char*, char*, WaTexture*, unsigned long,
WaImageControl*)':
: undefined reference to `imlib_context_set_mask'
Image.o(.text+0x4bb): In function `WaImage::render_pixmap(WaTexture*)':
: undefined reference to `imlib_context_set_mask'
Image.o(.text+0x4e6): In function `WaImage::render_pixmap(WaTexture*)':
: undefined reference to `imlib_render_pixmaps_for_whole_image'
Image.o(.text+0x51e): In function `WaImage::render_pixmap(WaTexture*)':
: undefined reference to `imlib_render_pixmaps_for_whole_image_at_size'
collect2: ld returned 1 exit status
make[2]: *** [waimea] Error 1
make[2]: Leaving directory `/var/tmp/portage/waimea-0.4.0-r1/work/waimea-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/waimea-0.4.0-r1/work/waimea-0.4.0'
make: *** [all] Error 2

Expected Results:  
Compile..

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 22 2005, 14:24:50)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 avi bash-completion berkdb bitmap-fonts crypt cups curl emboss encode
esd fam foomaticdb gdbm gif giff glut gnome gpm gstreamer gtk gtk2 imlib ipv6
jpeg libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls nptl
nptlonly oggvorbis opengl oss pam pdflib perl png python qt quicktime readline
ruby samba sdl spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts
unicode xml2 xmms xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-04-06 06:54:07 UTC
I added a check in pkg_setup() to see if imlib2 was
built with X USE flag. Thanks for the bug report.