Bochs-with-debugger wont compile

Hello
Im trying to compile bochs with the option that includes wxgtk but I am not able to compile it.
It failes with an error wx.lo not found.
I have installed lib32-wxgtk and wxgtk
What could be the problem? I didnt find anything relevant on Google, or anywhere else.

# Mantainer: WinterXMQ <WinterXMQ at gmail dot com>
# Contributor: WinterXMQ <WinterXMQ at gmail dot com>
pkgname=bochs-with-debugger
_pkgrealname=bochs
pkgver=2.6.2
pkgrel=3
pkgdesc="A portable x86 PC emulation software package with builtin debugger"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://bochs.sourceforge.net/"
source=(http://downloads.sourceforge.net/project/${_pkgrealname}/${_pkgrealname}/${pkgver}/${_pkgrealname}-${pkgver}.tar.gz)
sha512sums=('b35cf940520d2489657a1724f399553f7a52428fd4a84b1c38452723cc47bfbc242853489701c1aa577903045ce3dae4ca475c8934953b66bcc247d50835c7d3')
depends=('gcc-libs' 'libxrandr' 'gtk2')
conflicts=('bochs')
build() {
    cd "${srcdir}/${_pkgrealname}-${pkgver}"
    ## build Debug Bochs
    ./configure \
        --enable-smp \
        --with-x11 \
        --with-sdl \
        --enable-smp \
        --enable-3dnow \
        --enable-x86-64 \
        --enable-avx \
        --enable-debugger \
        --enable-x86-debugger \
        --enable-long-phy-address \
        --enable-plugins \
        --enable-all-optimizations \
        --enable-disasm \
        --enable-pcidev \
        --enable-usb \
        --disable-docbook \
        --enable-cpp \
        --prefix=/usr
    ## add libaray pthread(is not Linux default libaray), because of missing DSO
    sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
    make
package() {
    cd "${srcdir}/${_pkgrealname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -D -m 644 .bochsrc "${pkgdir}/etc/bochsrc-sample.txt"
This one, however, i added the --with-wx compiler option

Similar Messages

  • Nigpib-0.8​.2 wont compile with RH-7.2 kernel-2.4​.18-17.7.x

    nigpib-0.8.2 wont compile with RH-7.2 kernel-2.4.18-17.7.x

    I had the same problem when I tried to install the nigpib-0.8.2 driver with redhat 8.0.
    At first, it complains that malloc.h is deprecated, fixed that by simply changing: #include to: #include , in file ib_linux.c.
    Then, it compiles the module, but insmod can't load it, complaining that it was compiled with gcc version 2 instead of 3, which the kernel was compiled with. (the module was compiled with gcc 3.2 so i don't know why it's complaining).
    The workaround is to force insmod to load the module:
    insmod -f nigpib
    to have the module be loaded automatically at reboot,
    put line: insmod -f nigpib, in /etc/rc.d/rc.local
    Remember, after you run ./ibconf, you'll need to reload the updated module again.
    Hope there will be a
    n udpate to nigpib where these issues are addressed.

  • Arrays - confusing, wont compile, please help! ?:-)

    Hello everyone,
    I am new to the java forum, and I think its a fantastic idea. I am extremely stuck with my java, I have been workin on the same piece of code for at least 20 hours in total, 8 of which I spent in the last day, and to much of my frustration, the buggery code just wont compile. Im assuming many of you are probably laughing at me by now, lol, its ok, After my inital stress and hair pulling, all I could do was laugh. But I refuse to give up on the code after spending so long, and I have a feeling Im so close, its based around arrays, anyway I'll stop blabbering and post the code I have wrote, and if any of you could solve why it wont compile, it would be greatly appreciated.
    Heres my code:
    import avi.*;
    public class CDCollection
    private String title = "Unknown";
    private String artist = "Unknown";
    private int quan = 0;
    private double price = 0;
    CDCollection(double cdPrice, int cdQuan, String cdTitle, String cdArtist)
    title = cdTitle;
    artist = cdArtist;
    quan = cdQuan;
    price = cdPrice;
    return price;
    public static int findHighest(CDCollection[] cd) {
    int highestSoFar = -1; // lower than any valid
    for (int i = 0; i < cd.length; i++) {
    if (cd.CDCollection() > highestSoFar) {
    highestSoFar = cd[i].CDCollection();
    return highestSoFar;
    // instance method to write out cd details
    public void cdDetails(Window screen)
         screen.write("�"+price+"\t"+quan+"\t"+title+"\t"+artist+"\n");
    class CDMain
    public static void main(String[] args)
         Window screen = new Window ("CDMain", "bold", "black", 14);
    screen.showWindow();
         screen.write("CD List:\n\n");
              CDCollection cd1 = new CDCollection (10.99,11,"All Killer No Filler","Sum 41");
         cd1.cdDetails(screen);
    CDCollection cd2 = new CDCollection (12.99,8,"The best of","Sting");
         cd2.cdDetails(screen);
    Essentially wot Im tryin to do, is create a cd collection program, whereby details of the cd are entered (price, quantity, title and artist) and I would like to return statistical data on the cd collection, such as total number of cds, most expensive and cheapest cds etc. As you can I see I have tried to use arrays to find out the most expensive cd, but it still wont work! Please help, anyone, as Ive exhausted myself on this piece of code, Ive been through books, and I still cant bloody do it. :( lol
    Thanks in advance,
    All the best,
    Larry :-)

    Hi!
    First you never call your method findHighest.
    Second you do not have an array of your CD's. You only have two instances of it.
    Try this:
    CDCollection[] cds = new CDCollection[2];
    CDCollection cd[0] = new CDCollection (10.99,11,"All Killer No Filler","Sum 41");
    cds[0].cdDetails(screen);
    CDCollection cds[1] = new CDCollection (12.99,8,"The best of","Sting");
    cds[1].cdDetails(screen);
    int highest = CDCollection.findHighest(cds);
    And:
    public static int findHighest(CDCollection[] cd) {
    double highestSoFar = -1; // lower than any valid
    for (int i = 0; i < cd.length; i++) {
    if (cd.getPrice() > highestSoFar) {
    highestSoFar = cd[i].getPrice();
    return highestSoFar;
    And in your CDCollection class you need a method:
    public double getPrice()
    return this.price;
    I hope I did no mistake in here but it should work!
    Markus

  • I purchased a 3rd party mini displayport to hdmi adaptor. My 2011 macbook air with thunderbolt wont detect the display.

    I purchased a 3rd party mini displayport to hdmi adaptor. My 2011 macbook air with thunderbolt wont detect the display.

    Is the display turned on? Sometimes it is the simplest of solutions, when details are missing.

  • Equium L350D with Vista wont go into sleep mode

    Equium L350D with Vista wont go into sleep mode i just reinstalled windows and sleep was working but now the screen just goes off but its clearly not on standbye
    please help

    >i figured it out
    Can you please tell us how?

  • Kernel26-icc compiled with Intel's compiler instead of gcc

    I'm working on kernel26-icc, it's the kernel26 but compiled with Intel's compiler. Can't seem to upload it to AUR ("Invalid name: only lowercase letters are allowed.")
    http://www.linuxdna.com/
    So far I've this:
    PKGBUILD
    # Maintainer: Mathias Burén <[email protected]>
    pkgname=('kernel26-icc' 'kernel26-icc-firmware' 'kernel26-icc-headers') # Build icc kernel
    _kernelname=${pkgname#kernel26-icc}
    _basekernel=2.6.33
    pkgver=${_basekernel}
    pkgrel=1
    arch=(x86_64)
    license=('GPL2')
    url="http://www.linuxdna.com/"
    source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
    # the main kernel config files
    config.x86_64
    # standard config files for mkinitcpio ramdisk
    kernel26-icc.preset
    http://www.linuxdna.com/dna-2.6.33-intel64.patch)
    makedepends=('icc')
    md5sums=('c3883760b18d50e8d78819c54d579b00'
    '5c91374d56f115ba4324978d5b002711'
    'a4fd3c59751194bc118c70d1348436ab'
    'a307beb562eb7e68a6f3e2fb5fc216a3')
    build() {
    cd ${srcdir}/linux-$_basekernel
    cat ../config.x86_64 >./.config
    patch -p1 < ../dna-2.6.33-intel64.patch || return 1
    if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    fi
    # get kernel version
    make prepare
    # load configuration
    # Configure the kernel. Replace the line below with one of your choice.
    make menuconfig # CLI menu for configuration
    #make xconfig # X-based configuration
    #make oldconfig # using old config from previous kernel version
    # ... or manually edit .config
    # stop here
    # this is useful to configure the kernel
    #msg "Stopping build"
    #return 1
    yes "" | make config
    # build!
    make bzImage modules || return 1
    package_kernel26-icc() {
    pkgdesc="The Linux Kernel and modules built with ICC"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'kernel26-icc-firmware>=2.6.33' 'module-init-tools' 'mkinitcpio>=0.5.20')
    install=kernel26-icc.install
    optdepends=('crda: to set the correct wireless channels of your country')
    KARCH=x86
    cd ${srcdir}/linux-$_basekernel
    # get kernel version
    _kernver="$(make kernelrelease)"
    mkdir -p ${pkgdir}/{lib/modules,boot}
    make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
    cp System.map ${pkgdir}/boot/System.map26${_kernelname}
    cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
    # # add vmlinux
    install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
    # install fallback mkinitcpio.conf file and preset file for kernel
    install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset || return 1
    # set correct depmod command for install
    sed \
    -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
    -i $startdir/kernel26.install
    sed \
    -e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
    -e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
    -i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
    # remove build and source links
    rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
    # remove the firmware
    rm -rf ${pkgdir}/lib/firmware
    package_kernel26-icc-headers() {
    pkgdesc="Header files and scripts for building modules for kernel26-icc"
    mkdir -p ${pkgdir}/lib/modules/${_kernver}
    cd ${pkgdir}/lib/modules/${_kernver}
    ln -sf ../../../usr/src/linux-${_kernver} build
    cd ${srcdir}/linux-$_basekernel
    install -D -m644 Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Makefile
    install -D -m644 kernel/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
    install -D -m644 .config \
    ${pkgdir}/usr/src/linux-${_kernver}/.config
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
    for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
    cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
    done
    # copy arch includes for external modules
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
    cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
    cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
    # fix permissions on scripts dir
    chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
    cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    if [ "$CARCH" = "i686" ]; then
    cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
    fi
    cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
    # add headers for lirc package
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
    cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
    done
    # add docbook makefile
    install -D -m644 Documentation/DocBook/Makefile \
    ${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
    # add dm headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
    # add inotify.h
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
    cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
    # add wireless headers
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/9912
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
    cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
    # add dvb headers for external modules
    # in reference to:
    # http://bugs.archlinux.org/task/11194
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
    # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
    # in reference to:
    # http://bugs.archlinux.org/task/13146
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
    # add xfs and shmem for aufs building
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
    cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
    # add headers vor virtualbox
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
    # add headers for broadcom wl
    # in reference to:
    # http://bugs.archlinux.org/task/14568
    cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
    done
    cd ${pkgdir}/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
    # add header for aufs2-util
    cp -a ${srcdir}/linux-$_basekernel/include/asm-generic/bitsperlong.h ${pkgdir}/usr/src/linux-${_kernver}/include/asm/
    chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
    find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
    # remove unneeded architectures
    rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
    package_kernel26-icc-firmware() {
    pkgdesc="The included firmware files of kernel26-icc"
    cd ${srcdir}/linux-$_basekernel
    make firmware || return 1
    make INSTALL_MOD_PATH=${pkgdir} firmware_install || return 1
    kernel26-icc.preset
    # mkinitcpio preset file for kernel26-icc
    # DO NOT EDIT THIS LINE:
    source /etc/mkinitcpio.d/kernel26-icc.kver
    ALL_config="/etc/mkinitcpio.conf"
    PRESETS=('default' 'fallback')
    #default_config="/etc/mkinitcpio.conf"
    default_image="/boot/kernel26-icc.img"
    #default_options=""
    #fallback_config="/etc/mkinitcpio.conf"
    fallback_image="/boot/kernel26-icc-fallback.img"
    fallback_options="-S autodetect"
    kernel26-icc.install
    # arg 1: the new package version
    # arg 2: the old package version
    KERNEL_NAME=-icc
    KERNEL_VERSION=2.6.33-icc
    post_install () {
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION
    # generate init ramdisks
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
    post_upgrade() {
    pacman -Q grub &>/dev/null
    hasgrub=$?
    pacman -Q grub2 &>/dev/null
    hasgrub2=$?
    pacman -Q lilo &>/dev/null
    haslilo=$?
    # reminder notices
    if [ $haslilo -eq 0 ]; then
    echo ">>>"
    if [ $hasgrub -eq 0 -o $hasgrub2 -eq 0 ]; then
    echo ">>> If you use the LILO bootloader, you should run 'lilo' before rebooting."
    else
    echo ">>> You appear to be using the LILO bootloader. You should run"
    echo ">>> 'lilo' before rebooting."
    fi
    echo ">>>"
    fi
    if grep "^[^#]*/boot" /etc/fstab 2>&1 >/dev/null; then
    if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then
    echo "WARNING: /boot appears to be a seperate partition but is not mounted"
    echo " This is most likely not what you want. Please mount your /boot"
    echo " partition and reinstall the kernel unless you are sure this is OK"
    fi
    fi
    if [ "`vercmp $2 2.6.13`" -lt 0 ]; then
    # important upgrade notice
    echo ">>>"
    echo ">>> IMPORTANT KERNEL UPGRADE NOTICE"
    echo ">>> -------------------------------"
    echo ">>> As of kernel 2.6.13, DevFS is NO LONGER AVAILABLE!"
    echo ">>> If you still use DevFS, please make the transition to uDev before"
    echo ">>> rebooting. If you really need to stay with DevFS for some reason,"
    echo ">>> then you can manually downgrade to an older version:"
    echo ">>>"
    echo ">>> # pacman -U http://archlinux.org/~judd/kernel/kernel26-scsi-2.6.12.2-1.pkg.tar.gz"
    echo ">>>"
    echo ">>> If you choose to downgrade, don't forget to add kernel26-scsi to your"
    echo ">>> IgnorePkg list in /etc/pacman.conf"
    echo ">>>"
    echo ">>> (NOTE: The following portion applies to uDev users as well!)"
    echo ">>>"
    echo ">>> If you use any DevFS paths in your GRUB menu.lst, then you will not"
    echo ">>> be able to boot! Change your root= parameter to use the classic"
    echo ">>> naming scheme."
    echo ">>>"
    echo ">>> EXAMPLES:"
    echo ">>> - change root=/dev/discs/disc0/part3 to root=/dev/sda3"
    echo ">>> - change root=/dev/md/0 to root=/dev/md0"
    echo ">>>"
    fi
    # generate new init ramdisk
    if [ "`vercmp $2 2.6.18`" -lt 0 ]; then
    echo ">>> --------------------------------------------------------------"
    echo ">>> | WARNING: |"
    echo ">>> |mkinitrd is not supported anymore in kernel >=2.6.18 series!|"
    echo ">>> | Please change to Mkinitcpio setup. |"
    echo ">>> --------------------------------------------------------------"
    echo ">>>"
    fi
    # updating module dependencies
    echo ">>> Updating module dependencies. Please wait ..."
    depmod $KERNEL_VERSION
    echo ">>> MKINITCPIO SETUP"
    echo ">>> ----------------"
    if [ "`vercmp $2 2.6.18`" -lt 0 ]; then
    echo ">>> Please change your bootloader config files:"
    echo ">>> Grub: /boot/grub/menu.lst | Lilo: /etc/lilo.conf"
    echo "------------------------------------------------"
    echo "| - initrd26.img to kernel26${KERNEL_NAME}.img |"
    echo "| - initrd26-full.img to kernel26${KERNEL_NAME}-fallback.img |"
    echo "------------------------------------------------"
    fi
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    echo ""
    echo ">>> New PATA/IDE subsystem - EXPERIMENTAL"
    echo ">>> ----------"
    echo ">>> To use the new pata drivers, change the 'ide' hook "
    echo ">>> to 'pata' in /etc/mkinicpio.conf HOOKS="
    echo ">>> The new system changes: /dev/hd? to /dev/sd?"
    echo ">>> Don't forget to modify GRUB, LILO and fstab to the"
    echo ">>> new naming system. "
    echo ">>> eg: hda3 --> sda3, hdc8 --> sdc8"
    echo ""
    echo ">>> piix/ata_piix (Intel chipsets) - IMPORTANT"
    echo "----------"
    echo ">>> If you have enabled ide/pata/sata HOOKs in /etc/mkinitcpio.conf"
    echo ">>> the 'ata_piix' module will be used."
    echo ">>> This may cause your devices to shift names, eg:"
    echo ">>> - IDE: devices from hd? to sd?"
    echo ">>> - SATA: sda might shift to sdc if you have 2 other disks on a PIIX IDE port."
    echo ">>> To check if this will affect you, check 'mkinitcpio -M' for piix/ata_piix"
    echo ""
    fi
    echo ">>> If you use LVM2, Encrypted root or software RAID,"
    echo ">>> Ensure you enable support in /etc/mkinitcpio.conf ."
    echo ">>> More information about mkinitcpio setup can be found here:"
    echo ">>> http://wiki.archlinux.org/index.php/Mkinitcpio"
    echo ""
    echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
    if [ "`vercmp $2 2.6.19`" -lt 0 ]; then
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME} -m "ATTENTION:\nIf you get a kernel panic below
    and are using an Intel chipset, append 'earlymodules=piix' to the
    kernel commandline"
    else
    /sbin/mkinitcpio -p kernel26${KERNEL_NAME}
    fi
    if [ "`vercmp $2 2.6.21`" -lt 0 ]; then
    echo ""
    echo "Important ACPI Information:"
    echo ">>> Since 2.6.20.7 all possible ACPI parts are modularized."
    echo ">>> The modules are located at:"
    echo ">>> /lib/modules/$(uname -r)/kernel/drivers/acpi"
    echo ">>> For more information about ACPI modules check this wiki page:"
    echo ">>> 'http://wiki.archlinux.org/index.php/ACPI_modules'"
    fi
    post_remove() {
    rm -f /boot/kernel26${KERNEL_NAME}.img
    rm -f /boot/kernel26${KERNEL_NAME}-fallback.img
    Then there's of course the config, it's based on kernel26 at the moment,.
    I'm building it now, to test. I had to install icc manually because the AUR package for icc didn't work for me. I had to install icc manually (run the installer), but that wasn't enough. Before makepkg, you have to add the icc to $PATH e.g.
    PATH=$PATH:/opt/intel/Compiler/11.1/064/bin/intel64
    and execute iccvars_intel64.sh which is in that folder.
    Last edited by Fackamato (2010-02-25 23:43:38)

    Ashren wrote:So there is a significant performance gain with ICC? Compilation time wise or?
    icc kernel compiles in similar time as gcc kernel, or if there any differences these may be negligible. To be honest I was not really interested in compiling times (was doing somethig else as it takes ~12 min on my system to finish kernel compilation), but rather with overall kernel performance. This is not the same as OS performance, but I am planning to compile firefox with icc and maybe some other stuff (if I am bored enough).
    If you have 32-bit OS (I have no idea how it will work on 64-bit), try it. I can't post PKGBUILD for 32-bit icc kernel because I don't use PKGBUILD for kernels or nvidia as I have found it limiting/cumbersome/unnecessary (while PKGBUILDs work great for anything else on Arch).
    The only part really annoying is intel server speed. Downloading icc sources (710MB for 32-bit only) tahes two hours. If you try to get 32/64bit sources even longer (1GB download).
    32-bit icc PKGBUILD package requires only one modification related to Release Notes otherwise makepkg will fail. Once installed export icc path, edit kernel Makefile and change one line related to compiler: change gcc to icc. You can also add some compiling optimizations.
    Pretty easy if you did compile kernel before.
    note added:
    actually combination of icc and zen seems to have nice effect on desktop responsiveness (this is 2.6.33)
    Last edited by broch (2010-02-26 19:54:57)

  • Am I wasting my time with from source compiles?

    Greetings all,
    I have a question, and it may be silly. I'm a gamer but not a hardcore "zOMG I needZ moRe powAh tHan I actUAlly n33d!" type.
    I've used Gentoo from 2002 - 2006.
    I started using Arch Linux in fall of 2006 and have used it since.
    Couple days ago I "upgraded" from my AMD 64 x2 - 2Ghz system, to a Intel Core 2 Duo E8400 3Ghz system with 4 GB Ram and Geforce 560 Ti. I installed Arch Linux and then I installed Gentoo just for nostalgic and curiosities sake, I had a working Gentoo install within a few hours. I'm not noticing that much of a difference in performance between the two, X seems to load a bit faster on Gentoo but other apps in general load the same, have same performance quality and games have about the same exact framerates. Reguardless if I use "default" USE flags or "all dependencies" USE flags (I tend to be an all dependencies type of guy -- but I did both types for my testings) im not seeing that much, if any at all, performance differences.
    I should also note that: Phoronix Test Suite actually provided better performance numbers in Arch Linux than in Gentoo Linux.
    Now my "silly" question and I want true answers and not just speculative answers.
    Am I wasting my time with Gentoo and from source compiles in general? If I generally tend to do all dep compiles, and im not seeing any performance difference reguardless if I do or don't do the all deps USE flags approach, simular gaming framerates, etc... am I really wasting my time with all the compiles and compile time? Thanks in advance.
    Last edited by Chaniyth (2011-11-21 17:08:26)

    Chaniyth wrote:.....I installed Arch Linux and then I installed Gentoo just for nostalgic and curiosities sake, I had a working Gentoo install within a few hours. I'm not noticing that much of a difference in performance between the two.....I should also note that: Phoronix Test Suite actually provided better performance numbers in Arch Linux than in Gentoo Linux. ..... Am I wasting my time with .. source compiles..?
    IME yes, if your goal is overall performance you ARE wasting your time. I have the same results in benchmarking stock Archlinux vs. the same system recompiled with CFLAGS="-march=native etc." on Sandy Bridge. The recompiled system ran slightly slower on some tests. Quite a bit faster on bzip2 compression. Better x264 performance. Much lower latencies, measured using the interbench package from AUR. But the lower latency depends primarily on the kernel.  I use linux-lqx with arch=native; it is better than linux-ck or linux-pf in my tests.
    I compile everything on my Archlinux system, using xmonad/lxpanel/rox as desktop or, when I'm in an alternate mood, KDE/rox. I don't compile from source for speed (except for math packages like sage-mathematics which can sometimes take advantage of the extra registers and SIMD instructions). I compile from source so that I have a complete system on hand. I once lived off-grid (in a cabin in the Ozark National Forest) and got in the habit of keeping my system ready for self-reliance. I enjoy having source code available for perusal and I modify a few of my packages. I use my own build script that uses meld to help me quickly bring forward my modifications into updated PKGBUILDs from the Arch repository (hey, there's no USE flags but I find that just modifying the PKGBUILD is actually cleaner, less baroque than the circular mess that can happen in Gentoo.)
    One word of caution on your Phoronix benchmarks. Phoronix Test Suite was invented for comparing hardware. It uses its own binaries for many of the tests. When looking for the effect of software changes on the same hardware you should use the changed software (obviously). To do this with PTS you need to go into the ~/.phoronix-test-suite/installed-tests/pts/<test>/ folder and move aside the folder containing the phoronix version of the binary being tested and link to your /usr directory. For example, in the sqlite test folder I move aside "sqlite_" and "ln -s /usr sqlite_"  You can figure how to get each test to run local software by looking at the script in the test folder. If you don't do this, IMO you're getting misleading results from the PTS.

  • Drawbacks of using ane with debuggable swc

    Are there any drawbacks of using ane (air native extension) with debuggable swc in release build?
    Can such extension impact performance in any way?
    Adobe Scout keeps detecting my release build as debug (SWF Type: debug) if I include in it any extension with debuggable (-debug=true) swc.
    Is it wrong warning?

    I was trying to do the same thing, and thought I'd share even though this post is old.
    1. Couldn't get dynamic framework working, went with static.
    2. We put the static framework in the packagedDependencies tag just like the OP did.
    3. We also had problems with assets, so we followed this: Adobe Flash Platform * Including resources in your native extension package
    We put the assets in the iPhone-ARM directory in the ANE, and they do get copied to the root directory of the IPA.  We have been able to use storyboards, images, etc stored in the custom framework without problems.  Since assets from EVERY ANE get copied to the top level of the IPA, yes, we did have to change asset names to avoid conflicts.  Annoying but doable.
    I'm probably missing some details of how we did it but I at least wanted to share that after much pain and Googling, we did get a custom framework in an ANE to work, even on iOS7.

  • Using 1.4 with 1.3 compiled files

    According to the various benchmarks, 1.4 is faster than 1.3 for some things. Since I use JBuilder, I'm stuck with a 1.3 compiler for now. If I use the 1.4 JRE, will I take advantage of improvements to the rendering pipe-line etc, or not?

    research? Oh that explains things... You're not actually trying to imply that research projects are trivial and simplistic?
    You're not suggesting that the latest branches of AI programming, of improving server performance are somehow easier to write or have more obvious code than a glorified database application?
    JDeveloper is great with Oracle. It will create objects that communicate with your data so you can focus on the logic. This is all good. It's also a glorified database application. I'm not trying to suggest that there's no place for database applications, they're useful in a hundred different contexts all around the world. They just aren't the only "real" program you can write.
    How much would JDeveloper help with creating a non-blocking IO library for Java?
    http://www.cs.berkeley.edu/~mdw/proj/java-nbio/
    How much would JDeveloper help with creating a thread library for use with arbitrary projects?
    http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html
    "That explains things", indeed.
    For that matter, how much does a graphical debugger help with debugging any problem that inherently lies in interaction between multiple threads? Timestamped logging to the rescue.

  • Stateless Controller - Debugger wont start

    Hi,
    I am trying to debug a controller. Debugger just wont start when its declared as stateless. As soon as I declare it as stateful, debugger starts.
    Can someone please tell me how to debug in a stateless scenerio?
    Thanks

    Hi Shalaxy,
    Have you tried with external breakpoints?(i.e se80->BSP page->utilities->External breakpoints->activate/deactivate or CtrlShiftF11. )
    Try with the below mentioned option,
       goto SICF --> Service name ex:HCM_LEARNING --> press F8 -->place curson on HCM_LEARNING -->
       goto Edit --> Debugging -->Activate debugging.
    Let me know if you have any queries.
    Regards
    Bhaskar Arani

  • Debugging servers with gdb and compiled with gcc

    I have trouble debugging my servers on Solaris.
    Setup: Solaris 8 (2.8?)
    [user@ ~]$ gcc -v
    Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/specs
    Configured with: ../configure disable-nls with-as=/usr/ccs/bin/as --with-
    ld=/usr/ccs/bin/ld
    Thread model: posix
    gcc version 3.2.3
    [ ~]$ gdb -v
    GNU gdb 5.0
    Copyright 2000 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.8".
    I can run the server, debug and step through the code, inspecting variables. But when i
    type "cont" to continue and let the server finish, what heppens is:
    The server finishes (bec i get my result back to the client)
    GDB hangs saying "Continue" and i wont get the GDB-promt back.
    I have to kill the gdb from the unixprompt
    Question: Has anyone tried to run and debug tuxedo servers using gcc and gdb?
    any input is of value even if someone has had success on linux with gcc and gdb.
    My guess is that it has to do with the threading of gdb and tuxedo that will not match.
    Mats Gårdstad Friberg
    Datarutin AB Sweden

    options=('debug' 'staticlibs')
    these are the options i have set in the PKGBUILD, i might try giving CFLAGS directly, but compiling libc on this old dualcore takes quite a bit of time unfortunately

  • [SOLVED]awn-extras-applets wont compile

    hey guys im trying to install awn-extras-applets via yaourt and it doesnt compile, it starts and then just stops half way asking me to restart the build process. though avant-window-navigator goes fine
    heres the compile messages
    Avant Window Navigator Extras 0.4.0
    ===================================
    prefix: /usr
    Vala Support: yes
    WebKit Support: webkit-1.0
    XULRunner Support: no
    Making all in applets
    Making all in maintained/animal-farm
    Generating and caching the translation database
    Merging translations into animal-farm.desktop.
    Making all in maintained/awnterm
    CC awn-terminal.o
    In file included from ./keybinder.h:27:0,
    from awn-terminal.c:40:
    /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
    In file included from awn-terminal.c:41:0:
    /usr/include/glib-2.0/glib/gi18n.h:28:0: warning: "_" redefined [enabled by default]
    In file included from awn-terminal.c:37:0:
    /usr/include/glib-2.0/glib/gi18n-lib.h:32:0: note: this is the location of the previous definition
    In file included from awn-terminal.c:41:0:
    /usr/include/glib-2.0/glib/gi18n.h:29:0: warning: "Q_" redefined [enabled by default]
    In file included from awn-terminal.c:37:0:
    /usr/include/glib-2.0/glib/gi18n-lib.h:33:0: note: this is the location of the previous definition
    In file included from awn-terminal.c:41:0:
    /usr/include/glib-2.0/glib/gi18n.h:31:0: warning: "C_" redefined [enabled by default]
    In file included from awn-terminal.c:37:0:
    /usr/include/glib-2.0/glib/gi18n-lib.h:35:0: note: this is the location of the previous definition
    awn-terminal.c: In function 'awn_terminal_applet_create_new_tab':
    awn-terminal.c:885:2: warning: 'vte_terminal_fork_command' is deprecated (declared at /usr/include/vte-0.0/vte/vtedeprecated.h:82) [-Wdeprecated-declarations]
    awn-terminal.c: In function 'awn_terminal_applet_exited_cb':
    awn-terminal.c:1035:3: warning: 'vte_terminal_fork_command' is deprecated (declared at /usr/include/vte-0.0/vte/vtedeprecated.h:82) [-Wdeprecated-declarations]
    make[4]: *** [awn-terminal.lo] Error 1
    make[3]: *** [all] Error 2
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build awn-extras-applets.
    ==> Restart building awn-extras-applets ? [y/N]
    im also having a problem when starting avant with the terminal. it says gtk warning and no protocal
    heres the error
    avant-window-navigator
    No protocol specified
    No protocol specified
    (avant-window-navigator:5464): Gtk-WARNING **: cannot open display: :0
    All of this is in virtualbox. so that might be causing an issue im not sure and openbox, i also tried the bzr versions and it wont connect to the bazaar server
    Last edited by nankura (2012-07-20 22:58:48)

    Dumping terminal applet patch here:
    --- awn-extras-0.4.0/applets/maintained/awnterm/awn-terminal.c 2012-10-18 15:26:16.110686193 +0300
    +++ awn-extras-0.4.0.new/applets/maintained/awnterm/awn-terminal.c 2012-10-18 15:31:26.179060476 +0300
    @@ -882,7 +880,11 @@
    g_return_if_fail (self != NULL);
    terminal = g_object_ref_sink ((VteTerminal*) vte_terminal_new ());
    vte_terminal_set_emulation (terminal, "xterm");
    - vte_terminal_fork_command (terminal, NULL, NULL, NULL, "~/", FALSE, FALSE, FALSE);
    + char *startterm[2]={0,0};
    + startterm[0]=vte_get_user_shell();
    + vte_terminal_fork_command_full(VTE_TERMINAL(terminal),
    + VTE_PTY_NO_LASTLOG | VTE_PTY_NO_UTMP | VTE_PTY_NO_WTMP,
    + "~/", startterm, NULL, 0, NULL, NULL, NULL, NULL);
    if (self->priv->_background_image != NULL) {
    vte_terminal_set_background_image_file (terminal, self->priv->_background_image);
    @@ -1032,7 +1032,11 @@
    gtk_widget_show_all ((GtkWidget*) self->priv->dialog);
    } else {
    vte_terminal_reset (terminal, TRUE, TRUE);
    - vte_terminal_fork_command (terminal, NULL, NULL, NULL, "~/", FALSE, FALSE, FALSE);
    + char *startterm[2]={0,0};
    + startterm[0]=vte_get_user_shell();
    + vte_terminal_fork_command_full(VTE_TERMINAL(terminal),
    + VTE_PTY_NO_LASTLOG | VTE_PTY_NO_UTMP | VTE_PTY_NO_WTMP,
    + "~/", startterm, NULL, 0, NULL, NULL, NULL, NULL);
    gtk_widget_hide ((GtkWidget*) self->priv->dialog);

  • Macbook Pro with Retina wont detect monitor on mini display port to dual-link dvi adapter

    So after reading Jeff Atwood's post, I decided to jump and give it a shot. So this week I got my monitor in from Korea, and I already had my Apple mini display port to dual-link dvi adapter, hooked everything up - and nothing. Monitor doesnt show a signal, and no display shows up in user preferences.
    To verify the monitor actually works, i plugged it into my windows box - and boom, right away there it is in all its glory. So I called apple support, after spending about an hour going through the "are you sure its plugged in stuff", the tech finally admitted to being stumped and blamed the adapter. Not to be deterred, I then went to my local apple store and talked them into trying their adapter to rule out the adapter - regardless of the adapter, the mbp wont detect the monitor.
    Just for fun, i tried my old single mini displayport to single dvi, the monitor is recognized, but that obviously cant drive the right resolution, so i just get a backlight. Same deal when i try the hdmi port with a hdmi to dual-link dvi adapter on the end of it. Also tried display port to the same hdmi with adapter on it (the joys of working in a dev shop - cables to test everywhere)
    I have read / tried a ton of things:
    re-installed / uninstalled air display, just to be sure it was gone. went through all my apps just to see if there is anything like this i could think would be effecting it
    install gfxCardStatus to ensure i am on the nvidia (discrete) and not the internal card
    Played with different settings on SwitchResX to try to force the res over hdmi - no love - os rejected each one
    I bought the monoprice adapter wondering if it was just the apple adapter since the apple adapter has been panned, no love from it either
    Reset the PRAM countless times
    I have two other adapters coming in to test with in a day or two - maybe one of those will be magic, but at this point i kinda think its software on the mac. My Spec:
    I am running Mountain Lion with all the latest updates
    New MBP with Retina (2.6g processor, 16gig ram, nvidia video card)
    Here is the ebay link to the monitor
    Now the other weird thing is pretty much universally these auctions say the monitors cant be run on a laptop - which makes no sense to me, because its just a connection, if the video card is strong enough (which my machine better be) it shouldnt matter the source. The listing mentions its a "by-pass" monitor, which is something I and google have never heard of.
    So any sage words to make my day?

    Magic was, I have to have the adpter plugged into the mac, let it recognize all with the monitor powered off.
    then power on the monitor, and boom gloriousness
    For future generations, setup that works:
    1) MacBook Pro with Retina
    2) Monitor From Korea (example auction)
    3) Accell Mini DisplayPort to Dual-Link DVI Active adapter (amazon)
    4) Boot mac, plug in adapter, let it recognize the monitor, power on monitor

  • Hp laserjet pro p1606dm with yosemite with usb wont print but printed on a network

    hp laserjet pro p1606dm with Mac Yosemite using a USB wont print. Printed however when used on a network. Downloaded a driver again, though driver already installed. Driver was a dmg file and wouldn't open. Forum told me to use Safari to open a dmg file but that didn't work. Help! Want to use the printer at home that I was using at the office.

    Hi @soneighbor ,
    I understand that you are having issues printing from a USB connection, but you were able to print by a Wired Network connection. I will certainly do my best to help you.
    The drivers for 10.8 are installed by the Apple Updates.
    Once the printer is connected by a USB cable directly to the Mac, you should be able to just run the Apple Updates to install the drivers automatically. Installing a Mac Printer Driver Using Apple Software Update.
    Delete any of the older drivers first.
    Check the driver name that is installed for the printer. Make sure it shows just the printer's name.
    Click the Apple menu and then click System Preferences. Click Printers & Scanners, highlight the printer name on the left side and on the right side of the screen it should show the printer's name. (Laserjet P1606dn)
    If the full printer name isn't listed correctly, delete it and add the printer name back in from the list. Click the - sign to delete the driver and then click the + sign to add the driver, might have to click the drop down to select the printer's name to add it in.
    Try printing again.
    If you run into any issue, please do the following:
    Repair the Disk Permissions on the Mac:
    Close all applications.
    On the Apple menu bar, click Go, click Applications and then click Utilities.
    Double-click Disk Utility.
    Highlight your hard drive/partition on the left.
    Click Verify and then Repair Disk Permissions.
    Restart the computer..
    Reset the Printing System:
    Note: This will remove all printers in the print and Fax/Scan, any printer removed can be re-added later by clicking the plus (+) symbol.
    Click the Apple icon and then click System Preferences.
    Click Printers & Scanners.
    Right-click (or Ctrl +click) in the left white side panel, then click Reset printing system.
    Click OK to confirm the reset.
    Type the correct Name and Password.
    Click OK to reset the printing system.
    Then click the + sign to add the driver, highlight the printer. (you might have to click the drop down to select the printer's name) Then click on the Add button.
    Try printing again.
    If you are still having any issues, download and install the HP Printer Drivers v3.0 for OS X.
    If you need further assistance, just let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Created CS5.5 Installer (with AAMEE) wont install Adobe Acrobat X

    Hi,
    since two days I am "fighting" with the new Design Std CS5.5.
    I downloaded it from our Adobe licensing portal and unpacked the zip-File.
    Like the CS5.0 before I used AAMEE to create a silent installation. But whatever I do there, it wont install the Adobe Acrobat X. I can see it in AAMEE while creating, and when it is finished it also shows the symbol there, and that everything is fine.
    I tried without updates, and I even tried a 32-bit installer - but with that, it installs the Suite and after 20 minutes (or so) of installation, everything is removed again.
    I really dont know whats going on, since all other adobe products were always working fine with AAMEE. I even upgraded to the newest version, but nothing helps.
    Any ideas here?
    Nina

    When you package from AAMEE then there are twop folder craeted ,
    1) Builds
    2) Extension
    Builds folder have the MSI file to install teh suite however the acobat is not included in it , the acrobat MSI for installation is included in the extensions folder.
    Now , once you have the MSI for acrobat , tere is a specific command to run the Acrobat installation , it is not the same as of the Suite,
    The command is present in the text info file in the extensions folder , the last few lines will be the command . you need to replace acropro.msi in teh command with the location of the MSI actually present.
    Are following the same method to install Acrobat i.e running the command seperatly?
    For details you can refer to :- http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v2_1.pdf

Maybe you are looking for

  • How do we handle multiple items in Apex?

    Hi All, I have a requirement in to process the fileds data.I have a item by name as "Platts Lead1 to Platts Lead10" of type list items. By assuming end user can select entire fileds or we can first five items i.e "Platts Lead1 to Platts Lead5" and th

  • Statement not accessible - Syntax error

    Hi all, There is a form within a standard include. The form has an include within it. Its a custom include. So its an exit i suppose. Now i have a problem in the custom include. There is "statement not accessible" error. Find below the code in the cu

  • 2.6 + DELL PowerEdge 4400 + AIC-7880 + AIC-7899 don't mix

    Hi, I have 10 DELL Poweredge 4400 servers to get Solaris 2.6 installed on asap. They come with embedded aic-7880 for scsi cdrom and aic-7899 for raid support. Well I can not get past the DCA diskettes to get Solaris installed. Seems to hang on the ad

  • Default Apache Indexes: add "mail to" button

    Howdy, I run a LAMP server and I am currently hosting some .pdf's for college, being shown using the default apache Indexes option (with some .css I found) I would like to add a button, visible when hovering, to mail each file to an email address (to

  • Create type problems

    Hi all, I'm not able to create objects using SQL in oracle. When I use Create type obj_ty as object(name varchar2(10)); 2 is what I get, that is, it goes to the next line without executing the create object stmt. Kindly help me out. Thanks, -Vikram