[solved] Vanilla kernel won't compile on vanilla install

I am new to Arch Linux but not new to other Linux distros. I've encountered somewhat of a strange problem. I wanted to test out some custom kernel modifications on Arch Linux. (Specifically, I have been trying to implement unRAID [ http://lime-technology.com/ ] into a Arch Linux install.) I ran into some problems compiling the modified 2.6.36.2 kernel and figured it was just my modifications. But to my surprise, I am unable to even compile a vanilla kernel on a fresh install (base and devel) of Arch Linux. After further testing, it seems to affect other kernel versions, but only older kernel version. For example,vanilla 2.6.38 compiles fine. I've outlined my process below.
1. Fresh install of Arch Linux (base and devel)
2. Installed OpenSSH and configured so I could connect remotely.
3. Prepare source tree: http://pastie.org/1929380
4. Accepted defaults on make menuconfig
5. Full build log: https://pastee.org/gvng5
Then it tanks on this error:
CC arch/x86/mm/mmio-mod.o
LD arch/x86/mm/mmiotrace.o
LD arch/x86/mm/built-in.o
LDS arch/x86/vdso/vdso32/vdso32.lds
AS arch/x86/vdso/vdso32/note.o
AS arch/x86/vdso/vdso32/int80.o
VDSO arch/x86/vdso/vdso32-int80.so.dbg
gcc: error: elf_i386: No such file or directory
OBJCOPY arch/x86/vdso/vdso32-int80.so
objcopy: 'arch/x86/vdso/vdso32-int80.so.dbg': No such file
make[2]: *** [arch/x86/vdso/vdso32-int80.so] Error 1
make[1]: *** [arch/x86/vdso] Error 2
make: *** [arch/x86] Error 2
I've tested on other kernel (old-ish) versions and I get the same error. Any ideas?
Last edited by TaterSalad (2011-05-20 04:49:15)

I don't what the problem is, but I could not get it to compile with gcc 4.6. I did do a netinstall the first time around though with all the latest packages. Maybe there is some updated package throwing the error? Maybe binutils? No matter though. I don't need gcc 4.6 anyways. I reinstalled Arch with a non-net install (to get the older packages) and it worked. Thanks for the help graysky.
If anyone is in the mood for hunting bugs, you might try a fresh netinstall and reproducing my original steps to see if you can reproduce it. Might be worth reporting.
Last edited by TaterSalad (2011-05-20 14:26:25)

