During compilation modules omnibook on my notebook HP NC6400 received this error: CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.o /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:37: error: unknown field ‘owner’ specified in initializer /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:37: warning: initialization makes integer from pointer without a cast /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:37: error: initializer element is not computable at load time /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:37: error: (near initialization for ‘omnibookbl_data.brightness’) /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:38: error: unknown field ‘get_brightness’ specified in initializer /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:38: warning: initialization makes integer from pointer without a cast /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:38: error: initializer element is not computable at load time /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:38: error: (near initialization for ‘omnibookbl_data.max_brightness’) /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:39: error: unknown field ‘update_status’ specified in initializer /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:39: warning: initialization makes integer from pointer without a cast /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:39: error: initializer element is not computable at load time /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:39: error: (near initialization for ‘omnibookbl_data.power’) /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c: In function ‘omnibook_set_backlight’: /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:58: error: invalid type argument of ‘->’ /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c: In function ‘omnibook_brightness_init’: /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.c:131: warning: passing argument 4 of ‘backlight_device_register’ from incompatible pointer type make[2]: *** [/var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.o] Error 1 make[1]: *** [_module_/var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22-suspend2-r2' make: *** [omnibook.ko] Error 2 Reproducible: Always Steps to Reproduce: 1.emerge -av omnibook Actual Results: error is pending
Created attachment 137041 [details] Omnibook module compilation error log
Portage 2.1.4_rc3 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.22-suspend2-r2 x86_64) ================================================================= System uname: 2.6.22-suspend2-r2 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Timestamp of tree: Mon, 26 Nov 2007 08:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.4.4-r7, 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops" 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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer prelink sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.inode.at/" LANG="czech" LC_ALL="cs_CZ.UTF8" LDFLAGS="" LINGUAS="cs en en_GB" MAKEOPTS="-j1" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X X509 Xaw3d a52 aac aalib accessibility acl acpi addbookmarks aio akode alsa altcolors amd64 asf async audiofile automount bash-completion bcmath berkdb bitmap-fonts blueooth bluetooth branding browserplugin bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr cdrom chroot cli collision-protect cpdflib cpudetection cracklib crypt cscope css csv ctype cups curl curlwrappers custom-cflags cvs dbus dc1394 dga dio diskio divx divx4linux dmx doc dpms dri dvb dvd dvdr dvdread elf encode erandom ethereal exif expat extensions fam fame ffmpeg firefox flac flatfile fmod fontconfig fpx freetype ftp fuse gdbm gif glistif glitz glut gnutls graphviz gs gtk2 hal hdaps hddtemp hdri hpn iconv icq ieee1394 imagemagick imlib imlib2 inline insecure-drivers iproute2 irda isdnlog ithreads jabber java javascript jbig jpeg jpeg2k kde kdehiddenvisibility kdexdeltas kdrive kerberos lame lcms ldap lesstif lha libcaca libedit libg++ libvisual libwww linuxthreads-tls lirc live lm_sensors logrotate lzo lzw lzw-tiff mad matroska mhash midi mikmod mime mmx mmx2 mng motif mp2 mp3 mp4 mpeg mplayer mudflap multicall musepack nas ncurses newspr nls no-old-linux nocardbus nojoustick nomac nomalloccheck nowebdav nptl nptlonly ntlm_unsupported_patch oav ogg oggvorbis openal openexr opengl openmp optimisememory oss pam pcmcia pcmcia-cs pcntl pcre pdf pdflib perl pertty pic png pnm posix postgres pppd pvr python q32 qt qt3 qt3support qt4 quicktime rar rdesktop readline recode reflection rtc rtsp samba sasl sdl session sha shared sharedmem silc skey skins slang slp smartcard smux sndfile snmp socks socks5 sox spl sql sse sse2 ssl ssse3 stream subversion svg swig syslog sysvipc szip tabs tcl tcltk tcpd test tga theora threads tidy tiff tk transcode truetype truetype-fonts twinserial type1-fonts udev unicode upnp usb userlocales v4l v4l2 vcd vdr videos vim vim-pager vim-syntax vim-with-x visualization vlm vorbis wifi winbind wmf wxwindows x264 xanim xcb xcomposite xface xine xml xml2 xorg xosd xpm xsl xv xvid xvmc yv12 zlib" ALSA_CARDS="intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse vmmouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en en_GB" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="fglrx ati dummy vmware radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This is because the latest released version of omnibook does not work on kernels > 2.6.11 (added a check for this in ebuild). If you have a more recent kernel and need omnibook, there is omnibook-svn in Portage, which fetches the sources directly from omnibook svn repository...
Uh, 2.6.11? Can we remove the ebuild altogether? Plus, wondering how did nelchael test this... ??? http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/omnibook/ChangeLog?r1=1.19&r2=1.20
Michele: it works fine for me on 2.6.23-tuxonice-r2 on amd64 - in fact I'm using it right now.
(In reply to comment #5) > Michele: it works fine for me on 2.6.23-tuxonice-r2 on amd64 - in fact I'm > using it right now. That's interesting. Sorry nelchael, didn't notice the date of your commit, thought it was older. Well, yesterday I tried to compile it on suspend2-sources-2.6.22-r2 and gentoo-sources-2.6.23-r2, failing on both kernels (x86 hardware here). Previously it did work on older versions of these kernels. Maybe this issue is arch / kernel flavour related? I'm fetching tuxonice-sources-2.6.23-r2 to have a look...
Tried tuxonice-sources-2.6.23-r2, same error. Arch issues?
Created attachment 137107 [details] config-2.6.23-tuxonice-r2-x86_64 This is my kernel config, my emerge --info: Portage 2.1.4_rc3 (default-linux/amd64/2007.0/no-multilib, gcc-4.2.2, glibc-2.7-r0, 2.6.23-tuxonice-r2 x86_64) ================================================================= System uname: 2.6.23-tuxonice-r2 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz Timestamp of tree: Tue, 27 Nov 2007 07:30:07 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.4.4-r7, 2.5.1-r4 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" 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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect cvs distlocks metadata-transfer multilib-strict noinfo parallel-fetch sandbox sfperms sign strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/ http://gentoo.mirror.pw.edu.pl/ http://ftp.heanet.ie/pub/gentoo/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://distfiles.gentoo.org/" INSTALL_MASK="/usr/share/gtk-doc /media" LINGUAS="en pl" MAKEOPTS="-j4" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/nelchael/overlays/nelchael /home/nelchael/overlays/silvermedia" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cli cracklib crypt cups dbus dri firefox iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility midi mmx mp3 mudflap ncurses nls nptl nptlonly offensive opengl openmp optipng pam pcre png ppds pppd python readline reflection session source spl sse sse2 ssl svg truetype truetype-fonts type1-fonts unicode vim vim-syntax vorbis xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS And a log of omnibook build (after removing the 2.6.11 related test): >>> Compiling source in /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211 ... * Preparing omnibook module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211 modules make[1]: Entering directory `/usr/src/linux-2.6.23-tuxonice-r2' WARNING: Symbol version dump /usr/src/linux-2.6.23-tuxonice-r2/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/init.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lib.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/ec.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/kbc.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/pio.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/compal.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/acpi.o /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/init.c: In function 'dmi_matched': /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/init.c:137: warning: cast from pointer to integer of different size CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/nbsmi.o /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/acpi.c:76: warning: initialization from incompatible pointer type CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/ac.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/battery.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/blank.o /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/nbsmi.c:396: warning: initialization from incompatible pointer type CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/bluetooth.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/cooling.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/display.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/dock.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/dump.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/fan.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/fan_policy.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/hotkeys.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/info.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/lcd.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/muteled.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/polling.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/temperature.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/touchpad.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/wireless.o CC [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/throttling.o LD [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/omnibook.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/omnibook.mod.o LD [M] /var/tmp/portage/app-laptop/omnibook-20070211/work/omnibook-2.20070211/omnibook.ko make[1]: Leaving directory `/usr/src/linux-2.6.23-tuxonice-r2' >>> Source compiled.
I've added todays snapshot to my overlay (http://overlays.gentoo.org/svn/dev/nelchael/app-laptop/omnibook/), Jiri: please test this release. Michele: instead of omnibook-svn I'd prefer to have snapshots, like the one mentioned above. If it works for Jiri I suggest dropping omnibook-svn and going with snapshots. If you need a hand with it I can help.
(In reply to comment #9) > I've added todays snapshot to my overlay > (http://overlays.gentoo.org/svn/dev/nelchael/app-laptop/omnibook/), Jiri: > please test this release. > > Michele: instead of omnibook-svn I'd prefer to have snapshots, like the one > mentioned above. If it works for Jiri I suggest dropping omnibook-svn and going > with snapshots. If you need a hand with it I can help. > Hello all Now is compilation working smoothly Thanks all of you.
(In reply to comment #9) > I've added todays snapshot to my overlay > (http://overlays.gentoo.org/svn/dev/nelchael/app-laptop/omnibook/), Jiri: > please test this release. > > Michele: instead of omnibook-svn I'd prefer to have snapshots, like the one > mentioned above. If it works for Jiri I suggest dropping omnibook-svn and going > with snapshots. If you need a hand with it I can help. Krzysiek: I no longer have the hardware to test this package (my old laptop broke), are you interested in taking maintainership for this?
(In reply to comment #11) > Krzysiek: I no longer have the hardware to test this package (my old laptop > broke), are you interested in taking maintainership for this? Sure, feel free to reassign all the bugs about omnibook to me.
This is the only open bug, actually... it's all yours now :-) Please remove me from metadata.xml of omnibook and omnibook-svn. Thanks for your efforts :-)
omnibook-20080125 committed to the tree, omnibook-svn is going to be p.masked and then removed.