[Solved]vmware won't compile modules under 2.6.37

Installation went well, but during the compilation it fails and looks like broken code :
struct file_operations’ has no member named ‘ioctl’
implicit declaration of function ‘kernel_locked’
[/tmp/vmware-root]#:uname -r
2.6.37-ARCH
Failing to compile driver.c
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
Stopping VMware services:
VMware USB Arbitrator done
/etc/rc.d/vmware: line 88: /sbin/lsmod: No such file or directory
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
/etc/rc.d/vmware: line 108: /sbin/lsmod: No such file or directory
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.37-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-2.6.37-ARCH'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘init_module’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:425:15: error: ‘struct file_operations’ has no member named ‘ioctl’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1736:7: error: implicit declaration of function ‘kernel_locked’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.37-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Last edited by dakt (2011-02-23 23:58:50)

I found the solution on http://communities.vmware.com/thread/29 … 0&tstart=0
Linux x201 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 18 16:58:42 UTC 2011 i686 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux
VMware Workstation 7.1.3 build-324285

Similar Messages

  • [solved] acerhk - won't compile anymore.

    On my 8y old Acer Travelmate i need acerhk to get wifi working.
    Since the latest kernels it won't compile anymore without errors.
    Anyone get some idea how to get arround with this?
    Output:
    make -C /lib/modules/3.8.4-1-ARCH/build SUBDIRS=/tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35 modules
    make[1]: Entering directory `/usr/src/linux-3.8.4-1-ARCH'
    CC [M] /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.o
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2933:23: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »model_init«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2958:22: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »acerhk_remove«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2960:22: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »acerhk_probe«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3042:22: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »acerhk_remove«
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3068:12: Fehler: »acerhk_probe« ist hier nicht deklariert (nicht in einer Funktion)
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3069:2: Fehler: Implizite Deklaration der Funktion »__devexit_p« [-Werror=implicit-function-declaration]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:3069:25: Fehler: »acerhk_remove« ist hier nicht deklariert (nicht in einer Funktion)
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:136:14: Warnung: »reg2« definiert, aber nicht verwendet [-Wunused-variable]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:386:13: Warnung: »enable_dritek_keyboard« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:392:13: Warnung: »disable_dritek_keyboard« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:764:12: Warnung: »get_cmos_index« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:876:29: Warnung: »find_hk_area« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:1317:20: Warnung: »setup_model_features« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:1980:20: Warnung: »probe_model« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2205:13: Warnung: »init_input« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2303:13: Warnung: »release_input« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2671:12: Warnung: »acerhk_proc_init« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2783:13: Warnung: »acerhk_proc_cleanup« definiert, aber nicht verwendet [-Wunused-function]
    /tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.c:2925:26: Warnung: »acerhk_misc_dev« definiert, aber nicht verwendet [-Wunused-variable]
    cc1: Einige Warnungen werden als Fehler behandelt
    make[2]: *** [/tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35/acerhk.o] Fehler 1
    make[1]: *** [_module_/tmp/yaourt-tmp-andreas/aur-acerhk/src/acerhk-0.5.35] Fehler 2
    make[1]: Leaving directory `/usr/src/linux-3.8.4-1-ARCH'
    make: *** [acerhk.ko] Fehler 2
    ==> FEHLER: Ein Fehler geschah in build().
    Last edited by lemondreas (2013-03-27 14:42:04)

    sure.
    Make sure to have linux-headers installed as the same version lie your kernel.
    The source for acerhk-0.5.35.tgz is unavailable so i downloaded it from here http://filesocial.com/3ex2d4 and put it in the same folder as PKBUILD
    My PKBUILD looks like this:
    # $Id: PKGBUILD 23215 2010-08-08 21:04:28Z cbrannon $
    # Maintainer: Corrado Primier <[email protected]>
    # Contributor: Marco Fister <[email protected]>
    pkgname=acerhk
    pkgver=0.5.35
    pkgrel=26
    pkgdesc="Acer hotkey driver"
    url="http://www.cakey.de/acerhk/"
    arch=('i686') # Unavailable for x86_64
    license=('GPL')
    depends=('linux>=3.0.0')
    makedepends=('linux-headers>=3.0.0')
    source=(acerhk-0.5.35.tgz acerhk.rc
    2.6.30.patch kernelversion.patch 5100.patch 2.6.36.patch)
    install=acerhk.install
    _kernver=`uname -r`
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    sed -i 's/CFLAGS/EXTRA_CFLAGS/' Makefile
    sed -i 's/__devinit//g; s/__devexit_p//g; s/__devexit//' acerhk.c
    patch -Np1 -i "${srcdir}/5100.patch" || return 1
    patch -Np1 -i "${srcdir}/2.6.30.patch" || return 1
    patch -Np0 -i "${srcdir}/2.6.36.patch" || return 1
    patch -N -p1 < "$srcdir/kernelversion.patch" || return 1
    sed -i 's@linux/config.h@linux/input.h@' "${srcdir}/${pkgname}-${pkgver}/acerhk.c"
    # Set KERNELSRC. The makefile tries to autodetect it with uname,
    # but that is unreliable.
    make CONFIG_FUNCTION_TRACER= KERNELSRC="/lib/modules/${_kernver}/build" acerhk.ko || return 1
    install -Dm644 "${srcdir}/${pkgname}-${pkgver}/acerhk.ko" \
    "${pkgdir}/lib/modules/${_kernver}/kernel/drivers/block/acerhk.ko" || return 1
    install -Dm755 "${srcdir}/acerhk.rc" "${pkgdir}/etc/rc.d/acerhk" || return 1
    # vim:set ts=2 sw=2 et:
    md5sums=('05255919f312cb76af473a760c284433'
    '935584b3e4bfbb3af8460558e5b98bb5'
    '2a0bc99e5b12e25096441df4d53d7df7'
    'fd2ef062ecbc9d670e1b42aa5866d32d'
    '8966a93e66200a535179cf9eb689fe4d'
    'd257a4e9223ebfde48b9608805df9c99')
    By the way:
    Is there any possible way to get acerhk work with systemd?
    Like activating the wifi-LED along the boot process and manually control ist with "sysctl start/stop acerhk"?
    Last edited by lemondreas (2013-03-28 18:15:23)

  • [solved] VMWare won't start

    I am running 3.2.5-1-ARCH
    I installed newest VMWare from their website and patched it with this
    http://weltall.heliohost.org/wordpress/ … 2-and-3-3/
    All modules loaded fine during module installation but when I try to run it, I get this:
    $ vmware
    Logging to /tmp/vmware-juha/modconfig-16684.log
    HostinfoReadDistroFile: could not open file/etc/redhat-release: 2
    HostinfoReadDistroFile: could not open file/etc/redhat_version: 2
    HostinfoReadDistroFile: could not open file/etc/sun-release: 2
    HostinfoReadDistroFile: could not open file/etc/SuSE-release: 2
    HostinfoReadDistroFile: could not open file/etc/novell-release: 2
    HostinfoReadDistroFile: could not open file/etc/sles-release: 2
    HostinfoReadDistroFile: could not open file/etc/debian_version: 2
    HostinfoReadDistroFile: could not open file/etc/debian_release: 2
    HostinfoReadDistroFile: could not open file/etc/mandrake-release: 2
    HostinfoReadDistroFile: could not open file/etc/mandriva-release: 2
    HostinfoReadDistroFile: could not open file/etc/mandrakelinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/turbolinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/fedora-release: 2
    HostinfoReadDistroFile: could not open file/etc/gentoo-release: 2
    HostinfoReadDistroFile: could not open file/etc/nld-release: 2
    HostinfoReadDistroFile: could not open file/etc/lsb-release: 2
    HostinfoReadDistroFile: could not open file/etc/annvix-release: 2
    HostinfoReadDistroFile: Cannot work with empty file.
    HostinfoReadDistroFile: could not open file/etc/arklinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/aurox-release: 2
    HostinfoReadDistroFile: could not open file/etc/blackcat-release: 2
    HostinfoReadDistroFile: could not open file/etc/cobalt-release: 2
    HostinfoReadDistroFile: could not open file/etc/conectiva-release: 2
    HostinfoReadDistroFile: could not open file/etc/immunix-release: 2
    HostinfoReadDistroFile: could not open file/etc/knoppix_version: 2
    HostinfoReadDistroFile: could not open file/etc/lfs-release: 2
    HostinfoReadDistroFile: could not open file/etc/linuxppc-release: 2
    HostinfoReadDistroFile: could not open file/etc/mklinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/pld-release: 2
    HostinfoReadDistroFile: could not open file/etc/slackware-version: 2
    HostinfoReadDistroFile: could not open file/etc/slackware-release: 2
    HostinfoReadDistroFile: could not open file/etc/e-smith-release: 2
    HostinfoReadDistroFile: could not open file/etc/release: 2
    HostinfoReadDistroFile: could not open file/etc/tinysofa-release: 2
    HostinfoReadDistroFile: could not open file/etc/ultrapenguin-release: 2
    HostinfoReadDistroFile: could not open file/etc/UnitedLinux-release: 2
    HostinfoReadDistroFile: could not open file/etc/va-release: 2
    HostinfoReadDistroFile: could not open file/etc/yellowdog-release: 2
    HostinfoOSData: Error: no distro file found
    filename: /lib/modules/3.2.5-1-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.2.5-1-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.2.5-1-ARCH/misc/vmnet.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Networking Driver.
    author: VMware, Inc.
    depends:
    vermagic: 3.2.5-1-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.2.5-1-ARCH/misc/vmblock.ko
    supported: external
    version: 1.1.2.0
    license: GPL v2
    description: VMware Blocking File System
    author: VMware, Inc.
    srcversion: 41F3B88F064DD85BCE8AFCC
    depends:
    vermagic: 3.2.5-1-ARCH SMP preempt mod_unload modversions
    parm: root:The directory the file system redirects to. (charp)
    filename: /lib/modules/3.2.5-1-ARCH/misc/vmci.ko
    supported: external
    license: GPL v2
    version: 9.1.18.0
    description: VMware Virtual Machine Communication Interface (VMCI).
    author: VMware, Inc.
    srcversion: F659B534EA5CC5FFD4A08BF
    alias: pci:v000015ADd00000740sv*sd*bc*sc*i*
    depends:
    vermagic: 3.2.5-1-ARCH SMP preempt mod_unload modversions
    parm: disable_host:Disable driver host personality - (default=0) (bool)
    parm: disable_guest:Disable driver guest personality - (default=0) (bool)
    parm: disable_msi:Disable MSI use in driver - (default=0) (bool)
    parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
    filename: /lib/modules/3.2.5-1-ARCH/misc/vsock.ko
    supported: external
    alias: vmware_vsock
    license: GPL v2
    version: 9.1.1.0
    description: VMware Virtual Socket Family
    author: VMware, Inc.
    srcversion: 5A37036862692504058A712
    depends: vmci
    vermagic: 3.2.5-1-ARCH SMP preempt mod_unload modversions
    filename: /lib/modules/3.2.5-1-ARCH/misc/vmmon.ko
    supported: external
    license: GPL v2
    description: VMware Virtual Machine Monitor.
    author: VMware, Inc.
    depends:
    vermagic: 3.2.5-1-ARCH SMP preempt mod_unload modversions
    process 16679: Attempt to remove filter function 0x7fe1698649c0 user data 0x7fe17c3971f0, but no such filter has been added
    D-Bus not built with -rdynamic so unable to print a backtrace
    Aborted
    Last edited by Lockheed (2012-02-23 07:23:18)

    I'm having the same problem as of today. This indeed seems related to HAL and not what was mentioned @ the other thread.
    Vmware exits with the same error (seems the same to me):
    Attempt to remove filter function 0x7fb0d8745330 user data 0x7fb0eae45b00, but no such filter has been added
    D-Bus not built with -rdynamic so unable to print a backtrace
    Basically something broke HAL and it now fails to start on a reboot. When run manually all sorts of errors crop up:
    $ sudo /usr/sbin/hald --verbose=yes --daemon=no
    04:23:33.730 [i] hald.c:673: hal 0.5.14
    04:23:33.730 [i] hald.c:674: using child timeout 250s
    04:23:33.730 [i] hald.c:739: Will not daemonize
    04:23:33.730 [i] hald_dbus.c:5444: local server is listening at unix:abstract=/var/run/hald/dbus-EgDarHnl8K,guid=ce8b1d16773a4383fa30fbd0000025d8
    Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin'
    04:23:33.765 [i] hald_runner.c:304: Runner has pid 4860
    04:23:33.765 [i] hald_runner.c:184: runner connection is 0x107d630
    04:23:33.768 [W] osspec.c:393: Unable to open /proc/mdstat: No such file or directory
    04:23:33.861 [i] mmap_cache.c:278: cache mtime is 1328931799
    04:23:33.874 [i] mmap_cache.c:83: preprobe: offset=00000018, size=6352
    04:23:33.874 [i] mmap_cache.c:85: information: offset=000018e8, size=265800
    04:23:33.874 [i] mmap_cache.c:87: policy: offset=00042730, size=43808
    04:23:33.875 [i] osspec.c:823: got 10de:392 as primary videocard
    Run started hal-system-power-pm-is-supported (20000) (0)
    ! full path is '/usr/lib/hal/hal-system-power-pm-is-supported', program_dir is '/usr/lib/hal'
    04:23:33.935 [i] hald_dbus.c:1371: power_management.can_suspend -> True
    04:23:33.935 [i] hald_dbus.c:1371: power_management.can_suspend_hybrid -> True
    04:23:33.935 [i] hald_dbus.c:1371: power_management.can_hibernate -> True
    pid 4863: rc=0 signaled=0: /usr/lib/hal/hal-system-power-pm-is-supported
    04:23:33.935 [i] osspec.c:802: In computer_probing_pm_is_supported_helper_done
    04:23:33.936 [i] osspec.c:779: got DMI from files
    04:23:33.936 [i] osspec.c:488: Check if the machine is may a laptop ...
    04:23:33.936 [E] acpi.c:762: Couldn't open /proc/acpi/battery: Error opening directory '/proc/acpi/battery': No such file or directory
    04:23:33.936 [E] acpi.c:762: Couldn't open /proc/acpi/button/lid: Error opening directory '/proc/acpi/button/lid': No such file or directory
    04:23:33.936 [i] osspec.c:498: Synthesizing sysfs events...
    04:23:33.937 [E] coldplug.c:172: Couldn't invoke /sbin/udevadm
    04:23:33.937 [E] coldplug.c:583: Unable to get sysfs to dev map
    04:23:33.937 [i] osspec.c:501: Synthesizing powermgmt events...
    04:23:33.937 [E] acpi.c:762: Couldn't open /proc/acpi/battery: Error opening directory '/proc/acpi/battery': No such file or directory
    04:23:33.937 [E] acpi.c:762: Couldn't open /proc/acpi/processor: Error opening directory '/proc/acpi/processor': No such file or directory
    04:23:33.937 [E] acpi.c:762: Couldn't open /proc/acpi/fan: Error opening directory '/proc/acpi/fan': No such file or directory
    04:23:33.937 [E] acpi.c:762: Couldn't open /proc/acpi/ac_adapter: Error opening directory '/proc/acpi/ac_adapter': No such file or directory
    04:23:33.937 [E] acpi.c:762: Couldn't open /proc/acpi/button/lid: Error opening directory '/proc/acpi/button/lid': No such file or directory
    04:23:33.937 [E] acpi.c:762: Couldn't open /proc/acpi/button/power: Error opening directory '/proc/acpi/button/power': No such file or directory
    04:23:33.937 [E] acpi.c:762: Couldn't open /proc/acpi/button/sleep: Error opening directory '/proc/acpi/button/sleep': No such file or directory
    04:23:33.937 [i] acpi.c:841: Processing sonypi display
    04:23:33.937 [i] osspec.c:503: ACPI capabilities found
    04:23:33.937 [i] osspec.c:511: Done synthesizing events
    04:23:33.953 [i] util.c:1005: Add callouts for udi=/org/freedesktop/Hal/devices/computer
    Run started hal-storage-cleanup-all-mountpoints (20000) (0)
    ! full path is '/usr/lib/hal/hal-storage-cleanup-all-mountpoints', program_dir is '/usr/lib/hal'
    in hal-storage-cleanup-all-mountpoints
    org.freedesktop.Hal.Device.Volume.UnknownFailure
    Cannot open /media/.hal-mtab
    pid 4889: rc=1 signaled=0: /usr/lib/hal/hal-storage-cleanup-all-mountpoints
    04:23:34.008 [i] osspec.c:466: Add callouts completed udi=/org/freedesktop/Hal/devices/computer
    04:23:34.008 [i] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/computer
    Run started hald-addon-cpufreq (0) (0)
    ! full path is '/usr/lib/hal/hald-addon-cpufreq', program_dir is '/usr/lib/hal'
    04:23:34.010 [i] hald_runner.c:663: running_processes 0x7fd6610a8110, num = 1
    04:23:34.010 [i] hald.c:120: Started addon hald-addon-cpufreq for udi /org/freedesktop/Hal/devices/computer
    Run started hald-addon-acpi (0) (0)
    ! full path is '/usr/lib/hal/hald-addon-acpi', program_dir is '/usr/lib/hal'
    [4890]: 04:23:34.011 [W] addon-cpufreq.c:1295: CPUFreq not supported. Exiting...
    pid 4890: rc=1 signaled=0: /usr/lib/hal/hald-addon-cpufreq
    04:23:34.012 [i] hald_runner.c:663: running_processes 0x10b3170, num = 2
    04:23:34.012 [i] hald.c:120: Started addon hald-addon-acpi for udi /org/freedesktop/Hal/devices/computer
    04:23:34.012 [i] hald_runner.c:110: runner_server_message_handler: destination=(null) obj_path=/org/freedesktop/HalRunner interface=org.freedesktop.HalRunner method=StartedProcessExited
    04:23:34.012 [i] hald_runner.c:125: Previously started process with pid 4890 exited
    04:23:34.012 [i] hald.c:84: in addon_terminated for udi=/org/freedesktop/Hal/devices/computer
    04:23:34.017 [D] hald_dbus.c:3359: udi=/org/freedesktop/Hal/devices/computer
    04:23:34.017 [i] hald_dbus.c:3386: AddonIsReady on udi '/org/freedesktop/Hal/devices/computer'
    [4891]: 04:23:34.017 [E] addon-acpi.c:58: Cannot open /proc/acpi/event: No such file or directory
    [4891]: 04:23:34.018 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
    [4891]: 04:23:39.018 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory
    [4891]: 04:23:44.018 [E] addon-acpi.c:83: Cannot connect to acpid socket: No such file or directory

  • [Solved] Sauerbraten won't compile from ABS

    I'm having some problems trying to compile Sauerbraten from the ABS.
    I edited the PKGBUILD to match the new version and removed the md5sums.:
    [kevin@banaan sauerbraten]$ cat PKGBUILD
    # $Id: PKGBUILD,v 1.10 2008/08/03 02:09:27 Snowman Exp $
    # Contributor: Jaroslaw Swierczynski <[email protected]>
    # Contributor: Roman Kyrylych <[email protected]>
    # Contributor: Christoph Siegenthaler <[email protected]>
    pkgname=sauerbraten
    pkgver=2009_05_04_trooper_edition
    pkgrel=1
    pkgdesc="Sauerbraten is an improved version of the Cube engine"
    arch=('i686' 'x86_64')
    url="http://www.sauerbraten.org/"
    license=('ZLIB')
    depends=('sdl_mixer' 'sdl_image' 'libgl' 'mesa' \
    'hicolor-icon-theme' 'desktop-file-utils')
    install=sauerbraten.install
    source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}_linux.tar
    .bz2
    http://downloads.sourceforge.net/$pkgname/patch_2008_06_20_linux.tar.bz2
    sauerbraten-client
    sauerbraten-server
    sauerbraten.confd
    sauerbraten.desktop
    sauerbraten.png
    license.txt)
    md5sums=()
    build() {
    cd $startdir/src/$pkgname/src
    make || return 1
    make DESTDIR=$startdir/pkg install
    cd $startdir/src/sauerbraten
    install -D bin_unix/native_client $startdir/pkg/opt/sauerbraten/bin/linux_clie
    nt
    install -D bin_unix/native_server $startdir/pkg/opt/sauerbraten/bin/linux_serv
    er
    cp -r data $startdir/pkg/opt/sauerbraten
    cp -r packages $startdir/pkg/opt/sauerbraten
    find $startdir/pkg -type d -name CVS -exec rm -rf '{}' \; 2> /dev/null
    install -Dm755 $startdir/src/sauerbraten-client $startdir/pkg/usr/bin/sauerbra
    ten-client
    install -Dm755 $startdir/src/sauerbraten-server $startdir/pkg/usr/bin/sauerbra
    ten-server
    install -Dm644 $startdir/src/sauerbraten.confd $startdir/pkg/etc/conf.d/sauerb
    raten
    install -Dm644 $startdir/src/sauerbraten.desktop $startdir/pkg/usr/share/appli
    cations/sauerbraten.desktop
    install -Dm644 $startdir/src/sauerbraten.png $startdir/pkg/usr/share/icons/hic
    olor/128x128/apps/sauerbraten.png
    install -Dm644 $startdir/src/license.txt $startdir/pkg/usr/share/licenses/saue
    rbraten/license.txt
    When trying to compile, this happens:
    ==> Starting build()...
    make -C enet/ all
    make[1]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    Making all in include
    make[2]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    /include'
    Making all in enet
    make[3]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    /include/enet'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet/
    include/enet'
    make[3]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    /include'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet/
    include'
    make[2]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet/
    include'
    make[2]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet'
    make[1]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet'
    g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -Ishared -Iengine -Ifpsgame -Ie
    net/include -I/usr/X11R6/include `sdl-config --cflags` -c -o engine/3dgui.o en
    gine/3dgui.cpp
    engine/3dgui.cpp:6:17: error: pch.h: No such file or directory
    engine/3dgui.cpp: In member function 'virtual void gui::tab(const char*, int)':
    engine/3dgui.cpp:110: error: 's_sprintf' was not declared in this scope
    engine/3dgui.cpp: In member function 'virtual void gui::slider(int&, int, int, i
    nt, char*)':
    engine/3dgui.cpp:262: error: 's_sprintf' was not declared in this scope
    engine/3dgui.cpp: In member function 'int gui::button_(const char*, int, const c
    har*, bool, bool)':
    engine/3dgui.cpp:552: error: 'tname' was not declared in this scope
    engine/3dgui.cpp:552: error: 's_sprintfd' was not declared in this scope
    engine/3dgui.cpp: In member function 'virtual void gui::end()':
    engine/3dgui.cpp:730: error: 'INTERSECT_MIDDLE' was not declared in this scope
    engine/3dgui.cpp:739: error: 'intersect_plane_line' was not declared in this sco
    pe
    engine/3dgui.cpp: In function 'void g3d_render()':
    engine/3dgui.cpp:963: error: 'cl' was not declared in this scope
    In file included from shared/cube.h:62:
    shared/tools.h: In member function 'T& vector<T>::add() [with T = gui]':
    engine/3dgui.cpp:923: instantiated from here
    shared/tools.h:290: error: cannot allocate an object of abstract type 'gui'
    engine/3dgui.cpp:34: note: because the following virtual functions are pure wi
    thin 'gui':
    shared/iengine.h:380: note: virtual int g3d_gui::texture(Texture*, float, in
    t, int, int, Texture*, const vec&, Texture*)
    shared/iengine.h:386: note: virtual char* g3d_gui::keyfield(const char*, int
    , int, int, const char*, int)
    shared/iengine.h:388: note: virtual void g3d_gui::textbox(const char*, int,
    int, int)
    make: *** [engine/3dgui.o] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    I have no clue of how to fix this, any experts around?
    Thanks in advance!
    Last edited by kevin89 (2009-05-13 08:38:33)

    Have you tried removing patch_2008_06_20_linux.tar.bz2 from the sources array? Builds fine for me.

  • Virtualbox module won't compile?

    I upgraded Virtualbox from 4.0.10 to 4.0.12 and I am receiving an error when trying to compile the module by /etc/rc.d/vboxdrv setup.
    The contents of /var/log/vbox-install.log are :
    make KBUILD_VERBOSE=1 -C /lib/modules/2.6.39-ARCH/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
    test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo; \
    /bin/false)
    mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
    make -f scripts/Makefile.build obj=/tmp/vbox.0
    gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.6.1/include -I/usr/src/linux-2.6.39-ARCH/arch/x86/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.39-ARCH/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
    In file included from /tmp/vbox.0/include/VBox/types.h:34:0,
    from /tmp/vbox.0/linux/../SUPDrvInternal.h:39,
    from /tmp/vbox.0/linux/SUPDrv-linux.c:37:
    /tmp/vbox.0/include/iprt/types.h:87:30: fatal error: linux/autoconf.h: No such file or directory
    compilation terminated.
    make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
    make[1]: *** [_module_/tmp/vbox.0] Error 2
    make: *** [vboxdrv] Error 2
    Where do I start to repair this?
    Thank You
    Last edited by glenn69 (2011-07-18 17:57:37)

    I had a breakthrough, although I'm not sure what it means...other than Virtualbox now runs again.
    Here's what I did:
    downgraded glibc to 2.12.1-2 ( and any other files with dependencies.  gcc, gcc-libs, binutils )
    still had no luck compiling module
    then I downgraded back to Virtualbox 4.0.10 again with the downgraded glibc
    ..and it worked.  Hopefully someone can make some sense of it for the rest of us.
    Summation: Virtualbox 4.0.12 did not compile with glibc at 2.12.1-2 or at its most current version
                       Virtualbox 4.0.10 would not compile with a current version of glibc ( >2.12.1-2)
                       ..but VB 4.0.10 did compile fine with glibc downgraded to 2.12.1-2
    Last edited by glenn69 (2011-07-18 20:13:00)

  • [SOLVED] ruby-panelapplet2 won't compile (i686 & x86_64)

    Hi!
    I already wrote forum post in 64 bit section, but today I got to i686 machine and the error is the same, that damned package won't compile
    Can anyone help getting this compiled? Any hints?
    Errors are as follows:
    Package 'glipper' has no Name: field
    checking for GCC... yes
    checking for rb_define_alloc_func() in ruby.h... yes
    checking for rb_block_proc() in ruby.h... yes
    checking for new allocation framework... yes
    checking for attribute assignment... no
    checking for libpanelapplet-2.0 version (>= 2.6.0)... yes
    checking for G_PLATFORM_WIN32... no
    creating rbpanelappletversion.h
    creating Makefile
    creating Makefile
    /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/glib/src/lib/pkg-config.rb:85:in `name': undefined method `[]' for nil:NilClass (NoMethodError)
        from /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/glib/src/lib/mkmf-gnome2.rb:165:in `create_pkg_config_file'
        from /tmp/yaourt-tmp-user/aur-ruby-panelapplet2/ruby-panelapplet2/src/ruby-gnome2-all-0.19.1/panel-applet/extconf.rb:30:in `<main>'
    extconf.rb: Leaving directory 'panel-applet'
    That is driving me crazy, coz I can't get SSHMenu work properly and that is one of the tools I use all the time
    If someone has that package in x86_64, please send that to me (edzis123[@]inbox.lv). Please remove all numbers and brackets from there
    If the package is not available, alternate way is sending the files in the package, I suppose these should be like this (I took sample from i686):
    /usr/lib/ruby/site_ruby/1.9.1/panelapplet2.rb
    /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/panelapplet2_main.so
    /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/panelapplet2.so
    Thanx in advance.
    Last edited by Kirurgs (2010-02-21 21:32:26)

    Hi!
    After spending quite a lot of time on this, I found the error why I couldn't compile almost any of ruby packages including ruby-gnomepanel2.
    To my big surprise, pacman -R glipper fixed the issue and I'm now using sshmenu w/o any issues.
    Ruby seems to broke if some additional (possibly incorrect) packages are installed, which it shouldn't!! Uff...
    regards
    Kirurgs
    Last edited by Kirurgs (2010-02-21 21:32:57)

  • Code won't compile - array

    This is my first in depth attempt to understand the code for enabling arrays. I THINK I have a fairly simple problem, but the code won't compile and NetBeans is telling me I'm missing a symbol &/or class, which I just don't get. Here is the code for the Inventory1 module as well as the main module - what am I not seeing?
    Inventory1 module
    import java.util.Scanner;
    import static java.lang.System.out;
    public class Inventory1
      //declare and initialize variables
      int[] itemNumber = new int [5];
      String[] productName = new String[5];
      int[] stockAmount = new int[5];
      double[] productCost = new double[5];
      double[] totalValue = new double[5];
      int i;
      //int i = 0;
      //initialize scanner
      Scanner sc = new Scanner(System.in);
      Inventory1 info = new Inventory1
    public void inventoryInput()
      while (int i = 0; i < 5; i++)
         out.println("Please enter item number: "); //prompt - item number
         info.itemNumber[i] = sc.nextInt(); // input
         out.println( "Enter product name/description: "); //prompt - product name
         info.productName[i] = sc.nextLine(); // input
         out.println("Quantity in stock: "); // prompt - quantity
         int temp = sc.nextInt(); // capture temp number to verify
         if( temp <=0 )
         { // ensure stock amount is positive number
             out.println( "Inventory numbers must be positive. Please" +
                 "enter a correct value." ); // prompt for correct #
             temp = sc.nextInt(); // exit if statement
         else info.stockAmount[i] = temp; // input
         out.println("What is the product cost for each unit? "); // prompt - cost
         double temp2 = sc.nextDouble();
         if( temp <=0 )
             out.println( "Product cost must be a positive dollar " +
                  "amount. Please enter correct product cost." );
             temp2 = sc.nextDouble();
         else info.productCost[i] = temp2;
      out.println( "We hope this inventory program was helpful. Thank you for " +
          "using our program." );
      } // end method inventoryInput   
    }main module
    public class Main {
      public static void main(String[] args) { //start main method
            Inventory1 currentInventory = new Inventory1(); //call Inventory class
            currentInventory.inventoryInput();
    }

    init:
    deps-jar:
    Compiling 1 source file to C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\build\classes
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:28: '(' or '[' expected
    public void inventoryInput()
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: '.class' expected
    while (int i = 0; i < 5; i++)
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: illegal start of type
    while (int i = 0; i < 5; i++)
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: not a statement
    while (int i = 0; i < 5; i++)
    C:\Documents and Settings\Tammy\My Documents\School\JavaProgramming\Inventory\src\inventory\Inventory1.java:30: ';' expected
    while (int i = 0; i < 5; i++)
    5 errors
    BUILD FAILED (total time: 0 seconds)

  • Intel Fortran compiler broken under Mavericks

    After upgrading to OS 9 on a Mac Pro and a MacBook Pro, and installing Xcode 5.0.1 on both, my Intel Fortran compiler (vs 12.0.5) no longer works.  I have updated the command line tools.  When I try compiling a source file it fails with the message:
    ifort: error #10001: could not find directory in which g++ resides
    There is a compiler option to specify the location of g++ "-gxx-name=" but this doesn't help - same error message.  I'm not sure if I need to set a system variable or if I need to go back to an earlier version of Xcode.  Has anyone managed to get their Intel Fortran compiler working under Mavericks?

    I haven't found this topic in the other Categories, so I'll reply here:
    I'm having the same problem!!! Leopard has crashed ifort 32 bits! So I can't run my programs on my macbook core duo (32 bits), although it's ok with the ifort 64 bits version. But I really REALLY need the 32 version working on Leopard. Anyone has any clue about how to solve it? I've tried some 9.1 ifort's versions and the new 10.1 version. You can find evaluation versions on the intel's site.
    Please someone help us.
    Thanks,
    Filipe

  • [SOLVED] VMware player update error with kernel 2.6.35

    I have WMware player 3.1, it was working fine until I upgrade to kernel 2.6.35. Here is WMware error message:
    aoû 24 20:51:34.275: app-3076503232| Log for VMware Workstation pid=6643 version=7.1.0 build=build-261024 option=Release
    aoû 24 20:51:34.275: app-3076503232| The process is 32-bit.
    aoû 24 20:51:34.275: app-3076503232| Host codepage=UTF-8 encoding=UTF-8
    aoû 24 20:51:34.275: app-3076503232| Logging to /tmp/vmware-root/setup-6643.log
    aoû 24 20:51:34.377: app-3076503232| modconf query interface initialized
    aoû 24 20:51:34.378: app-3076503232| modconf library initialized
    aoû 24 20:51:34.468: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:34.477: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:34.509: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:34.553: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:34.585: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:34.695: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.700: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.705: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.710: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.714: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.779: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.783: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.788: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.793: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.797: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.803: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:34.837: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:34.948: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.953: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.958: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.962: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.967: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:34.973: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:35.013: app-3076503232| Your GCC version: 4.5
    aoû 24 20:51:35.187: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:35.192: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:35.198: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:35.203: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:35.208: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:35.656: app-3076503232| Trying to find a suitable PBM set for kernel 2.6.35-ARCH.
    aoû 24 20:51:35.657: app-3076503232| Building module vmmon.
    aoû 24 20:51:35.657: app-3076503232| Extracting the sources of the vmmon module.
    aoû 24 20:51:35.697: app-3076503232| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.35-ARCH/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.1
    aoû 24 20:51:41.031: app-3076503232| Failed to compile module vmmon!
    Thanks for help!
    Last edited by srivo (2010-10-26 02:05:16)

    I tried this it didn't work:
    % wget http://www.sputnick-area.net/scripts/vm … .6.35.bash
    --2011-06-15 11:18:03--  http://www.sputnick-area.net/scripts/vm … .6.35.bash
    Resolving www.sputnick-area.net... 91.121.18.134
    Connecting to www.sputnick-area.net|91.121.18.134|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 6992 (6.8K) [text/plain]
    Saving to: “vmware7.1.1-patch-kernel-2.6.35.bash.1”
    100%[======================================================================>] 6,992       --.-K/s   in 0.07s   
    2011-06-15 11:18:06 (97.8 KB/s) - “vmware7.1.1-patch-kernel-2.6.35.bash.1” saved [6992/6992]
    % ./vmware7.1.1-patch-kernel-2.6.35.bash
    This script have been already applied !
    % vmware-modconfig --console --install-all
    Stopping vmware (via systemctl):                           [  OK  ]
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root-62598440/modules/vmmon-only'
    make -C /lib/modules/2.6.38.7-30.fc15.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/kernels/2.6.38.7-30.fc15.x86_64'
      CC [M]  /tmp/vmware-root-62598440/modules/vmmon-only/linux/driver.o
    /tmp/vmware-root-62598440/modules/vmmon-only/linux/driver.c: In function ‘init_module’:
    /tmp/vmware-root-62598440/modules/vmmon-only/linux/driver.c:425:15: error: ‘struct file_operations’ has no member named ‘ioctl’
    /tmp/vmware-root-62598440/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-root-62598440/modules/vmmon-only/linux/driver.c:1736:7: error: implicit declaration of function ‘kernel_locked’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[2]: *** [/tmp/vmware-root-62598440/modules/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root-62598440/modules/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.38.7-30.fc15.x86_64'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-root-62598440/modules/vmmon-only'
    Unable to install vmmon

  • VMPlayer 3.1.5: Failed to compile module vmmon

    Hi,
    yesterday I updated VMPlayer but after that it doesn't work. When I try to start the program it advice me that 'Before you can run VMware, several modules must be compiled and loaded into the running kernel'. I select the 'Install' button but the procedure fails immediately during the compiling of the 'Virtual Machine Monitor'.
    The problem seems to be the vmmon module.
    Oct 10 10:49:57.775: app-3076052672| Log for VMware Workstation pid=1942 version=7.1.5 build=build-491717 option=Release
    Oct 10 10:49:57.775: app-3076052672| The process is 32-bit.
    Oct 10 10:49:57.775: app-3076052672| Host codepage=UTF-8 encoding=UTF-8
    Oct 10 10:49:57.775: app-3076052672| Logging to /tmp/vmware-root/setup-1942.log
    Oct 10 10:49:58.133: app-3076052672| modconf query interface initialized
    Oct 10 10:49:58.134: app-3076052672| modconf library initialized
    Oct 10 10:49:58.218: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.226: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.248: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.276: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.297: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.394: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.402: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.410: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.419: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.427: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.496: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.505: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.513: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.521: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.530: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.536: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.558: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.652: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.660: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.668: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.676: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.685: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.690: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.712: app-3076052672| Your GCC version: 4.6
    Oct 10 10:49:58.878: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.887: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.896: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.905: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:58.913: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:59.512: app-3076052672| Trying to find a suitable PBM set for kernel 3.0-ARCH.
    Oct 10 10:49:59.513: app-3076052672| Building module vmmon.
    Oct 10 10:49:59.525: app-3076052672| Extracting the sources of the vmmon module.
    Oct 10 10:49:59.582: app-3076052672| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-$
    Oct 10 10:50:05.007: app-3076052672| Failed to compile module vmmon!
    I try to compile the modules with the command vmware-modconfig --console --install-all but it returns me:
    $ sudo vmware-modconfig --console --install-all
    Password:
    Stopping VMware services:
    VMware USB Arbitrator done
    VM communication interface socket family done
    Virtual machine communication interface done
    Virtual machine monitor done
    Blocking file system done
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
    make -C /lib/modules/3.0-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
    MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.0-ARCH'
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
    CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:47:44: error: ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:103:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:113:17: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long long unsigned int’ [-Wformat]
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:117:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    /tmp/vmware-root/modules/vmmon-only/linux/iommu.c:120:20: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64’ [-Wformat]
    make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
    make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.0-ARCH'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
    Unable to install vmmon

    I am Gianluca wrote:It works!
    Thank you very much BxS
    I use VMware for a long time, it normally needs patchs for new kernels, Workstation 8 and Player 4 for now don't need any, they simple work out of the box, very nice

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • [solved] vmware-server aur build fails

    I'm trying to install vmware-server from aur.  Downloaded the .tar.gz file from vmware, placed it in the build directory, and let it go.  Build fails with the following:
    (in building vmware-server-modules)
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1796:7: warning: "_MSC_VER" is not defined
    make[2]: *** [/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
    make: *** [vmci.ko] Error 2
    make: Leaving directory `/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only'
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build vmware-server-modules package.
    Does anyone know of a solution?  virtualbox works great, but doesn't support TI's MSP430UIF FET, which is why I'm trying out vmware.
    Last edited by beretta (2010-05-07 17:32:03)

    Trying again... I haven't been able to find a solution.  Is there something else I should be doing to install vmware-server and vmware-server-modules?

  • I've been using VMWare Fusion for my Macbookbook Pro (OS Lion) and it froze the other day. It couldn't force quit any program so I needed to do a hard reset by pressing the power button. Now VMWare won't restart properly. How do I fix this?

    The Mac side works fine but now the VMWare won't even open windows. After restarting it did an automatic StartUp Repair but after another reboot, it was just a black screen.

    Have you rebooted the Mac. Give that a try.
    If that doesn't work you could reinstall Fusion but if Fusion opens and you can get to the Library windows of Fusion I think your VM OS is toast.
    I make a habbit of copying the VM to another internal, yes I have 2 internal drives in my MBP, and to an external drive. I do this about once a week. That way if the Mac screws something up I have a backup I can use to overwrite the one that does not work correctly.
    Good Luck. Hope you get it working.

  • Migrate Application Jdeveloper 11.1.1.0.2 to 11.1.2.2.0 - won´t compile

    Hi,
    I'm trying to migrate my application from JDev 11.1.1.0.2 to 11.1.2.2.0 but even after Jdev migrate to new version, the application won't compile correct. Seems that some classes wont recognize dependecies from other package. If i have a class in Web that import a class from Model, in compile time the console give me this kind a error: "package 'xxx.yyy.www' does not exist". If i open any class that gave me this error there isn't any warning or red line showing errors, in the line of the import i can use Ctrl + right click and go to the class without problems. The dependecies between projects (web, model and ejb) are correct. I dont know what is, any help will be appreciated.
    Thanks in advance,
    Alexandre Rocco.

    Hi
    I am facing the same problem when migrating from JDev 11.1.1.4.0 to JDev 11.1.2.2.0. Any idea?
    Regards,
    Ferez

  • JDeveloper 10.1.2.1 won't compile my code?

    Hi,
    I'm pretty new to JDeveloper, and Java in general.
    I've just downloaded and tried to run JDeveloper 10g (10.1.2.1.0, Build 1913) and I've having problems.
    When the application loads, I get a dialog message titled "Java Virtual Machine Launcher", with the message "Could not find the main class. Program will exit"
    JDeveloper then finishes loading.
    I've knocked up a quick JSP page, but it won't compile. I get the message "Internal compilation error, terminated with a fatal exception."
    Also, I've notived that if I go to Project Properties and try to look at Profiles->Development->Libraries, JDeveloper throws a NullPointerException.
    I've got JDeveloper 10.1.3 on my machine, and it has none of these problems?
    After looking around on the web, I'm thinking it might be a CLASS_PATH problem, but how can I confirm this, and how can I fix it?
    Any ideas on what is wrong would be appreciated?
    Thanks
    Thom

    Thanks thahn.
    That fixed the "Java Virtual Machine Launcher" error - I would never have thought spaces in the directory name could have caused this problem!
    The other problems remain though, so I still can't compile any code.

Maybe you are looking for

  • Error when compiling jasper report on Linux

    Hey guys/gals :) I'm having trouble creating a jasper report on Linux. I'm getting the ff. error after i click the link to generate my report: Http status 500: exception: javax.servlet.ServletException: Servlet execution threw an exception root cause

  • ITunes doesn't "see" my iPod Touch but Windows 7 does. What can I do?

    Windows 7 using "MTP USB Device" driver so it recognizes that it's an Apple iPod but iTunes doesn't see it. I have spent the entire day following the "install/ininstall/start AMDS/stop AMDS" instructions ad nauseum...still no love. Frustration maxed

  • Count Messages in Queue

    Hi, I'm running IMS5.2 and I have a bespoke monitoring system. I want to be able to monitor the size of my queues on my MTAs. So far the only way I've been able to do this is using the following command :- imsimta cache -view | grep destination | wc

  • Business Objects Explorer XI R3.1 SP1 (Polestar) installer does not start

    I am trying to install Business Objects Explorer XI R3.1 SP1 on Business Objects Edge Professional 3.1 on Win2k8 Server, but the installer dialog box disappears once I click "next" on "Configure Web Application Server" dialog box. Note: When I use "d

  • Migration From Developer 2.1 to Forms 6i/9i

    Hello, My client wants to migrate from Developer 2.1 to Forms 6i or to Forms 9i with C/S architecture (Sun Solaris 2.6). They are told (from Oracle Support) that they need to add a patch set before migrating. Has anybody migrated in this environment