Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76029 - feh-1.2.6 fails to compile on Amd64
Summary: feh-1.2.6 fails to compile on Amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-29 07:20 UTC by Nuno Alexandre
Modified: 2004-12-29 15:21 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 Nuno Alexandre 2004-12-29 07:20:12 UTC
feh does not compile.

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge feh
3.

Actual Results:  
[~] sudo emerge feh > emerge-feh
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
menu.c: In function `feh_menu_init_common':
menu.c:1320: warning: cast to pointer from integer of different size
menu.c:1325: warning: cast to pointer from integer of different size
menu.c:1333: warning: cast to pointer from integer of different size
menu.c:1345: warning: cast to pointer from integer of different size
menu.c:1350: warning: cast to pointer from integer of different size
menu.c:1359: warning: cast to pointer from integer of different size
menu.c:1364: warning: cast to pointer from integer of different size
menu.c: In function `feh_menu_cb_background_set_tiled':
menu.c:1567: warning: cast from pointer to integer of different size
menu.c: In function `feh_menu_cb_background_set_seamless':
menu.c:1583: warning: cast from pointer to integer of different size
menu.c: In function `feh_menu_cb_background_set_scaled':
menu.c:1598: warning: cast from pointer to integer of different size
menu.c: In function `feh_menu_cb_background_set_centered':
menu.c:1613: warning: cast from pointer to integer of different size
menu.c: In function `feh_menu_cb_background_set_tiled_no_file':
menu.c:1625: warning: cast from pointer to integer of different size
menu.c: In function `feh_menu_cb_background_set_scaled_no_file':
menu.c:1636: warning: cast from pointer to integer of different size
menu.c: In function `feh_menu_cb_background_set_centered_no_file':
menu.c:1647: warning: cast from pointer to integer of different size
menu.c: In function `feh_menu_cb_edit_rotate':
menu.c:2001: warning: cast from pointer to integer of different size
support.c: In function `enl_ipc_timeout':
support.c:492: warning: cast to pointer from integer of different size
imlib.o(.text+0xda): In function `init_x_and_imlib':
: undefined reference to `imlib_context_set_display'
imlib.o(.text+0xe6): In function `init_x_and_imlib':
: undefined reference to `imlib_context_set_visual'
imlib.o(.text+0xf2): In function `init_x_and_imlib':
: undefined reference to `imlib_context_set_colormap'
/usr/lib/libgiblib.so: undefined reference to `imlib_create_image_from_drawable'
/usr/lib/libgiblib.so: undefined reference to
`imlib_render_image_part_on_drawable_at_size'
/usr/lib/libgiblib.so: undefined reference to
`imlib_render_image_on_drawable_at_size'
/usr/lib/libgiblib.so: undefined reference to `imlib_context_set_drawable'
/usr/lib/libgiblib.so: undefined reference to `imlib_render_image_on_drawable'
collect2: ld returned 1 exit status
make[3]: *** [feh] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/feh-1.2.6 failed.
!!! Function src_compile, Line 510, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.





Expected Results:  
:)

Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.10-rc3-bk14 x86_64)
=================================================================
System uname: 2.6.10-rc3-bk14 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.8
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5,sys-devel/autoconf-2.13
Automake:
sys-devel/automake-1.8.5-r1,sys-devel/automake-1.8.5-r2,sys-devel/automake-1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.9.3
Binutils: sys-devel/binutils-2.15.92.0.2-r1,sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 1 Nuno Alexandre 2004-12-29 15:21:15 UTC
fixed,

resolution: compilie imlib2 with X useflag

USE="X" emerge imlib2