While compiling, the configure script fails with the following error: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/lib/esmart_draggies -O2 -march=pentium4 -fomit-frame-pointer -Wall -MT esmart_draggies.lo -MD -MP -MF .deps/esmart_draggies.Tpo -c esmart_draggies.c -fPIC -DPIC -o .libs/esmart_draggies.o esmart_draggies.c:10:21: Ecore_X.h: No such file or directory esmart_draggies.c: In function `_mouse_down_cb': esmart_draggies.c:63: error: `Ecore_X_Event_Mouse_Button_Down' undeclared (first use in this function) esmart_draggies.c:63: error: (Each undeclared identifier is reported only once esmart_draggies.c:63: error: for each function it appears in.) esmart_draggies.c:63: error: `evx' undeclared (first use in this function) esmart_draggies.c:67: error: `ECORE_X_EVENT_MOUSE_BUTTON_DOWN' undeclared (first use in this function) esmart_draggies.c: In function `_mouse_move_cb': esmart_draggies.c:88: error: `Ecore_X_Event_Mouse_Move' undeclared (first use in this function) esmart_draggies.c:88: error: `evx' undeclared (first use in this function) esmart_draggies.c:92: error: `ECORE_X_EVENT_MOUSE_MOVE' undeclared (first use in this function) The core error is this: esmart_draggies.c:10:21: Ecore_X.h: No such file or directory. I don't know if Xorg is supposed to provide Ecore_X.h, but I can only find /usr/include/Ecore.H on my system. My xorg-x11 version is x11-base/xorg-x11-6.8.2-r5, with an added patch for multi-head X. http://tldp.org/HOWTO/XFree-Local-multi-user-HOWTO/index.html. This patch should only change pci access code in Xfree, but maybe the problem is caused by this patch. Is this problem reproducable on other systems using x11-libs/esmart-0.9.0.002? I'm now trying to recompile xorg-x11 without the backstreet ruby patch. The cvs ebuild (esmart-999) has the same problem. Reproducible: Always Steps to Reproduce: 1.echo "x11-libs/esmart 2.emerge esmart Actual Results: Gcc gave an error: esmart_draggies.c:10:21: Ecore_X.h: No such file or directory esmart_draggies.c: In function `_mouse_down_cb': esmart_draggies.c:63: error: `Ecore_X_Event_Mouse_Button_Down' undeclared (first use in this function) esmart_draggies.c:63: error: (Each undeclared identifier is reported only once esmart_draggies.c:63: error: for each function it appears in.) esmart_draggies.c:63: error: `evx' undeclared (first use in this function) esmart_draggies.c:67: error: `ECORE_X_EVENT_MOUSE_BUTTON_DOWN' undeclared (first use in this function) esmart_draggies.c: In function `_mouse_move_cb': esmart_draggies.c:88: error: `Ecore_X_Event_Mouse_Move' undeclared (first use in this function) esmart_draggies.c:88: error: `evx' undeclared (first use in this function) esmart_draggies.c:92: error: `ECORE_X_EVENT_MOUSE_MOVE' undeclared (first use in this function) Expected Results: The file Ecore_X.h should be in the include path. OR maybe the reference to Ecore_X.h is a typo in the source .c-file and should be changed to Ecore.h. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11.10 i686) ================================================================= System uname: 2.6.11.10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 6 2005, 22:52:08)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="nl_BE.UTF-8" LC_ALL="nl_BE.UTF-8" LINGUAS="nl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups divx4linux divxforlinux dmx emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 guile imlib ipv6 java javascript jpeg kde ldap libg++ libwww live mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real rtc samba sdl spell sse sse2 ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode v4l vorbis xgetdefault xinerama xml2 xmms xprint xv xvid xvmc zlib linguas_nl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
re-emerge ecore with USE=X