Similar Messages

  • [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)

  • [SOLVED] mplayer-svn won't compile

    Wanted to try one application that needs svn version of mplayer to run. Well, i'm not able to compile it
    liba52/imdct_3dnow.h:289: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
    liba52/imdct_3dnow.h:257: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
    liba52/imdct_3dnow.h:117: error: 'asm' operand has impossible constraints
    liba52/imdct_3dnow.h:283: error: 'asm' operand has impossible constraints
    liba52/imdct.c: In function 'ifft16':
    liba52/imdct.c:294: warning: array subscript is below array bounds
    liba52/imdct.c: In function 'ifft64_c':
    liba52/imdct.c:310: warning: array subscript is below array bounds
    liba52/imdct.c: In function 'ifft128_c':
    liba52/imdct.c:318: warning: array subscript is below array bounds
    liba52/imdct.c:322: warning: array subscript is below array bounds
    make: *** [liba52/imdct.o] Error 1
    Google found something: http://gcc.gnu.org/ml/gcc-bugs/2009-05/msg00633.html
    So is there any chance i could compile it? Need to downgrade gcc?
    Last edited by Dzaro (2009-05-09 09:30:58)

    Oh, didn't know that
    Thank you
    Edit: yes, it's working now
    Last edited by Dzaro (2009-05-09 09:30:36)

  • [Solved] Pulse Audio won't work on newly installed system with Gnome

    About a year ago I got a new computer and more or less retired my old one with my first arch install. Recently, I decided I would set it up as a Linux system for my sister. I first updated the computer, which broke it royally (since it was last updated before the /bin symlinking happened) but I eventually got it fixed. However, after doing that, Pulse Audio wouldn't work, then I broke X and decided to do a full reinstall.
    Now, on this clean install, Pulse is again not working. I have set up Gnome and gdm to work, and everything works great except Pulse.  The wiki says that Pulse with Gnome 3 requires no extra setup, so I have not edited conf files at all. I have, however, installed "pulseaudio-alsa", which created this conf file:
    # Use PulseAudio by default
    pcm.!default {
    type pulse
    fallback "sysdefault"
    hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
    ctl.!default {
    type pulse
    fallback "sysdefault"
    # vim:set ft=alsaconf:
    which seems fairly standard. Anyway, I tried removing it and had the same problems. When I have Pulse Audio running and try to play sound, I get the error:
    ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
    Playback open error: -16,Device or resource busy
    which is obviously trying for ALSA, or from mplayer:
    AO: [pulse] Init failed: Connection refused
    Running "pacmd list" nets me:
    Daemon not responding.
    and pavucontrol gives me:
    Fatal Error: Unable to connect to PulseAudio: OK
    when I try to start it.
    No pulseaudio commands seem to work (e.g. pulseaudio -k). They don't raise any errors, but also it doesn't have any effect on the server.
    The only asound conf file is "/etc/asound.conf", clearing ~/.config/pulse does not fix the issue.
    Journalctl does not seem to give anything interesting (Stale PID is the only message when starting Pulse), though admittedly I'm just vgrepping all of journalctl since I don't know how to narrow it down more, nor does the output from pulseaudio -vvvv. There are a lot of errors in pulseaudio -vvvv, but they all appear to be related to loading devices that don't exist, and so I assume not a problem, I can post it if necessary. Sometimes when I kill Pulse the process refuses to go away and I have to reboot in order to clear the process out, but I don't think that's related.
    If I kill Pulse or keep it from starting on boot, I can play sound, but only through ALSA, and while I didn't have the problem I expected (I can still play multiple things simultaneously) there's still the issue that the volume buttons in Gnome will no longer work and that the volume levels ALSA reports are basically nonsense to a human being.
    I basically just blurbed everything I thought of/found on the wiki or forums, and I'm not really sure where to go from here. It's a fairly old computer, so that could be related, and I'd be willing to dump Pulse if Gnome could integrate well with ALSA, but obviously fixing Pulse would be the preferred option.
    Any suggestions on where to look next? I've run out of ideas.
    Thanks.
    Last edited by HuFlungDu (2014-01-07 19:52:11)

    Wonder if you have a conflict between two audio cards ... for example, I have a friend with some PulseAudio problems caused by conflict between the HDMI audio from his graphics card and his onboard sound. Something would switch PulseAudio to the wrong card and it would just quit after getting itself into a twist. Unsolved, I'm afraid, but have a look at commands such as:
    aplay -l
    pactl list sinks
    pactl stat
    (Latter two will need PulseAudio coaxed into life first)
    and of course, the Arch wiki.
    If there is a conflict, blacklisting kernel modules might also be needed.

  • [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] RT Kernel & Nvidia Drivers

    I apologize in advance if this questions has already been answered in the forums.  I did search them and read through a lot of posts but couldn't find exactly what I'm looking for.
    Today is my second day with the outstanding Arch Linux.  I was able to get it installed and setup with no problems whatsoever.  Today I'm having a little problem.  I have the kernel package "kernel26-2.6.30.6-1-x86_64.pkg.tar.gz" installed along with the "kernel-headers-2.6.30.5-1-x86_64.pkg.tar.gz" package.  I installed the "nvidia-185.18.36-1-x86_64.pkg.tar.gz" package and all is well on the desktop (have OpenGL and everything.  I need a RT kernel for Jack & Ardour audio recording.  I have installed (kernel26rt-2.6.29.5_rt23-1-x86_64.pkg.tar.gz, not sure which repo I got that from but I installed it with "pacman").  When I boot that kernel I get some error about not being able to load the nvidia module.  I expected that as that's what always happens in other distros.  Usually in them I can install the kernel-headers for the RT kernel, reboot and it works then.  I can't find the headers for the RT kernel I installed and I'm not sure if it would help if I did.
    I guess my question is this: is there a simple ("pacman -S some-rt-kernel" & "pacman -S some-nvidia-rt-something") I can do that I don't know about or am I going to have to get my hands all dirty with ABS and/or AUR and source installing?
    I installed the base system, X, a full Gnome desktop with every bell & whistle you can think of with the greatest of ease with "pacman".  I just find it hard to believe I can get a RT kernel and Nvidia drivers working the same way.
    Anyway, thanks for any help.
    Zaephen.
    Edit:
    I thought I should mention, I just went to "http://repos.archaudio.org/testing/i686/" (the place I think I got my RT kernel, just the x86_64 page) and they have a "nvidia-rt-185.18.14-1-i686.pkg.tar.gz" package in the i686 repo.  Doesn't help me on x86_64 though .
    Last edited by Zaephen (2009-09-28 12:00:34)

    Zaephen wrote:
    A huge thanks to you both!
    Taking ugkbunb's advice, I compiled the ice kernel & nvidia-beta.  Worked without any problems and I have a RT kernel !  My default kernel no longer works with Nvidia but I expected that.  I suppose the easiest way to fix that would be to compile the ice kernel without RT, having a "regular" kernel and a "RT kernel?
    Thanks for the help guys.  If I can get a regular kernel working with Nvidia support, great, if not, great.  With your help I got a RT kernel working and that's a must for audio recording.
    Zaephen.
    It is easy to get your non-rt kernel to work with nvidia... just download the pkgbuild for nvidia-beta... change the name to so it does not conflict... I usually change the name of the RT drivers to nvidia-beta-rt... but since you already have them installed as nvidia-beta... you could change it to nvidia-beta-vanilla or anything really... then edit the `uname -r` line so that it points to the proper kernel... pretty sure it is 2.6.31-ARCH... if that doesn't work... just boot into your vanilla kernel and build the package from there leaving the `uname -r' line as is but making sure to change the package name so it doesn't conflict. Walla! two drivers installed and the proper one will load with each kernel.
    Zaephen wrote:
    ngoonee wrote:
    Hmm... are you sure you have the RT kernel? Forced preemption? I couldn't build the nvidia drivers on mine.
    As for having nvidia drivers for both kernels, its quite simple. Just install nvidia-beta for the main kernel and copy the PKGBUILD (rename the package to nvidia-beta-rt or something like that) and install that on the RT kernel.
    Yes I have both the regular Arch kernel and the RT kernel.
    This may sound dumb but, can anyone tell me how to distinguish between kernels when I install them like I did the -ice kernel?  I have the ice kernel installed as posted above with the RT patch.  Now I'm going to try and install another -ice kernel only this time I'm not going to have the RT patch applied.  Won't this install over my present -ice kernel if I don't tell it to call it something else?  How can I call it something else?
    Zaephen.
    Yes it will... you will need to edit the package name and as well dig through your kernel config and edit the LOCAL VERSION variable. Why do you want to have 3 kernels installed though?
    Last edited by ugkbunb (2009-09-21 16:14:13)

  • 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)

  • 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.

  • DG4ODBC MSSQL query works in sql, but won't compile in PL/SQL.

    I'm using DG4ODBC from 11g to query a SQL Server database. The query I'm using works in a SQL DEveloper SQL worksheet and sqlplus, but won't compile in a PL/SQL procedure.
    The query is
      INSERT
      INTO crm_labels
          accountid,
          label_name,
          cir_labelcode,
          cir_knownasname,
          cir_countryidname,
          parentaccountidname,
          cir_customertypecode1,
          cir_customertypecode2,
          cir_dealstatus
      SELECT "AccountId",
        REPLACE("Name",chr(0)) label_name,
        REPLACE("Cir_labelcode",chr(0)) ,
        REPLACE("Cir_knownasname",chr(0)),
        REPLACE("cir_countryidName",chr(0)),
        REPLACE("ParentAccountIdName",chr(0)),
        "Cir_customertypecode1",
        "Cir_customertypecode2",
        "Cir_dealstatus"
      FROM "dbo"."Account"@crmsvc
      WHERE "Cir_labelcode" IS NOT NULL;The error message is
    Error(1): ORA-04052: error occurred when looking up remote object dbo.Account@CRMSVC ORA-01948: identifier's name length (34) exceeds maximum (30)I'm guessing that it is attempting to describe additional columns in the Account table.
    If I remove the dbo,
      FROM "Account"@crmsvcI get
    Error(1): ORA-04052: error occurred when looking up remote object PUBLIC.Account@CRMSVC ORA-00604: error occurred at recursive SQL level 1 ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Microsoft][ODBC SQL Server Driver][SQL Serve which is less than helpful. However, if I try to use the same query to create a materialized view, I get.
    SQL Error: ORA-04052: error occurred when looking up remote object PUBLIC.Account@CRMSVC
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address1_TimeZoneRuleVersionNu'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address1_UTCConversionTimeZone'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address2_TimeZoneRuleVersionNu'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Address2_UTCConversionTimeZone'. {42S22,NativeErr = 207}[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'Pias_NewLabelInDealNotificatio'. {42S22,NativeErr = 207}
    ORA-02063: preceding 2 lines from CRMSVCwhich seems to confim that in some circumstance, oracle will attempt to parse more than was asked for.
    Any work arounds?
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    DG4ODBC is also 11.2.0.3

    The gateway claims about this column "Address1_TimeZoneRuleVersionNu" which is not listed in your select list.
    When a gateway connection is established it first checks out all columns of the table you want to select to determine the data types and then it fetches the data for the columns you want to select. But there's also an exception - when you use functions the gateway is not able to translate into the syntax of the foreign database. in this case ALL columns will be fetched into the Oracle database and the result is processed locally (post processing).
    You're using replace function which won't be mapped to the foreign database equivalent using DG4ODBC so it will post process the result and fetch from all columns all the data into the Oracle database. Your table contains a column which exceeds the 30 character limitation of Oracle, hence the select will fail.
    The only work around is to create a view on the foreign database side which reduces the column name length to 30 characters or less.

  • SQL query won't compile based on DB role privileges

    Can someone give me an explanation why the SQL query in a report won't compile if an object is owned by another schema and the parsing schema is given privileges to the table via a role grant?
    Or to phrase it another way, why do we have to make direct grants on tables to the parsing schema for reports based on SQL queries that access tables in other schemas?
    Thanks in advance,
    Paul

    Paul - In Oracle, roles are not enabled during the execution of definer's rights stored procedures which is the environment in which all Application Express application code is parsed/executed. There are scads of posts about this topic in this forum.
    Scott

  • Robohelp for Word won't compile

     Hi,I've been trying to get one of my projects to work in Robohelp for Word. But the minute I create a second topic the compiled doen't work. there are no errors. the compilation just never starts. This also happens when I rename the first topic to something else.
    I have the following configurations:
    Robphelp for Word 7 build 145
    MS Office Work 2007
    windows XP professional with service pack 3
    I have deleted and started the project from scratch several times without any success. Any help would be highly appreciated
    Thanks
    Edna

    Hi,
    Thanks for your reply. The problem is there even with tutorial files and dummy projects.
    It seems that there is a problem with saving the document. If I don’t add anything the projects will compile problery. But the minute I change something it won't compile. When I want to close the word document I get a meesage saying if I would like Robohelp to save the document. If I press on "yes" nothing happens. If I press on "yes to all" nothing happens. Pressing on "no" closes the document.
    I have setup my word 2007 in a way so it will save .doc formats instead of .docx. But either way it makes no different the problem is with both file formats.

  • Flash builder 3 won't compile

    I have a flash builder 3 project  but I done something but it won't compile now. How can I resolve this. Tried clean project and no luck

    what are the compile errors u r getting ?

  • [SOLVED] Arch - Kernel Update = problem

    With the new kernel update when using winetricks to install for instance dotnet20, i always get:
    libgcc_s.so.1 must be installed for pthread_cancel to work....
    Was working......any ideas to solve this one....
    Thanks
    PS: STUPID ME, it was missing the multilib lib32-gcc-libs...yeah i know....
    Last edited by Sniffer (2011-01-11 18:44:00)

    ishaanbahal wrote:
    hjpbarcelos wrote:
    Same laptop here, I get this error, but when I run:
    DRI_PRIME=1 glxspheres64
    Graphic card seems to be working fine, since it runs at 200+ fps.
    With:
    DRI_PRIME=0 glxspheres64
    I get ~60 fps.
    So the issue just disappears?? If so I will try this..
    gundamfj wrote:found 2 bug reports
    https://bugs.freedesktop.org/show_bug.cgi?id=77244
    https://bugzilla.kernel.org/show_bug.cgi?id=71891
    The bug report seems to be active, so we will have to wait for a while for the patch... Although there is a proposed patch that seems to remove the UVD error, have you tried it??
    I quote a comment "Nopes. It makes the UVD errors go away, but the boot still gets stuck at the same point. Everything hangs up, requiring me to do a hard reboot."
    The patch did not fix the bug. Honestly, the bug has been there since kernel 3.11.

  • FtpClient client.delete("file") won't compile?

    Hello Fine People,
    I have this ftp program that is working, except for the delete command:
    import sun.net.ftp.*;
    import sun.net.*;
    String server = "192.168.0.0";
    String user = "me";
    String passwd = "mypassword";
    FtpClient client = new FtpClient();
    client.openServer(server);
    client.login(user, passwd);
    TelnetInputStream tis = null;
    client.binary();
    client.cd("Composites");
    tis = client.list();
    client.get("filename");
    client.delete("filename");
    This is roughly how it is. Without the last line, it compiles and runs fine. But when I add the client.delete line, it won't compile and gives this error:
    ImageTransfer.java:229: cannot resolve symbol
    symbol : method delete (java.lang.String)
    location: class sun.net.ftp.FtpClient
    client.delete("filename");
    Please help!
    - Logan

    Yes. The class you should be importing is, obviously, FTPClient. But don't waste your time trying to compile what is clearly just a code fragment example. The article lists several sources of FTP client software. Once you have chosen one package to evaluate, write your test program using the actual classes from that package, using its API documentation for guidance.

Maybe you are looking for

  • New account gets created with wrong permissions (777 instead of 755)

    Hey Apple and Forum people, looks like there's a pretty bothersome error in the way that user permissions get set when you set a user's home folder to a drive partition. By default, a user's home folder is supposed to get 755, with all of its subdire

  • What do I need to get better sound from my Mac mini

    The sound from my external speakers is very poor. I am hard of hearing(50% in one ear) and I find it very difficult to follow a conversation etc. I am now on Yosemite, and the speakers have been used on all my previous  pc's successfully. I cannot fi

  • Problems playing Echo Pencast pdf,s in Acrobat XI Pro

    Hi I have an Echo smartpen which exports hand written notes containing embedded audio to a pencast pdf. When opening the pencast pdf in acrobat XI Pro you are supposed to get floating audio controls and audio playback as the text turns from green to

  • How could i enter 100 materials in the single line item in the repair order

    Hello SD Guru's The below requirement is related repair process.Can you please suggest how i can go head. I have a one requirement related to repair process in SAP SD. As of now the the repair order creating for only one material in the single line i

  • How to fill a hashed table ?

    Hi, In my last thread i had asked about the ways of deleting the cube contents selectively using a job/FM and i was suggested this by one of you. CALL FUNCTION 'RSDRD_SEL_DELETION' EXPORTING I_DATATARGET = 'YOUR_CUBE' I_THX_SEL = L_THX_SEL I_AUTHORIT