In file included from drv_generic_i2c.c:76: lcd4linux_i2c.h:81: error: array type has incomplete element type make: *** [drv_generic_i2c.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: app-misc/lcd4linux-0.10.0 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile lcd4linux-0.10.0.ebuild, line 35: Called die ----------- Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.12.4 Last Sync: Tue, 12 Sep 2006 01:20:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 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.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/share/X11/xkb /usr/share/logwatch /var/www/localhost/htdocs/cacti/include" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LINGUAS="" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 avi berkdb bitmap-fonts bzip2 cli crypt dlloader dri eds elibc_glibc emboss encode fam foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session snmp spl sse sse2 ssl svg tiff truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_fglrx vorbis xml xmms xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ups, this is exactly the bugs described in Bug146407
Well I guess this can be marked as duplicate. :) *** This bug has been marked as a duplicate of 146407 ***
This bug was not really a duplication of Bug146407. linux-headers have been updated and lcd4linux is still failing. The fix for the error is really simple. I have attached the patch. Compilaton is fine now, but I am getting display errors that were not there before gcc4. I think I should try getting the latest CVS.
Created attachment 101891 [details, diff] Patch for lcd4linux_i2c.h
(In reply to comment #3) > linux-headers have been updated and lcd4linux is still failing. That is right, the bug is also fixed in CVS already. But getting the current CVS into portage is not a good idea because the maintainer says that he does not think it is ready for production. > The fix for the error is really simple. I have attached the patch. Compilaton > is fine now, but I am getting display errors that were not there before gcc4. I missed doing this myself. The patch will be included in the ebuild.
Bug is fixed in Jokey's overlay <http://overlays.gentoo.org/dev/jokey/changeset/81>
Fixed in CVS, thanks guys :)