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

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)

  • Mplayer-coreavc-svn won't compile

    I'm getting the following when compiling mplayer-coreavc-svn:
    Makefile:22: config.mak: No such file or directory
    make: *** osdep/: Is a directory. Stop.
    ==> ERROR: Build Failed.

    With the latest svn I'm now getting:
    patching file libmpcodecs/vd.c
    Hunk #1 succeeded at 25 (offset -4 lines).
    Hunk #2 succeeded at 57 (offset -5 lines).
    patching file Makefile
    Hunk #2 FAILED at 224.
    1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
    patching file libmpcodecs/vd_dshowserver.c
    ==> ERROR: Falló la compilación.
    Abortando...
    Error: Makepkg was unable to build mplayer-coreavc-svn package.

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

  • Compiling MPlayer-SVN on Arch64

    Has anyone successfully built the Subversion package on Arch64?

    Thanks. I hadn't started to dig into the problem yet, but the compile error was blah..blah..blah.. libtool.... ccache...
    This is great. I'm itching to try out MPlayer-cvs.
    ------->>>EDIT
    It worked. A minute or so later, Subversion compiles. A minute after that, MPlayer-svn didn't. I guess that's a talk for this new and improved thread!
    It seems that the compiler is not finding avutil.h (possibly from the ffmpeg library [/libavcodec/avcodec.h]).

  • Building mplayer-svn using internal ffmpeg-svn libraries [SOLVED]

    Yeah,
    I know that a bunch of us are having errors building mplayer-svn against ffmpeg-svn internal libraries.
    The error:
    libvo/vo_yuv4mpeg.o: In function `flip_page':
    vo_yuv4mpeg.c:(.text+0x694): undefined reference to `rgb24toyv12'
    vo_yuv4mpeg.c:(.text+0x6f0): undefined reference to `rgb24toyv12'
    vo_yuv4mpeg.c:(.text+0x848): undefined reference to `rgb24toyv12'
    libmpcodecs/vf_palette.o: In function `put_image':
    vf_palette.c:(.text+0x3ee): undefined reference to `palette8topacked32'
    vf_palette.c:(.text+0x431): undefined reference to `palette8topacked24'
    vf_palette.c:(.text+0x453): undefined reference to `palette8torgb16'
    vf_palette.c:(.text+0x473): undefined reference to `palette8torgb15'
    vf_palette.c:(.text+0x489): undefined reference to `palette8tobgr16'
    vf_palette.c:(.text+0x4a1): undefined reference to `palette8tobgr15'
    vf_palette.c:(.text+0x50a): undefined reference to `palette8topacked32'
    vf_palette.c:(.text+0x55e): undefined reference to `palette8torgb15'
    vf_palette.c:(.text+0x5b3): undefined reference to `palette8torgb16'
    vf_palette.c:(.text+0x5d0): undefined reference to `palette8topacked24'
    vf_palette.c:(.text+0x5ed): undefined reference to `palette8tobgr15'
    vf_palette.c:(.text+0x60a): undefined reference to `palette8tobgr16'
    libmpcodecs/vf_rgb2bgr.o: In function `put_image':
    vf_rgb2bgr.c:(.text+0x1d7): undefined reference to `rgb24tobgr24'
    vf_rgb2bgr.c:(.text+0x20a): undefined reference to `rgb32tobgr32'
    vf_rgb2bgr.c:(.text+0x274): undefined reference to `rgb24tobgr24'
    vf_rgb2bgr.c:(.text+0x290): undefined reference to `rgb32tobgr32'
    libmpcodecs/vf_yuy2.o: In function `put_image':
    vf_yuy2.c:(.text+0xf7): undefined reference to `yv12toyuy2'
    vf_yuy2.c:(.text+0x154): undefined reference to `yuv422ptoyuy2'
    collect2: ld returned 1 exit status
    make: *** [mplayer] Error 1
    All of this is coming from swscale. Enabling Mplayer's internal swscale fixes the build for me, but it's hardly a solution seeing that there is no difference at all in between the code bases.
    The question:
    Why are Archers seeing this and yet there's no traces that I can find anywhere on the web? I ask because I don't know if it's a Mplayer bug, a FFmpeg bug, or one of the core libraries in Arch? In short, I don't know who to file a bug report with.
    What I know:
    1) The build fails in different places on different architectures.
    2) Mplayer seems to not be able to find yasm even though x264 and FFmpeg find it fine, even with the configure flag --yasm=YASM.
    3) FFmpeg is not installing any swscale header file other than libswscale/swscale.h and force installing it does not help.
        a) There is no difference at all in the Makefile between the two code bases.

    wonder wrote:to be fair i don't think you can build mplayer-svn against ffmpeg-svn. you can only with mplayer-mt-git against ffmpeg-mt-git or something like that.
    I've been doing it daily for well over a year. Maybe even two.
    -- Edit--
    If anyone cares, it's because of how Mplayer deals with FFmpeg's header files. For instance, Mplayer is looking for yuv2rgb.h, but FFmpeg now produces yuv2rgb_mmx.h at runtime on my system. It looks as if libswscale's build files are being generated per architecture for usage of ASM code. Mplayer isn't looking at things quite right anymore.

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

  • Mplayer-svn with dvdnav patch - testers needed

    This was getting a bit OT here, so here's a new thread.
    I've added the dvdnav patch, which provides support for DVD menus, to the existing mplayer-svn PKGBUILD. It compiles successfully, but I don't have a DVD drive, so I can't test it. Here's the PKGBUILD:
    <edit>
    Added unset CFLAGS, as advised by kth5.
    # Contributor: lucke <lucke>
    # Contributor: Tom K <tomk>
    pkgname=mplayer-svn
    pkgver=18699
    pkgrel=1
    pkgdesc="A movie player for linux"
    depends=('libmad' 'libungif' 'cdparanoia' 'gtk2' 'codecs' 'sdl' 'xvidcore'
    'libjpeg' 'lame' 'libtheora' 'esd' 'faad2' 'ttf-bitstream-vera'
    'libxxf86dga' 'fontconfig' 'libxinerama' 'libxv' 'libpng' 'libxxf86vm')
    makedepends=('subversion')
    source=(ftp://ftp.mplayerhq.hu/MPlayer/Skin/Blue-1.5.tar.bz2
    http://www.freeweb.hu/dcxx/mplayer/20060612/mplayer-dvdnav-patch.tar.gz)
    md5sums=('371fa9457f0f23295ddaa93b57d862a0' 'cd75eb8942b2f15c653188d2df216e57')
    conflicts=('mplayer')
    provides=('mplayer')
    url="http://www.mplayerhq.hu/"
    license="GPL"
    _svntrunk=svn://svn.mplayerhq.hu/mplayer/trunk/
    _svnmod=mplayer
    build() {
    cd $startdir/src
    msg "Connecting to mplayer SVN ...."
    svn co $_svntrunk/ $_svnmod --config-dir ./ -r $pkgver
    msg "Copying files to build directory ...."
    cp -r $_svnmod $_svnmod-build
    cd $_svnmod-build
    # Apply files and patches for dvdnav
    cp ../mplayer-dvdnav-patch/mplayer-add/libmpdemux/* libmpdemux
    cp ../mplayer-dvdnav-patch/mplayer-add/libmpcodecs/* libmpcodecs
    cp -r ../mplayer-dvdnav-patch/mplayer-add/libmpdvdnav .
    patch -Np0 -i ../mplayer-dvdnav-patch/navmplayer.patch || return 1
    patch -Np0 -i ../mplayer-dvdnav-patch/navgui.patch || return 1
    unset CFLAGS
    ./configure --prefix=/usr --enable-gui --disable-arts --disable-smb
    --enable-sdl --enable-x11 --enable-theora --confdir=/etc/mplayer
    --with-win32libdir=/usr/lib/win32 --enable-external-faad --enable-menu
    --enable-tv-v4l --enable-tv-v4l2 --disable-liblzo --enable-largefiles
    --disable-libdv --disable-aa --enable-xvid --disable-divx4linux
    --enable-dvdnav
    make || return 1
    make DESTDIR=$startdir/pkg install
    cp etc/{codecs.conf,input.conf,example.conf} $startdir/pkg/usr/share/mplayer
    ln -s /usr/share/fonts/TTF/Vera.ttf $startdir/pkg/usr/share/mplayer/subfont.ttf
    rm -rf $startdir/pkg/usr/share/mplayer/font
    mv $startdir/src/Blue $startdir/pkg/usr/share/mplayer/skins/default
    rm -rf ../$_svnmod-build
    <edit> Supplied package removed, as it was too specific to the build machine.
    The link above gives full details of what this patch can and cannot do.
    I'll run the package here to make sure existing functionality is OK, but I'd be grateful if others could try out the DVD stuff and report back. If it's good enough, I'll include it in the AUR package.
    Thanks.

    MAC!EK wrote:
    tomk wrote:MAC!EK - every mplayer config option, including directfb, is autodetected, so if it's there, mplayer will use it - if it's not, it won't. That does not mean mplayer depends on them. This PKGBUILD provides a package that is identical to the stock Arch package, apart from functionality that is only available in the newer code, so the options that are specifically enabled are the ones chosen for that package.
    OK but...
    $ sudo pacman -R directfb
    removing directfb... done.
    $ mplayer Batman.wmv
    mplayer: error while loading shared libraries: libdirectfb-0.9.so.24: cannot open shared object file: No such file or directory
    Mayby I didn't understood somethin fro myour post, but this doesn't look like autodetection.
    I guess he meant autodetcted by the configure-script before compiling...

  • MPlayer-svn questions

    I've heard though the grapevine the MPlayer-svn will play a whole bunch of WM stuff natively. So, here are my questions:
    In AUR there's a package build. What do people think of it so far? Is the MPlayer plug-in working with that build? Has anyone here successfully got it to run on Arch 64?
    For the last question: the Subversion package build won't compile on Arch 64. I may see if I can find a solution if MPlayer-svn is worth the time.

    skottish wrote:Is the MPlayer plug-in working with that build?
    Yup, works fine here.

  • [SOLVED] MPlayer/Pulseaudio, No audio output

    I can't seem to figure out how to make mplayer's "ao=pulse" option to work.
    It works fine with alsa, but I couldn't find anything definitive on Google about what might be wrong.  I think one of the problems might be that I couldn't find any errors in mplayer's output.
    Here is the verbose output of an example file:
    $ mplayer -v example.mp4
    MPlayer SVN-r35107-4.7.2 (C) 2000-2012 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 11
    CPU: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (Family: 6, Model: 37, Stepping: 2)
    extended cpuid-level: 8
    extended cache-info: 16801856
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/user/.mplayer/codecs.conf'
    Reading optional codecs config file /home/mike/.mplayer/codecs.conf: No such file or directory
    Reading optional codecs config file /etc/mplayer/codecs.conf: 198 audio & 409 video codecs
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/user/.mplayer/fonts'
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-cdparanoia --disable-openal --disable-libdv --disable-musepack --disable-esd --disable-mga --disable-ass-internal --enable-xvmc --enable-radio --enable-radio-capture --disable-vdpau --enable-vaapi --language=all --confdir=/etc/mplayer
    CommandLine: '-v' 'example.mp4'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/user/.mplayer/input.conf'
    Reading optional input config file /home/user/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 92 binds
    get_path('example.mp4.conf') -> '/home/user/.mplayer/example.mp4.conf'
    Playing example.mp4.
    get_path('sub/') -> '/home/user/.mplayer/sub/'
    [file] File size is 2285184 bytes
    STREAM: [file] example.mp4
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    libavformat version 54.25.104 (internal)
    Configuration: --enable-gpl --enable-postproc
    LAVF_check: QuickTime / MOV
    libavformat file format detected.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]ISO: File Type Major Brand: mp42
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]File position before avformat_find_stream_info() is 10279
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]File position after avformat_find_stream_info() is 31013
    ==> Found video stream: 0
    ======= VIDEO Format ======
    biSize 79
    biWidth 640
    biHeight 360
    biPlanes 0
    biBitCount 24
    biCompression 875967048='H264'
    biSizeImage 691200
    Unknown extra header dump: [1] [42] [c0] [1e] [ff] [e1] [0] [18] [67] [42] [c0] [1e] [da] [2] [80] [bf] [e5] [84] [0] [0] [3] [0] [4] [0] [0] [3] [0] [c0] [3c] [58] [ba] [80] [1] [0] [4] [68] [ce] [3c] [80]
    ===========================
    [lavf] stream 0: video (h264), -vid 0
    ==> Found audio stream: 1
    ======= WAVE Format =======
    Format Tag: 20557 (0x504D)
    Channels: 2
    Samplerate: 44100
    avg byte/sec: 12021
    Block align: 1
    bits/sample: 16
    cbSize: 16
    Unknown extra header dump: [12] [10] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
    ==========================================================================
    [lavf] stream 1: audio (aac), -aid 0, -alang und
    LAVF: 1 audio and 1 video streams found
    LAVF: build 3545448
    VIDEO: [H264] 640x360 24bpp 24.000 fps 562.6 kbps (68.7 kbyte/s)
    [V] filefmt:44 fourcc:0x34363248 size:640x360 fps:24.000 ftime:=0.0417
    Clip info:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2013-03-18 01:56:42
    Load subtitles in ./
    get_path('sub/') -> '/home/user/.mplayer/sub/'
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]demuxer injecting skip 2112
    X11 opening display: :0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1600x900 with depth 24 and 32 bpp (":0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 54.53.100 (internal)
    Configuration: --enable-gpl --enable-postproc
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
    FFmpeg's libavcodec audio codec
    INFO: libavcodec "aac" init OK!
    AUDIO: 44100 Hz, 2 ch, s16le, 96.2 kbit/6.81% (ratio: 12021->176400)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Trying preferred audio driver 'pulse', options '[none]'
    AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
    AO: Description: PulseAudio audio output
    AO: Author: Lennart Poettering
    Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Starting playback...
    Increasing filtered audio buffer size from 0 to 46144
    Unsupported PixelFormat 61
    Unsupported PixelFormat 81
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=0.
    [ffmpeg] aspect_ratio: 0.000000
    Unsupported PixelFormat 61
    VDec: vo config request - 640 x 360 (preferred colorspace: Unknown 0x0000)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=1.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 640 x 360 (preferred colorspace: H.264 VA-API Acceleration)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    Unsupported PixelFormat 81
    [VD_FFMPEG] Trying pixfmt=2.
    [ffmpeg] aspect_ratio: 0.000000
    Unsupported PixelFormat 81
    VDec: vo config request - 640 x 360 (preferred colorspace: Unknown 0x0000)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=3.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
    VO: [xv] 640x360 => 640x360 Planar YV12
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <[email protected]> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 75 for hw scaling
    *** [vo] Exporting mp_image_t, 640x360x12bpp YUV planar, 345600 bytes
    Unicode font: 2293 glyphs.
    Unicode font: 2293 glyphs.
    A: 4.3 V: 4.3 A-V: 0.000 ct: 0.042 0/ 0 4% 0% 0.3% 0 0
    Uninit audio filters...
    [libaf] Removing filter dummy
    Uninit audio: ffmpeg
    Uninit video: ffmpeg
    vo: uninit ...
    Exiting... (Quit)
    Is there something else I can check with the MPlayer feedback?
    Also, I'm using mplayer-vaapi, but I took a look at its abs PKGBUILD and it didn't have any configure options disabling pulseaudio.  At least I'm assuming the abs PKGBUILDs reflect the default options that the binaries come with.
    Last edited by mellowmaroon (2013-04-14 05:26:07)

    You were right about it being muted through the PA mixer!  I didn't think about that, and installed pavucontrol.  I figure I'll try to learn how to learn to do it through pactl/pacmd sometime.
    Though, I have "flat-volumes = no" so I have a kind of global maximum volume and normally can set other applications' volumes individually from within the program. Pavucontrol reflects MPD+ncmpcpp volume changes, but apparently doesn't seem to pick up MPlayer's application volume.
    Is there any way to fix MPlayer so it's internal volume adjustment will be the same as what is under Playback in pavucontrol?  Or if it isn't exclusive to MPlayer, is there any way to have all applications start at the 100% playback volume (not the output device volume)?
    EDIT: Quickly found it! Haha I had "softvol=yes" in my config file, I think to try to increase the Alsa volume when I had that on.  Thanks for your help anyway!
    Last edited by mellowmaroon (2013-04-14 05:25:24)

  • [SOLVED]Mplayer sync issue

    Hi!
    I've been having this issue lately with mplayer. Everytime I play a video file the video gets out of sync. Sometimes it slows down, sometimes it freezes, but audio always keeps going. If I pause and resume really fast, it will speed up, and if I do that a couple of times it will stay in sync for the rest of the playback. I would like it to always sync
    Config:
    [default]
    ao=pulse
    vo=gl
    va=vaapi
    double=yes
    prefer-ipv4=yes
    nojoystick=yes
    sub-bg-alpha="0" #background color ala closed captions
    sub-bg-color="0" #black to white
    subfont-text-scale="1" #truetype font scaling
    ffactor="10" #black outline
    sid="0" #subtitle set
    subfont-encoding=unicode
    #unicode=yes
    #utf8=yes
    # Set font size. (2: proportional to movie width)
    subfont-autoscale=2
    subfont-osd-scale=2
    # Set autoscale coefficient. (default: 5)
    subfont-text-scale=2
    # Align subs. (-1: as they want to align themselves)
    spualign=-1
    # Anti-alias subs. (4: best and slowest)
    spuaa=4
    fs=yes
    #font="Anonymous Pro"
    monitoraspect=16:9
    #mixer=/dev/mixer
    cache=47683
    slang=en
    alang=en
    lavdopts=threads=2
    It's the mplayer-mt-git (I use that becouse then I can play HD movies with better results) from aur, compiled with pulseaudio support. I have [testing] enabled. Graphic card is Intel x4500mhd, cpu is Intel CULV 1,3ghz. If there's anything else, just ask. Thanks!
    Last edited by KlavKalashj (2010-11-11 14:25:57)

    This is the exact same issue I have (or so it seems, same symptoms)
    Version info:
    MPlayer SVN-r32492-4.5.1
    Linux 2.6.35-ARCH #1 SMP PREEMPT
    [mike@Taiga ~]$ pacman -Q |grep -i nvidia
    nvidia 260.19.12-1
    nvidia-utils 260.19.12-1
    [mike@Taiga ~]$ glxinfo |grep -i rendering
    direct rendering: Yes
    console output below:
    libavformat file format detected.
    [matroska,webm @ 0x2ad23c0] max_analyze_duration reached
    [matroska,webm @ 0x2ad23c0] Estimating duration from bitrate, this may be inaccurate
    [lavf] stream 0: video (h264), -vid 0, Angel Beats! - 02
    [lavf] stream 1: audio (aac), -aid 0, -alang jpn, AAC 2.0
    [lavf] stream 2: subtitle (unknown), -sid 0, -slang eng
    VIDEO: [H264] 1280x720 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
    Clip info:
    title: [Mazui] Angel Beats! - 02: Guild
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
    FAAD: compressed input bitrate missing, assuming 128kbit/s!
    AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
    Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    Movie-Aspect is undefined - no prescaling applied.
    VO: [vdpau] 1280x720 => 1280x720 Planar YV12
    A: 6.8 V: 6.8 A-V: -0.000 ct: 0.020 0/ 0 18% 2% 0.6% 5 0 65%
    A: 12.1 V: 8.6 A-V: 3.470 ct: 0.020 0/ 0 17% 2% 0.7% 50 0 58%
    **** Your system is too SLOW to play this! ****
    Possible reasons, problems, workarounds:
    - Most common: broken/buggy _audio_ driver
    - Try -ao sdl or use the OSS emulation of ALSA.
    - Experiment with different values for -autosync, 30 is a good start.
    - Slow video output
    - Try a different -vo driver (-vo help for a list) or try -framedrop!
    - Slow CPU
    - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
    - Broken file
    - Try various combinations of -nobps -ni -forceidx -mc 0.
    - Slow media (NFS/SMB mounts, DVD, VCD etc)
    - Try -cache 8192.
    - Are you using -cache to play a non-interleaved AVI file?
    - Try -nocache.
    Read DOCS/HTML/en/video.html for tuning/speedup tips.
    If none of this helps you, read DOCS/HTML/en/bugreports.html.
    A: 12.8 V: 11.9 A-V: 0.939 ct: 0.019 0/ 0 18% 2% 0.5% 125 0 54%
    ===== PAUSE =====
    Don't believe this is a caching/buffering issue, tried both CIFS and local media (10,000RPM Drive AHCI)
    Further testing showed xine-ui to not exhibit this issue.
    Note, my machine is no slouch so I don't think this ones hardware related (Specs in sig)
    Last edited by DrMikeDuke (2010-11-08 15:04:58)

  • Mplayer-svn stops with videos

    Hi, I have an arch installation in a notebook Acer 5750-6_br821, with Intel HD 3000 Graphics, and, I have an mplayer-svn compilation, but, it always stops when I want watch vieos.
    I have 4GB memory, ad an i5 sandy brigde too.
    My mplayer.conf:
    font=/usr/share/fonts/TTF/Eunjin.ttf
    vo=gl:nomanyfmts
    ao=alsa
    [extension.mkv]
    demuxer=mkv
    lavdopts="threads=4"
    My xorg.conf:
    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
    EndSection
    Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "record"
        Load  "dri2"
        Load  "dbe"
        Load  "dri"
    EndSection
    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
    EndSection
    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option        "Protocol" "auto"
        Option        "Device" "/dev/input/mice"
        Option        "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
        #DisplaySize      440   250    # mm
        Identifier   "Monitor0"
        VendorName   "AOC"
        ModelName    "2040"
        HorizSync    30.0 - 83.0
        VertRefresh  50.0 - 75.0
        Option        "DPMS"
    EndSection
    Section "ServerFlags"
        Option           "BlankTime" "180"
        Option           "StandbyTime" "180"
        Option           "SuspendTime" "180"
        Option           "OffTime" "180"
    EndSection
    Section "Device"
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
            ### <percent>: "<f>%"
            ### [arg]: arg optional
            #Option     "DRI"                    # [<bool>]
            #Option     "ColorKey"               # <i>
            #Option     "VideoKey"               # <i>
            #Option     "FallbackDebug"          # [<bool>]
            #Option     "Tiling"                 # [<bool>]
            #Option     "LinearFramebuffer"      # [<bool>]
            #Option     "Shadow"                 # [<bool>]
            #Option     "SwapbuffersWait"        # [<bool>]
            #Option     "XvMC"                   # [<bool>]
            #Option     "XvPreferOverlay"        # [<bool>]
            #Option     "DebugFlushBatches"      # [<bool>]
            #Option     "DebugFlushCaches"       # [<bool>]
            #Option     "DebugWait"              # [<bool>]
            #Option     "HotPlug"                # [<bool>]
            #Option     "RelaxedFencing"         # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
    EndSection
    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
    EndSection
    mplayer parammeters compilation:
    --prefix=/usr --confdir=/etc/mplayer --language=all --disable-arts --enable-gl --enable-gif --enable-ass --enable-ass-internal --disable-smb --disable-apple-ir --disable-apple-remote --disable-joystick --disable-lircc --disable-vdpau --disable-lirc --enable-mencoder
    What I can do for it?
    sorry my bad english, I'm brasilian XD

    piussj2,
    welcome to the forums.
    Just an advice: Please use [ code ] tags around your listings instead of [ quote ] ones (without the interfering blanks of course). This will make them more readable and put them into scrollable windows.

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

Maybe you are looking for