Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292508 - app-emulation/vice-2.1 failed to emerge ‘X_ShmAttach’ undeclared
Summary: app-emulation/vice-2.1 failed to emerge ‘X_ShmAttach’ undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 12:20 UTC by Cedric Godin
Modified: 2009-11-12 08:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Include Xmd.h and shmproto.h (bug292508-X_ShmAttach.patch,600 bytes, patch)
2009-11-10 11:01 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Godin 2009-11-09 12:20:21 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../../src -I../../../../../src/arch/unix -I../../../../../src -I../../../../../src -I../../../../../src/drive -I../../../../../src/vdrive -I../../../../../src/c64 -I../../../../../src/c64dtv -I../../../../../src/c128 -I../../../../../src/vic20 -I../../../../../src/pet -I../../../../../src/cbm2 -I../../../../../src/arch/unix/gui -I../../../../../src/arch/unix/x11    -march=athlon64 -O2 -pipe -ggdb -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c x11video.c
x11video.c: In function ‘shmhandler’:
x11video.c:361: erreur: ‘X_ShmAttach’ undeclared (first use in this function)
x11video.c:361: erreur: (Each undeclared identifier is reported only once
x11video.c:361: erreur: for each function it appears in.)

in the configure log I have:
checking for XShmAttach in -lXext... yes

x11-libs/libXext-1.1.1 is installed

Don't know if it's linked (XShm <-> X_Shm)

Reproducible: Always

Steps to Reproduce:
1. emerge app-emulation/vice
2.
3.




Portage 2.2_rc49 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.8_p20080602-r1, 2.6.31-gentoo-r4 x86_64)
=================================================================                                              
System uname: Linux-2.6.31-gentoo-r4-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1                
Timestamp of tree: Sun, 08 Nov 2009 13:45:01 +0000                                                             
app-shells/bash:     4.0_p35                                                                                   
dev-java/java-config: 2.1.9-r1                                                                                 
dev-lang/python:     2.6.4, 3.1.1-r1                                                                           
dev-util/cmake:      2.6.4-r3                                                                                  
sys-apps/baselayout: 2.0.1                                                                                     
sys-apps/openrc:     0.5.2-r1                                                                                  
sys-apps/sandbox:    2.2                                                                                       
sys-devel/autoconf:  2.13, 2.63-r1                                                                             
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                                          
sys-devel/binutils:  2.20                                                                                      
sys-devel/gcc-config: 1.4.1                                                                                    
sys-devel/libtool:   2.2.6a                                                                                    
virtual/os-headers:  2.6.30-r1                                                                                 
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                                   
CFLAGS="-march=athlon64 -O2 -pipe -ggdb"                                                                       
CHOST="x86_64-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_BE.UTF-8"
LC_ALL="fr_BE.UTF-8"
LDFLAGS="-Wl,-z,now"
LINGUAS="fr en_US en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gnustep"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac accessibility acl acpi akonadi alsa amd64 archive audiofile avahi avi bash-completion berkdb bitmap-fonts blender-game branding bzip2 cdinstall cdparanoia cdr chm chroot cle266 clucene consolekit crypt css cups curl dbus dedicated dga diskio dts dv dvb dvd dvdnav dvdr dvdread eigen elf emerald encode erandom faad fam fame fbcon fbcondecor ffmpeg fftw file-icons firefox flac font-server foomaticdb fuse gcc-libffi gd geoip gif git glitz gnustep gphoto2 gpm graphviz hal hddtemp hpcups iceweasel icq imap imlib innodb inotify ipv6 irc ithreads jack java jfs joystick jpeg jpeg2k kcal kde kde4 kdeenablefinal kipi konqueror kontact kqemu largeterminal lcms libffi libnotify libwww live lm_sensors lzma lzo mad maildir mdnsresponder-compat memlimit menu-plugin mikmod mjpeg mmx mmxext mng modperl mozilla moznocompose moznoirc moznomail moznopango mozsvg mp3 mpeg mplayer mpm-worker msn multilib musepack musicbrainz ncurses nepomuk net network nls no-old-linux no_wxgtk1 nowebdav nptl nptlonly nsplugin ntfs nvidia objc offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcf pcre pdf pdfkit pdflib perl plasma png policykit postgres ppds python qmax qt qt3 qt3support qt4 quicktime raptor rdesktop readline redland rtc sasl sblive scanner sdl semantic-desktop session slang slp solver speex spell sql sqlite sse sse2 ssl startup-notification subversion svg theora threads tidy tiff trash-plugin truetype truetype-fonts type1-fonts unicode usb userlocales utempter v4l v4l2 vcd vdesktop vhosts videos visualization vlm vmmouse vorbis webdav-neon webkit wmf wv2 xanim xattr xcb xcomposite xfs xine xinerama xml xml2 xorg xpm xrandr xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="emu10k1 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en_US en_GB" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin von Gagern 2009-11-10 11:01:43 UTC
Created attachment 209828 [details, diff]
Include Xmd.h and shmproto.h

This error seems to be due to a missing include file. This patch should fix it.
I'm using x11-proto/xextproto-7.1.1 and x11-libs/libXext-1.1.1 here.
Comment 2 Marco 2009-11-10 17:03:06 UTC
> This error seems to be due to a missing include file. This patch should fix it.

I also ran into the same problem yesterday. Indeed, there are these two includes missing in x11video.c ... this patch did the trick. Thank you, Martin!
Comment 3 Tupone Alfredo gentoo-dev 2009-11-12 08:00:24 UTC
Fixed. Thanks