[SOLVED] Unable to compile ffmpeg-mt-git and mlt-git

I get the following error when compiling ffmpeg-mt-git
LD libavcodec/libavcodec.so.52
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libx264.a(common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libx264.a: could not read symbols: Bad value
collect2: ld a retourné 1 code d'état d'exécution
make: *** [libavcodec/libavcodec.so.52] Erreur 1
I then modified PKGBUILD and added  "--enable-pic" to the .configure line but still get the same above message.
Just to make sure I recompiled x264-git (no error) and tried again but still the same error.
Has anyone experienced this problem?
Thanks
Alphazo
I've been able to compile the regular, non-mt, ffmpeg-git. Now I'm getting the same kind of error with mlt-git:
producer_avformat.c: In function ‘producer_get_image’:
producer_avformat.c:1086:59: attention : transtypage vers un pointeur depuis un entier de taille différente [-Wint-to-pointer-cast]
producer_avformat.c:1481:37: attention : transtypage vers un pointeur depuis un entier de taille différente [-Wint-to-pointer-cast]
cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -Wl,--no-undefined -Wl,--as-needed -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed    -lavformat -lavcodec -lavutil  -lswscale -lavdevice
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/libavformat.a: could not read symbols: Bad value
collect2: ld a retourné 1 code d'état d'exécution
Last edited by alphazo (2011-04-23 21:20:13)

To compile ffmpeg-mt-git I had to remove "--shared" from PKGBUILD.
For mlt-git I had to go back to regular ffmpeg (Extra).
In the end to get kdenlive-svn working I had to use: x264 (extra), ffmpeg (extra), mlt-git (aur).

Similar Messages

  • [SOLVED] Unable to boot after a pacman and etc-update

    I updated my machine with pacman following which I started having issues with pacman complaining about unavailable database and stopped working.
    Then thinking it to be the problem with new configuration files, I ran etc-update and merged the pacnew files.
    Now, on restart, I can't boot into the machine. I keep getting the following lines over and over again.
    Starting LXDE Display manager.
    Stopping LXDE Display manager.
    Stopped LXDE Display manager.
    Starting LXDE Display manager.
    Stopping LXDE Display manager.
    Stopped LXDE Display manager.
    Starting LXDE Display manager.
    Stopping LXDE Display manager.
    Stopped LXDE Display manager.
    Any help would be much appreciated.
    EDIT: The solution is as below.
    PROBLEM: I was using catalyst drivers for my ATI Radeon card. Lately, the repo was not responding and pacman was not upgrading anything from that repo. So, after an upgrade and merging of pacnew files with etc-update, I was unable to boot. Not sure exactly where from the problem started.
    SOLUTION:
    1. Removed catalyst - Follow all the steps mentioned in the wiki - https://wiki.archlinux.org/index.php/AM … stallation. I missed a few and well, I was stuck.  In my case, I had installed using catalyst-generator and hence,  had to remove it using catalyst_build_module remove_all after getting into root.
    2. Install open source driver - Installed the Open source drive with all steps mentioned in the wiki - https://wiki.archlinux.org/index.php/ATI#Installation
    3. I had forgotten to follow all the steps correctly while removing catalyst, had not removed "nomodset" from kernel parameters and hence, was not able to boot as well. Don't forget to remove that from grub.
    Last edited by ravisghosh (2014-07-28 04:13:27)

    Continued from previous:
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gnupg in core
    debug: searching for replacements for gnutls in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gnutls in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gnutls in core
    debug: searching for replacements for gnutls in extra
    debug: searching for replacements for gobject-introspection in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gobject-introspection in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gobject-introspection in core
    debug: searching for replacements for gobject-introspection in extra
    debug: searching for replacements for goffice in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for goffice in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for goffice in core
    debug: searching for replacements for goffice in extra
    debug: searching for replacements for goffice0.8 in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for goffice0.8 in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for goffice0.8 in core
    debug: searching for replacements for goffice0.8 in extra
    debug: searching for replacements for google-talkplugin in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for google-talkplugin in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for google-talkplugin in core
    debug: searching for replacements for google-talkplugin in extra
    debug: searching for replacements for google-talkplugin in community
    debug: searching for replacements for google-talkplugin in multilib
    debug: searching for replacements for gparted in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gparted in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gparted in core
    debug: searching for replacements for gparted in extra
    debug: new version of 'gparted' found (0.19.0-1 => 0.19.1-1)
    debug: adding package gparted-0.19.1-1 to the transaction targets
    debug: searching for replacements for gperf in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gperf in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gperf in core
    debug: searching for replacements for gperf in extra
    debug: searching for replacements for gpgme in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gpgme in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gpgme in core
    debug: searching for replacements for gpm in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gpm in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gpm in core
    debug: searching for replacements for grantlee in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for grantlee in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for grantlee in core
    debug: searching for replacements for grantlee in extra
    debug: searching for replacements for graphite in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for graphite in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for graphite in core
    debug: searching for replacements for graphite in extra
    debug: searching for replacements for grep in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for grep in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for grep in core
    debug: searching for replacements for grilo in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for grilo in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for grilo in core
    debug: searching for replacements for grilo in extra
    debug: searching for replacements for grilo-plugins in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for grilo-plugins in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for grilo-plugins in core
    debug: searching for replacements for grilo-plugins in extra
    debug: searching for replacements for groff in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for groff in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for groff in core
    debug: searching for replacements for grub in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for grub in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for grub in core
    debug: searching for replacements for gsettings-desktop-schemas in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gsettings-desktop-schemas in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gsettings-desktop-schemas in core
    debug: searching for replacements for gsettings-desktop-schemas in extra
    debug: searching for replacements for gsfonts in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gsfonts in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gsfonts in core
    debug: searching for replacements for gsfonts in extra
    debug: searching for replacements for gsm in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gsm in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gsm in core
    debug: searching for replacements for gsm in extra
    debug: searching for replacements for gst-libav in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gst-libav in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gst-libav in core
    debug: searching for replacements for gst-libav in extra
    debug: searching for replacements for gst-plugins-bad in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gst-plugins-bad in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gst-plugins-bad in core
    debug: searching for replacements for gst-plugins-bad in extra
    debug: searching for replacements for gst-plugins-base in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gst-plugins-base in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gst-plugins-base in core
    debug: searching for replacements for gst-plugins-base in extra
    debug: searching for replacements for gst-plugins-base-libs in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gst-plugins-base-libs in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gst-plugins-base-libs in core
    debug: searching for replacements for gst-plugins-base-libs in extra
    debug: searching for replacements for gst-plugins-good in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gst-plugins-good in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gst-plugins-good in core
    debug: searching for replacements for gst-plugins-good in extra
    debug: searching for replacements for gst-plugins-ugly in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gst-plugins-ugly in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gst-plugins-ugly in core
    debug: searching for replacements for gst-plugins-ugly in extra
    debug: searching for replacements for gstreamer in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer in core
    debug: searching for replacements for gstreamer in extra
    debug: searching for replacements for gstreamer0.10 in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10 in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10 in core
    debug: searching for replacements for gstreamer0.10 in extra
    debug: searching for replacements for gstreamer0.10-bad in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-bad in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-bad in core
    debug: searching for replacements for gstreamer0.10-bad in extra
    debug: searching for replacements for gstreamer0.10-bad-plugins in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-bad-plugins in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-bad-plugins in core
    debug: searching for replacements for gstreamer0.10-bad-plugins in extra
    debug: searching for replacements for gstreamer0.10-base in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-base in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-base in core
    debug: searching for replacements for gstreamer0.10-base in extra
    debug: searching for replacements for gstreamer0.10-base-plugins in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-base-plugins in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-base-plugins in core
    debug: searching for replacements for gstreamer0.10-base-plugins in extra
    debug: searching for replacements for gstreamer0.10-ffmpeg in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-ffmpeg in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-ffmpeg in core
    debug: searching for replacements for gstreamer0.10-ffmpeg in extra
    debug: searching for replacements for gstreamer0.10-good in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-good in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-good in core
    debug: searching for replacements for gstreamer0.10-good in extra
    debug: searching for replacements for gstreamer0.10-good-plugins in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-good-plugins in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-good-plugins in core
    debug: searching for replacements for gstreamer0.10-good-plugins in extra
    debug: searching for replacements for gstreamer0.10-ugly in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-ugly in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-ugly in core
    debug: searching for replacements for gstreamer0.10-ugly in extra
    debug: searching for replacements for gstreamer0.10-ugly-plugins in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gstreamer0.10-ugly-plugins in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gstreamer0.10-ugly-plugins in core
    debug: searching for replacements for gstreamer0.10-ugly-plugins in extra
    debug: searching for replacements for gtk-engines in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtk-engines in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtk-engines in core
    debug: searching for replacements for gtk-engines in extra
    debug: searching for replacements for gtk-update-icon-cache in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtk-update-icon-cache in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtk-update-icon-cache in core
    debug: searching for replacements for gtk-update-icon-cache in extra
    debug: searching for replacements for gtk2 in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtk2 in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtk2 in core
    debug: searching for replacements for gtk2 in extra
    debug: searching for replacements for gtk3 in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtk3 in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtk3 in core
    debug: searching for replacements for gtk3 in extra
    debug: searching for replacements for gtkglext in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtkglext in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtkglext in core
    debug: searching for replacements for gtkglext in extra
    debug: searching for replacements for gtkhotkey in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtkhotkey in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtkhotkey in core
    debug: searching for replacements for gtkhotkey in extra
    debug: searching for replacements for gtkhotkey in community
    debug: searching for replacements for gtkhtml in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtkhtml in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtkhtml in core
    debug: searching for replacements for gtkhtml in extra
    debug: searching for replacements for gtkhtml in community
    debug: searching for replacements for gtkhtml in multilib
    debug: searching for replacements for gtkmm in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtkmm in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtkmm in core
    debug: searching for replacements for gtkmm in extra
    debug: searching for replacements for gtkmm3 in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtkmm3 in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtkmm3 in core
    debug: searching for replacements for gtkmm3 in extra
    debug: searching for replacements for gtksourceview3 in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gtksourceview3 in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gtksourceview3 in core
    debug: searching for replacements for gtksourceview3 in extra
    debug: searching for replacements for gucharmap in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gucharmap in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gucharmap in core
    debug: searching for replacements for gucharmap in extra
    debug: searching for replacements for guile in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for guile in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for guile in core
    debug: searching for replacements for guile in extra
    debug: searching for replacements for guile1.8 in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for guile1.8 in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for guile1.8 in core
    debug: searching for replacements for guile1.8 in extra
    debug: searching for replacements for gvfs in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gvfs in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gvfs in core
    debug: searching for replacements for gvfs in extra
    debug: searching for replacements for gwenhywfar in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gwenhywfar in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gwenhywfar in core
    debug: searching for replacements for gwenhywfar in extra
    debug: searching for replacements for gwenhywfar in community
    debug: searching for replacements for gzip in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for gzip in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for gzip in core
    debug: searching for replacements for harfbuzz in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for harfbuzz in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for harfbuzz in core
    debug: searching for replacements for harfbuzz in extra
    debug: new version of 'harfbuzz' found (0.9.30-1 => 0.9.32-1)
    debug: adding package harfbuzz-0.9.32-1 to the transaction targets
    debug: searching for replacements for harfbuzz-icu in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for harfbuzz-icu in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for harfbuzz-icu in core
    debug: searching for replacements for harfbuzz-icu in extra
    debug: new version of 'harfbuzz-icu' found (0.9.30-1 => 0.9.32-1)
    debug: adding package harfbuzz-icu-0.9.32-1 to the transaction targets
    debug: searching for replacements for hddtemp in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for hddtemp in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for hddtemp in core
    debug: searching for replacements for hddtemp in extra
    debug: searching for replacements for hicolor-icon-theme in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for hicolor-icon-theme in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for hicolor-icon-theme in core
    debug: searching for replacements for hicolor-icon-theme in extra
    debug: searching for replacements for hspell in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for hspell in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for hspell in core
    debug: searching for replacements for hspell in extra
    debug: searching for replacements for htop in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for htop in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for htop in core
    debug: searching for replacements for htop in extra
    debug: searching for replacements for hunspell in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for hunspell in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for hunspell in core
    debug: searching for replacements for hunspell in extra
    debug: searching for replacements for hunspell-en in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for hunspell-en in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for hunspell-en in core
    debug: searching for replacements for hunspell-en in extra
    debug: searching for replacements for hwids in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for hwids in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for hwids in core
    debug: searching for replacements for hyphen in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for hyphen in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: loading package cache for repository 'catalyst-hd234k'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'catalyst-hd234k'
    debug: searching for replacements for hyphen in core
    debug: searching for replacements for hyphen in extra
    debug: searching for replacements for i8kmonitor in xorg112
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: loading package cache for repository 'xorg112'
    debug: returning error 15 from sync_db_populate : could not find database
    debug: failed to load package cache for repository 'xorg112'
    debug: searching for replacements for i8kmonitor in catalyst-hd234k
    debug: loading package cache for repository 'catalyst-hd234k'
    deb

  • [solved] unable to compile mame with gcc 4.7.2

    I tried to compile mame :
    http://mamedev.org/downloader.php?file= … e0147s.zip
    but it doesn't work, it fails with gcc 4.7.2 :
    Compiling src/emu/cpu/tms32051/tms32051.c...
    Generating TMS57002 source file...
    obj/sdl/build/tmsmake src/emu/cpu/tms57002/tmsinstr.lst obj/sdl/emu/cpu/tms57002/tms57002.inc
    Compiling src/emu/cpu/tms57002/tms57002.c...
    {entrée standard}: Messages de l'assembleur:
    {entrée standard}:3066: Avertissement: fin du fichier n'est pas à la fin de la ligne; nouvelle ligne insérée
    {entrée standard}: Erreur: ouverture CFI à la fin du fichier; directive .cfi_endproc manquante
    gcc: erreur interne du compilateur: Processus arrêté (program cc1plus)
    Veuillez soumettre un rapport complet d'anomalies,
    avec le source pré-traité si nécessaire.
    Consultez <https://bugs.archlinux.org/> pour plus de détail.
    make: *** [obj/sdl/emu/cpu/tms57002/tms57002.o] Erreur 4
    I want to know how the official packager ( Sergej Pupykin ) succeeded to compile mame ? ( sdlmame package ) :
    https://www.archlinux.org/packages/comm … 6/sdlmame/
    Do I need an older version of gcc ?
    Last edited by Potomac (2012-12-21 20:07:28)

    I found a solution by installing an older version of gcc ( 4.4.5 ) and I can compile now mame,
    it's a known problem about gcc and mame, the source code is not compatible with gcc 4.7.2 ( and even with some older releases ) :
    http://forums.gentoo.org/viewtopic-t-84 … 0473b82412
    check the first comment here ( padremayi ), same error :
    https://aur.archlinux.org/packages/sdlm … setlang=fr
    the solution is to use gcc 4.4.5 version,
    you need also to patch one file in gcc 4.4.5 :
    --- gcc/config/i386/linux-unwind.h 2009-04-10 01:23:07.000000000 +0200
    +++ gcc/config/i386/linux-unwind.h 2012-12-21 03:10:27.000000000 +0100
    @@ -133,9 +133,9 @@
    struct rt_sigframe {
    int sig;
    - struct siginfo *pinfo;
    + siginfo_t *pinfo;
    void *puc;
    - struct siginfo info;
    + siginfo_t info;
    struct ucontext uc;
    } *rt_ = context->cfa;
    /* The void * cast is necessary to avoid an aliasing warning.
    edit : the solution was to increase ram memory in virtualbox, with gcc 4.7.2 and 1.5 Gb ram I can compile mame without errors, but with 1 Gb ram the error occurs
    maybe it's a bug in gcc 4.7.2 ( because with gcc 4.4.5 I don't need to increase ram )
    Last edited by Potomac (2012-12-25 12:09:52)

  • [SOLVED] Unable to compile QT4 application

    This is the code that I have:
    #include <QApplication>
    #include <QWidget>
    int main(int argc, char * argv[])
    QApplication app(argc, argv);
    QWidget window;
    window.resize(250, 150);
    window.setWindowTitle("Simple example");
    window.show();
    return app.exec();
    This is the error that I get:
    g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -o hello_world.o hello_world.cpp
    hello_world.cpp:3:24: fatal error: QApplication: No such file or directory
    #include <QApplication>
    ^
    compilation terminated.
    Makefile:298: recipe for target 'hello_world.o' failed
    make: *** [hello_world.o] Error 1
    These are the other threads that I researched.
    https://bbs.archlinux.org/viewtopic.php?id=66927
    https://bbs.archlinux.org/viewtopic.php?id=37815
    When I did a search for "qt4" in "/", this is what I got:
    ./usr/include/qt4
    ./usr/share/qt4
    ./usr/share/licenses/qt4
    ./usr/lib/qt4
    Now, why are these headers not detected?
    Last edited by publicus (2014-01-03 18:21:27)

    I got it!  I used the tool qtchooser to run qmake so that when the Makefile is generated, it's generated with Qt4 in mind.  The process was something like this:
    qmake -project && qtchooser -run-tool=qmake -qt=4 && make

  • [SOLVED]Unable to boot into the kernel I compiled, kernel panic

    I try to compile a kernel myself and boot into it, and I use virtualbox to test it. (arch guest inside my arch host)  I first copy /proc/config.gz of my guest system to the linux source code directory, rename it to .config, and just compile it. After that I copy the image under arch/x86/bzImage to /boot directory, then I follow the instruction given by the arch wiki to create an entry in grub. Here is my /etc/grub.d/40-custom:
    #!/bin/sh
    exec tail -n +3 $0
    menuentry 'Custom Entry' {
    set root=(hd0,msdos1)
    echo 'Loading Modified Linux'
    linux /boot/vmlinuz-modified
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    following is this command:
    grub-mkconfig -o /boot/grub/grub.cfg
    But after reboot I cannot boot into the new kernel, it shows "unable to mount root fs on unknown-block(0,0):
    https://img.vim-cn.com/e5/5227d8d4cc07c … ce81ee.png (choose "Advanced Option for Archlinux-> With Linux Modified")
    https://img.vim-cn.com/a9/12869edfbbca1 … 649380.png (choose "Custom Entry" on the first page directly)
    I have searched for a while but didn't find a solution. Is there anything I'm doing wrong, please?
    Last edited by Frefreak (2015-05-07 10:48:05)

    Head_on_a_Stick wrote:
    Frefreak wrote:I think I did compress it, if I remember correctly. (I actually built it several times)
    I am referring to /proc/config.gz -- this is a gzip archive and needs to be decompressed before you can use it to compile your kernel image.
    This isn't strictly true, it just makes the process easier because you're starting with a sane .config (assuming you're booted into one of Arch's official kernels at least). You can start from scratch, but you need to know what you're doing.
    Frefreak wrote:Ok, I'll rebuild everything from the beginning later.
    No need to rebuild everything, just generate an initramfs for the custom kernel. The initramfs contains modules that are specific to a the kernel image that they were generated for; this is probably why /boot/initramfs-linux.img isn't working for you.

  • Unable to compile T1 Architecture and Simulation modelling tool

    Hello,
    I am trying to compile the T1 Simulation and Architecture modelling tool. The whole package is downloaded from opensparc.net
    As a requirement, i am using Solaris 10 on SPARC based machine with Solaris Studio 12.3 as the compiler.
    When i am running the "build_sas.sh full" script, it gives me an error:
    --- Building n1 in strand ---
    /opt/solarisstudio12.3//bin/CC -G -KPIC  -fast -xO5 -DNDEBUG -DRS_INLINE=inline -DRS_MPSAS_COMPATIBLE    -xarch=v9a -DHOST64BIT=1    -DN1_BOOTS10 -DMEMORY_SPARSE -I../../include/strand -I../../include/fw -I../../include/mmu -I../../include/asi -I../../include/core -I../../include/cpu -I../../include/system -I../../include/trap -I../../include/register  -I/scratch//sam-t1/devtools/64/shade/inc  -c -o obj64opt_n1/V9/V9_AsiReg.o V9/V9_AsiReg.cc
    CC: Warning: -xarch=v9a is deprecated, use -m64 -xarch=sparcvis instead
    "../../include/fw/Callee.h", line 98: Error: 'Riesling::operator new(unsigned long, Riesling::CalleeAllocator&)' may not be declared within a namespace.
    1 Error(s) detected.
    *** Error code 2
    make: Fatal error: Command failed for target `obj64opt_n1/V9/V9_AsiReg.o'
    Current working directory /scratch/sam-t1/src/riesling-cm/riesling/src/strand
    *** Error code 1
    make: Fatal error: Command failed for target `strand'
    the Callee.h file has the following declaration for line#97:
    inline void* operator new( size_t size, CalleeAllocator& a )/*{{{*/
    // This new() function is called for code written as
    // new(CalleeAllocator::allocator) Callee0<void>(f);
    // and allocates size bytes from the CalleeAllocator
      return a.alloc(size);
    I did some Google search, and found that, "An allocation function shall be a class member function or a global function; a program is ill-formed if an allocation function is declared in a namespace scope other than global scope or declared static in global scope. [..]" (c++ - operator new inside namespace - Stack Overflow).
    Would appreciate any help or suggestion.

    I tried you last suggestion, by simply moving the "new" function before the namespace, but it gave me the following  Error: The prior declaration for operator new(unsigned long) has no exception specification.
    So, I naively just defined the new as below, just to see what happens:
      41  inline void* operator new( size_t size, CalleeAllocator& a) throw()
        42  {return a.alloc(size);
        43  }
    which, after compilation gives the following error:
    Error: std::bad_alloc is not in the prior exception specification
    The download link to the whole package is here: OpenSPARC T1
    At the end of the page, there is the download link to the OpenSPARC T1 Processor for Architecture and Performance Modeling Tools.
    below is the original Callee.h file: Line 97 is where the operator new is defined which appears to be outside of namespace Riesling.
    * ========== Copyright Header Begin ==========================================
    * OpenSPARC T1 Processor File: Callee.h
    * Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
    * The above named program is free software; you can redistribute it and/or
    * modify it under the terms of the GNU General Public
    * License version 2 as published by the Free Software Foundation.
    * The above named program is distributed in the hope that it will be
    * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    * General Public License for more details.
    * You should have received a copy of the GNU General Public
    * License along with this work; if not, write to the Free Software
    * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
    * ========== Copyright Header End ============================================
    #ifndef __Callee_h__
    #define __Callee_h__
    **  Copyright (C) 2002, Sun Microsystems, Inc.
    **  Sun considers its source code as an unpublished, proprietary
    **  trade secret and it is available only under strict license provisions.
    **  This copyright notice is placed here only to protect Sun in the event
    **  the source is deemed a published work. Disassembly, decompilation,
    **  or other means of reducing the object code to human readable form
    **  is prohibited by the license agreement under which this code is
    **  provided to the user or company in possession of this copy."
    #include "DataTypes.h"
    namespace Riesling {
    class CalleeAllocator/*{{{*/
    // CalleeAllocator is a helper class for implementing the callee_method() and
    // callee_function() functions that dynamically allocate a Callee object. This
    // class takes the burden of the coder for having to manage those dynamically
    // allocated objects and also avoids many calls to malloc().
      public:
        CalleeAllocator() : page(0), free((void**)1), full(0) {}
        ~CalleeAllocator()
          while (page)
        Page* help = page;
        page = page->next;
        delete help;
        void* alloc( uint_t size )
          void* cell;
          size = (size + sizeof(void*) - 1) / sizeof(void*);
          if ((free + size) > full)
        page = new Page(page);
        free = page->page;
        full = page->page + Page::SIZE;
          cell = free;
          free = free + size;
          return cell;
        static CalleeAllocator allocator;
      private:
        class Page
          public:
        enum { SIZE = 4096 };
        Page( Page* pntr ) : next(pntr) {}
        Page* next;
        void* page[SIZE];
        Page*  page;
        void** free;
        void** full;
    inline void* operator new( size_t size, CalleeAllocator& a )/*{{{*/
    // This new() function is called for code written as
    // new(CalleeAllocator::allocator) Callee0<void>(f);
    // and allocates size bytes from the CalleeAllocator
      return a.alloc(size);
    #ifndef COMPILER_ABI_CHANGED
    inline void* gnu_vtbl_lookup( void* object, void* method )/*{{{*/
      // The GNU compiler makes a virtual method into an integer index into the
      // virtual table. It indicates this through bit 0 of the method being 1. If that
      // bit is set then we get the virtual table and index for the method. If the bit 0
      // is 0 then the method is a pointer to a function already.
    #ifdef __GNU__
      if (int(method) & 1)
        return (*(void***)object)[int(method) / sizeof(void*)];
      else
    #endif
        return method;
    template<class Object, class Return> union MethodToFunction0/*{{{*/
    // The templated union MethodToFunction0 converts a method pointer
    // to a function pointer. The SparcWorks compiler already transforms
    // method pointers to function pointers. For the GNU C++ compiler we
    // need to check for virtual functions and do a virtual table lookup.
      MethodToFunction0<Object,Return>( Object* object, Return (Object::*_method)() )
        method(_method)
        (void*&)function = gnu_vtbl_lookup(object,(void*)function);
      Return (Object::*method)();        // The method to convert to a function
      Return (*function)(void*);        // The converted function, the first argument is the this pointer
    template<class Return> class Callee0/*{{{*/
    // The Callee class holds the function pointer or method pointer that
    // represents the callee. The caller is a pointer to the Callee class.
      public:
        typedef Return (*Function)();
        typedef Return (*Method)(void*);
        Callee0<Return>( Function f )
          object(0),
          function(f)
        template<class Object> Callee0<Return>( Object* o, MethodToFunction0<Object,Return> m )
          object(o),
          method(m.function)
        Return call()
          return object ? (*method)(object) : (*function)();
      protected:
        void*      object;        // If object is 0 (NULL) then we have a function to call
        union             // Else a method need to be called.
          Method   method;
          Function function;
    template<class Return> Callee0<Return>* callee_function( Return (*f)() )/*{{{*/
    // callee_function() creates a Callee object of the function. The compiler
    // helps in figuring out the type signature ... hurra for templates:
    // Callee<void>* c = calee_function(f);
      return new(CalleeAllocator::allocator) Callee0<Return>(f);
    template<class Object, class Return> Callee0<Return>* callee_method( Object* o, Return (Object::*m)() )/*{{{*/
    // callee_method() creates a Callee object of the method. The compiler
    // helps in figuring out the type signature. The function requires an
    // object and the template enforces that the object and method are of the
    // same type. Don't cast object pointers. The method must exists, e.g.
    // inherited methods need to be replicated (fat interface). Virtual methods
    // are eradicated.
      return new(CalleeAllocator::allocator) Callee0<Return>(o,MethodToFunction0<Object,Return>(o,m));
    template<class Object, class Return, class Arg1> union MethodToFunction1/*{{{*/
      MethodToFunction1<Object,Return,Arg1>( Object* object, Return (Object::*_method)(Arg1) )
        method(_method)
        (void*&)function = gnu_vtbl_lookup(object,(void*)function);
      Return (Object::*method)(Arg1);
      Return (*function)(void*,Arg1);
    template<class Return, class Arg1> class Callee1/*{{{*/
      public:
        typedef Return (*Function)(Arg1);
        typedef Return (*Method)(void*,Arg1);
        Callee1<Return,Arg1>( Function f ) : object(0), function(f) {}
        template<class Object> Callee1<Return,Arg1>( Object* o, MethodToFunction1<Object,Return,Arg1> m )
          object(o),
          method(m.function)
        Return call( Arg1 a1 )
          return object ? (*method)(object,a1) : (*function)(a1);
      protected:
        void*    object;
        union
          Method   method;
          Function function;
    template<class Return, class Arg1> Callee1<Return,Arg1>* callee_function( Return (*f)(Arg1) )/*{{{*/
      return new(CalleeAllocator::allocator) Callee1<Return,Arg1>(f);
    template<class Object, class Return, class Arg1> Callee1<Return,Arg1>* callee_method( Object* o, Return (Object::*m)(Arg1) )/*{{{*/
      return new(CalleeAllocator::allocator) Callee1<Return,Arg1>(o,MethodToFunction1<Object,Return,Arg1>(o,m));
    template<class Object, class Return, class Arg1, class Arg2> union MethodToFunction2/*{{{*/
      MethodToFunction2<Object,Return,Arg1,Arg2>( Object* object, Return (Object::*_method)(Arg1,Arg2) )
        method(_method)
        (void*&)function = gnu_vtbl_lookup(object,(void*)function);
      Return (Object::*method)(Arg1,Arg2);
      Return (*function)(void*,Arg1,Arg2);
    template<class Return, class Arg1, class Arg2> class Callee2/*{{{*/
      public:
        typedef Return (*Function)(Arg1,Arg2);
        typedef Return (*Method)(void*,Arg1,Arg2);
        Callee2<Return,Arg1,Arg2>( Function f ) : object(0), function(f) {}
        template<class Object> Callee2<Return,Arg1,Arg2>( Object* o, MethodToFunction2<Object,Return,Arg1,Arg2> m )
          object(o),
          method(m.function)
        Return call( Arg1 a1, Arg2 a2 )
          return object ? (*method)(object,a1,a2) : (*function)(a1,a2);
      protected:
        void*    object;
        union
          Method   method;
          Function function;
    template<class Return, class Arg1, class Arg2> Callee2<Return,Arg1,Arg2>* callee_function( Return (*f)(Arg1,Arg2) )/*{{{*/
      return new(CalleeAllocator::allocator) Callee2<Return,Arg1,Arg2>(f);
    template<class Object, class Return, class Arg1, class Arg2> Callee2<Return,Arg1,Arg2>* callee_method( Object* o, Return (Object::*m)(Arg1,Arg2) )/*{{{*/
      return new(CalleeAllocator::allocator) Callee2<Return,Arg1,Arg2>(o,MethodToFunction2<Object,Return,Arg1,Arg2>(o,m));
    template<class Object, class Return, class Arg1, class Arg2, class Arg3> union MethodToFunction3/*{{{*/
      MethodToFunction3<Object,Return,Arg1,Arg2,Arg3>( Object* object, Return (Object::*_method)(Arg1,Arg2,Arg3) )
        method(_method)
        (void*&)function = gnu_vtbl_lookup(object,(void*)function);
      Return (Object::*method)(Arg1,Arg2,Arg3);
      Return (*function)(void*,Arg1,Arg2,Arg3);
    template<class Return, class Arg1, class Arg2, class Arg3> class Callee3/*{{{*/
      public:
        typedef Return (*Function)(Arg1,Arg2,Arg3);
        typedef Return (*Method)(void*,Arg1,Arg2,Arg3);
        Callee3<Return,Arg1,Arg2,Arg3>( Function f ) : object(0), function(f) {}
        template<class Object> Callee3<Return,Arg1,Arg2,Arg3>( Object* o, MethodToFunction3<Object,Return,Arg1,Arg2,Arg3> m )
          object(o),
          method(m.function)
        Return call( Arg1 a1, Arg2 a2, Arg3 a3 )
          return object ? (*method)(object,a1,a2,a3) : (*function)(a1,a2,a3);
      protected:
        void*    object;
        union
          Method   method;
          Function function;
    template<class Return, class Arg1, class Arg2, class Arg3> Callee3<Return,Arg1,Arg2,Arg3>* callee_function( Return (*f)(Arg1,Arg2,Arg3) )/*{{{*/
      return new(CalleeAllocator::allocator) Callee3<Return,Arg1,Arg2,Arg3>(f);
    template<class Object, class Return, class Arg1, class Arg2, class Arg3> Callee3<Return,Arg1,Arg2,Arg3>* callee_method( Object* o, Return (Object::*m)(Arg1,Arg2,Arg3) )/*{{{*/
      return new(CalleeAllocator::allocator) Callee3<Return,Arg1,Arg2,Arg3>(o,MethodToFunction3<Object,Return,Arg1,Arg2,Arg3>(o,m));
    #else
    template<class Return> class Callee0/*{{{*/
      public:
        Callee0<Return>() {}
        virtual ~Callee0() {}
        virtual Return call      () = 0;
    template<class Return> class CalleeFunction0 : public Callee0<Return>/*{{{*/
      public:
        typedef Return (*Function)();
        CalleeFunction0<Return>( Function f ) : Callee0<Return>(), function(f) {}
        Return call      () { return (*function)(); }
      protected:
        Function function;
    template<class Object, class Return> class CalleeMethod0 : public Callee0<Return>/*{{{*/
      public:
        typedef Return (Object::*Method)();
        CalleeMethod0<Object,Return>( Object* o, Method m ) : Callee0<Return>(), object(o), method(m) {}
        Return call      () { return (object->*method)(); }
      protected:
        Object* object;
        Method  method;
    template<class Return> CalleeFunction0<Return>* callee_function( Return (*f)() )/*{{{*/
      return new(CalleeAllocator::allocator) CalleeFunction0<Return>(f);
    template<class Object, class Return> CalleeMethod0<Object,Return>* callee_method( Object* o, Return (Object::*m)() )/*{{{*/
      return new(CalleeAllocator::allocator) CalleeMethod0<Object,Return>(o,m);
    template<class Return, class Arg1> class Callee1/*{{{*/
      public:
        Callee1<Return,Arg1>() {}
        virtual ~Callee1() {}
        virtual Return call      ( Arg1 a1 ) = 0;
    template<class Return, class Arg1> class CalleeFunction1 : public Callee1<Return,Arg1>/*{{{*/
      public:
        typedef Return (*Function)( Arg1 );
        CalleeFunction1<Return,Arg1>( Function f ) : Callee1<Return,Arg1>(), function(f) {}
        Return call      ( Arg1 a1 ) { return (*function)(a1); }
      protected:
        Function function;
    template<class Object, class Return, class Arg1> class CalleeMethod1 : public Callee1<Return,Arg1>/*{{{*/
      public:
        typedef Return (Object::*Method)( Arg1 );
        CalleeMethod1<Object,Return,Arg1>( Object* o, Method m ) : Callee1<Return,Arg1>(), object(o), method(m) {}
        Return call      ( Arg1 a1 ) { return (object->*method)(a1); }
      protected:
        Object* object;
        Method  method;
    template<class Return, class Arg1> CalleeFunction1<Return,Arg1>* callee_function( Return (*f)(Arg1) )/*{{{*/
      return new(CalleeAllocator::allocator) CalleeFunction1<Return,Arg1>(f);
    template<class Object, class Return, class Arg1> CalleeMethod1<Object,Return,Arg1>* callee_method( Object* o, Return (Object::*m)(Arg1) )/*{{{*/
      return new(CalleeAllocator::allocator) CalleeMethod1<Object,Return,Arg1>(o,m);
    template<class Return, class Arg1, class Arg2> class Callee2/*{{{*/
      public:
        Callee2<Return,Arg1,Arg2>() {}
        virtual ~Callee2() {}
        virtual Return call      ( Arg1 a1, Arg2 a2 ) = 0;
    template<class Return, class Arg1, class Arg2> class CalleeFunction2 : public Callee2<Return,Arg1,Arg2>/*{{{*/
      public:
        typedef Return (*Function)( Arg1, Arg2 );
        CalleeFunction2<Return,Arg1,Arg2>( Function f ) : Callee2<Return,Arg1,Arg2>(), function(f) {}
        Return call      ( Arg1 a1, Arg2 a2 ) { return (*function)(a1,a2); }
      protected:
        Function function;
    template<class Object, class Return, class Arg1, class Arg2> class CalleeMethod2 : public Callee2<Return,Arg1,Arg2>/*{{{*/
      public:
        typedef Return (Object::*Method)( Arg1, Arg2 );
        CalleeMethod2<Object,Return,Arg1,Arg2>( Object* o, Method m ) : Callee2<Return,Arg1,Arg2>(), object(o), method(m) {}
        Return call      ( Arg1 a1, Arg2 a2 ) { return (object->*method)(a1,a2); }
      protected:
        Object* object;
        Method  method;
    template<class Return, class Arg1, class Arg2> CalleeFunction2<Return,Arg1,Arg2>* callee_function( Return (*f)(Arg1,Arg2) )/*{{{*/
      return new(CalleeAllocator::allocator) CalleeFunction2<Return,Arg1,Arg2>(f);
    template<class Object, class Return, class Arg1, class Arg2> CalleeMethod2<Object,Return,Arg1,Arg2>* callee_method( Object* o, Return (Object::*m)(Arg1,Arg2) )/*{{{*/
      return new(CalleeAllocator::allocator) CalleeMethod2<Object,Return,Arg1,Arg2>(o,m);
    #endif
    #endif

  • Unable to compile class for JSP

    Please can anyone help me to solve this.
    Actually,this is the condition.
    In my db,there is a table called UserPassword, which has 4
    fields(empNo,UserName,password,level). Now I want to do these things:
    When the user submits the data to create a new account via HTML form, it submits the data to the file called CreateAcc.jsp. In this file it perform some logic,here are they.
    1)To check the empNo,if it is already exist in the DB,
         if empNo =exist then display error.(record already exist)
         if empNo =notexist then do task 2).
    2)check the UserName,if it is already exist in the db,
         if UserName=exist then display error.(because it's a primary key)
         if UserName=notexist then do task 3).
    3)Create a new user account and save it to the db.
    To do these tasks,I never create a new objects for the tasks 1) and 2).
    only for task 3)create an object.
    Is it the right way?
    Here is the file CreateAcc.jsp
    <%@ page language="java" %>
    <%@ page import="core.UserAccManager" %>
    <%@ page import="data.UserPassword" %>
    <jsp:useBean id="UserAccManager" class="core.UserAccManager" scope="session"/>
    <jsp:setProperty name="UserAccManager" property="*"/>
    <jsp:useBean id="UserPassword" class="data.UserPassword" scope="session"/>
    <jsp:setProperty name="UserPassword" property="*"/>
    <%
    String nextPage ="MainForm.jsp";
    if(UserPassword.verifyEmpno()){
         if(UserPassword.verifyUsername()){
              if(UserPassword.createAcc()) nextPage ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>The directory structure:
    UserPassword.java- F:/Project/core/data/UserPassword.java
    UserAccManager.java - F:/Project/core/UserAccManager.java
    Now both are compiling.I put the class files into the TOMCAT,as follows.
    UserAccManager.class - webapps/mySystemName/WEB-INF/classes/core/
    UserPassword.class - webapps/mySystemName/WEB-INF/classes/core/data/
    Here is the full code of the file UserAccManager.java.
    package core;               //Is this right?
    import data.UserPassword;     //Is this right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public final class UserAccManager{
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
       private static PreparedStatement pstmt2;     
       private static PreparedStatement pstmt3;     
       private UserAccManager(){
       // Initializes the connection and statements
       public static void initConnection() {
          if (connection == null) {
             try {
                String sql;
                // Open the database
                Class.forName(DRIVER).newInstance();
                connection = DriverManager.getConnection(URL);
                // Prepare the statements
               sql = "SELECT * FROM UserPassword where empNo= ?";
               pstmt1 = connection.prepareStatement(sql);
                sql = "SELECT UserName FROM UserPassword where UserName= ?";
                pstmt2 = connection.prepareStatement(sql);
             sql ="INSERT INTO UserPassword VALUES(?,?,?,?)";
             pstmt3 = connection.prepareStatement(sql);
             catch (Exception ex) {
                System.err.println(ex.getMessage());
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public  void closeConnection() {
          //same as previous
       public static boolean verifyEmpno(int empno) {
          boolean emp_no_select_ok = false;
          int emp = -1;
          initConnection();
         try {
          pstmt1.setInt(1, empno);
             ResultSet rs1 = pstmt1.executeQuery();
         while(rs1.next()){
              emp=rs1.getInt("empNo");
         if(emp>0)
              emp_no_select_ok = false;
         } else{
              emp_no_select_ok = true;     
            rs1.close();
         pstmt1.close();     
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return emp_no_select_ok;
       public static boolean verifyUsername(String username) {
          boolean user_name_select_ok = false;
          String user = "xxxx";
          initConnection();
          try {
          pstmt2.setString(1, username);
             ResultSet rs2 = pstmt2.executeQuery();
            while(rs2.next()){
              user=rs2.getString("UserName");
               if(!user.equals("xxxx"))
              user_name_select_ok = false;
            } else{
              user_name_select_ok = true;     
           rs2.close();
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return user_name_select_ok;
         public static boolean createAcc(int empno, String username, String password, int
    level){
              boolean create_acc_ok = false;
              initConnection();
              try{
                      //create a new object,from the UserPassword table.
                   UserPassword useraccount = new UserPassword();
                   useraccount.setEmpno(empno);
                   useraccount.setUsername(username);
                   useraccount.setPassword(password);
                   useraccount.setLevel(level);
                   //assign value for ???
                   pstmt3.setInt(1, useraccount.getEmpno());
                   pstmt3.setString(2, useraccount.getUsername());
                   pstmt3.setString(3, useraccount.getPassword());
                   pstmt3.setInt(4, useraccount.getLevel());          
                   if(pstmt3.executeUpdate()==1) create_acc_ok=true;
                   pstmt3.close();
                           //con.close();
                catch(SQLException e2){
                           System.err.println(e2.getMessage());
              return create_acc_ok;
    }here is the bean (part of it)
    package data;               //is it right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UserPassword
         private int empno;
         private String username;
         private String password;
         private int level;
         // Constructor
         public UserPassword()
              this.empno = empno;
              this.username = username;
              this.password = password;
              this.level = level;
         // setters and getters are here.
    //     public boolean verifyEmpno() {
    //               return UserAccManager.verifyEmpno(empno);
    //       public boolean verifyUsername(String username) {
    //            return UserAccManager.verifyUsername(username);
         // These 2 methods not compile with or without para's.So I leave that job for the      
         //controll class UserAccManager.java.
    Now my problem is this: When I submit data, there is an error;org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:8:
    cannot access core.data.UserPassword
    bad class file: C:\Program Files\Apache Group\Tomcat
    4.1\webapps\HRM\WEB-INF\classes\core\data\UserPassword.class
    class file contains wrong class: data.UserPassword
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import core.data.UserPassword;
    ^
    1 error
    Are there any mistakes? If so tell me where is it and how to change them.Please help.

    I try it that way, but it don't compile.
    Error:core\data\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    core\data\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Then it compile well.I goto the directory to get the .class files.
    But there is only UserPassword.class inside the data folder. There is not
    UserAccManager.class in the core folder.
    Then I try this way,I put my 2 java files in to a new folder,
    F:\SystemName\com
    When I try it that way, but it don't compile.
    javac -classpath . -d . com\*.javaError:com\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    com\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Now both are compiling well.There was 2 class files.
    I put them in to the WEB-INF/classes/com directory.
    Start the server.But it gave errors:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserPassword.verifyEmpno(empno)){
                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: non-static method
    verifyUsername(java.lang.String) cannot be referenced from a static context
         if(UserAccManager.verifyUsername(username)){
                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: non-static method
    createAcc(int,java.lang.String,java.lang.String,int) cannot be referenced from a static
    context
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                     ^
    8 errorsTo solve the problem non-static method,I goto the UserAccManager.java file and do these
    things.
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;               //otherwise it tells an error.(package           
                                  //javax.servlet does not exist)
    //import javax.servlet.http.*;
    public  class UserAccManager {
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
        private static PreparedStatement pstmt2;
          private static PreparedStatement pstmt3;
       private UserAccManager() {
       // Initializes the connection and statements
       private static void initConnection() {
             //same
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public static void closeConnection() {
         //same
       public static boolean verifyEmpno(int empno) {
          // same.
       public static boolean verifyUsername(String username) {
         //same.
         public static boolean createAcc(int empno, String username, String password, int      
    level){
              //same
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;
    //import javax.servlet.http.*;
    public class UserPassword {
         // same
    Again compile those files and put .class filses into the WEB-INF/classes/com directory.
    When i submits the data via the form it generates an error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserAccManager.verifyEmpno(empno)){
                                  ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    6 errorshere is the CreateAcc.jsp file
    <%@ page language="java" %>
    <%@ page import="com.UserAccManager" %>
    <%@ page import="com.UserPassword" %>
    <jsp:useBean id="userPassword" class="com.UserPassword" scope="request"/>
    <jsp:setProperty name="userPassword" property="*" />
    <%
    String nextPage ="MainForm.jsp";
    if(UserAccManager.verifyEmpno(empno)){
         if(UserAccManager.verifyUsername(username)){
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>Please, anyone know how to send these parameters to the java file.
    Thanks.

  • Unable to compil class for jsp

    error is
    HTTP Status 500 -
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Syntax error on token ".", Identifier expected after this token
    An error occurred at line: 7 in the generated java file
    Syntax error on token ".", Identifier expected after this token
    An error occurred at line: 9 in the jsp file: /travel/issue.jsp
    LibraryStudent cannot be resolved to a type
    6: <BODY>
    7: <H1>issue books</H1>
    8: <CENTER>
    9: <jsp:useBean id="student"
    10: type="LibraryStudent"
    11: scope="session" />
    12: student name:
    An error occurred at line: 9 in the jsp file: /travel/issue.jsp
    LibraryStudent cannot be resolved to a type
    6: <BODY>
    7: <H1>issue books</H1>
    8: <CENTER>
    9: <jsp:useBean id="student"
    10: type="LibraryStudent"
    11: scope="session" />
    12: student name:
    An error occurred at line: 13 in the jsp file: /travel/issue.jsp
    LibraryStudent cannot be resolved to a type
    10: type="LibraryStudent"
    11: scope="session" />
    12: student name:
    13: <jsp:getProperty name="student" property="studentName" />
    14:
    15: book name:
    16: <jsp:getProperty name="student" property="bookName" />
    An error occurred at line: 16 in the jsp file: /travel/issue.jsp
    LibraryStudent cannot be resolved to a type
    13: <jsp:getProperty name="student" property="studentName" />
    14:
    15: book name:
    16: <jsp:getProperty name="student" property="bookName" />
    17:
    18: <jsp:getProperty name="student"
    19: property="issueData" />
    An error occurred at line: 18 in the jsp file: /travel/issue.jsp
    LibraryStudent cannot be resolved to a type
    15: book name:
    16: <jsp:getProperty name="student" property="bookName" />
    17:
    18: <jsp:getProperty name="student"
    19: property="issueData" />
    20: </FORM>
    21: </CENTER>LibraryStudent.java is   
    import java.util.*;
    import java.text.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.util.*;
    public class LibraryStudent {
    private String emailAddress, s,password, sname,bname;
    private String date,value;
    public String getStudentName() {
    return(sname);
    public void setStudentName(String sname) {
    this.sname = sname;
    public String getEmailAddress() {
    return(emailAddress);
    public void setEmailAddress(String emailAddress) {
    this.emailAddress = emailAddress;
    public String getPassword() {
    return(password);
    public void setPassword(String password) {
    this.password = password;
    public String getBookName() {
    return(bname);
    public void setBookName(String bname) {
    this.bname = bname;
    public String getDate() {
    return(date);
    public void setDate(String date) {
    this.date = date;
    public String getIssueData() //method that create connection withh database
    throws ServletException,IOException{
    try{
    getDate();                   //and add a entry in database
    getBookName();
    getStudentName();
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:db2");
    Statement st=con.createStatement();
    String sql =
        "insert into table1 (bookname,studentname,date) values(bname,sname,date)";
      st.executeUpdate(sql);
    System.out.println(sql);
    String s=  "your book has been issued ";
    return(s);
    catch(Exception e)
    e.printStackTrace();
    return "failed";
    public String getSumbitData()
    throws ServletException,IOException{
    try
    getBookName();
    getStudentName();
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:db2");
    Statement st=con.createStatement();
    String sql =
        "delete from db2 where bookname='bname' and studentname=sname";
      st.executeUpdate(sql);
    System.out.println(sql);
    String s="your book has been sumbitted ";
    return(s) ;
    catch(Exception e)
    e.printStackTrace();
    return "failed";
    public static int findStudent    //to validate customer
    (String emailAddress,
    String password) throws ServletException,IOException{
    try
    if (emailAddress == null) {
    return(0);
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:user");
    Statement st=con.createStatement();
    String sql="select * from user where name='"+emailAddress+"' and password='"+password+"'";
    System.out.println(sql);
    ResultSet rs=st.executeQuery(sql);
    if(rs.next())
    return(1);
    else
    return(0);
    }catch(Exception e)
    e.printStackTrace();
    return (0);}
      to be continued.............

    and Library.java is import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Library extends HttpServlet {
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    String emailAddress = request.getParameter("emailAddress");//use to email&pass
    String password = request.getParameter("password");//from html page
    LibraryStudent student = new LibraryStudent();//Make a student Object
    int a=LibraryStudent.findStudent(emailAddress, password);//to validate student
    if (a==0) {
    gotoPage("/library/accounts.jsp", request, response);
    else
    student.setStudentName(request.getParameter("sname"));//use to sent other textbox
    student.setBookName(request.getParameter("bname"));//data in librarystudent
    student.setDate(request.getParameter("date"));//class after validation
    HttpSession session = request.getSession(true);
    session.putValue("student", student);
    //for moving different page
    if (request.getParameter("issue") != null) {
    gotoPage("/travel/issue.jsp",
    request, response);
    } else if (request.getParameter("sumbit") != null) {
    gotoPage("/travel/sumbit.jsp",
    request, response);
    } else if (request.getParameter("search") != null) {
    gotoPage("/travel/search.jsp",
    request, response);
    } else if (request.getParameter("account") != null) {
    gotoPage("/travel/EditAccounts.jsp",
    request, response);
    } else {
    gotoPage("/travel/IllegalRequest.jsp",
    request, response);
    private void gotoPage(String address,
    HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    RequestDispatcher dispatcher =
    getServletContext().getRequestDispatcher(address);
    dispatcher.forward(request, response);
    }    issue.jsp is
       <%@page import="java.io.,java.util.,java.sql.*"%>
    <HTML>
    <HEAD>
    <TITLE>issue books</TITLE>
    </HEAD>
    <BODY>
    <H1>issue books</H1>
    <CENTER>
    <jsp:useBean id="student"
    type="LibraryStudent"
    scope="session" />
    student name:
    <jsp:getProperty name="student" property="studentName" />
    book name:
    <jsp:getProperty name="student" property="bookName" />
    <jsp:getProperty name="student"
    property="issueData" />
    </FORM>
    </CENTER>
    </BODY>
    </HTML> plz solve my problem .i m new to servlet and jsp and i have keen desire to learn this topic

  • Org.apache.jasper.JasperException: Unable to compile class...

    Dear all,
    I've used java.util.List in my jsp, but when I import the package into the jsp, the following error occurs, please help:
    Type: Exception Report
    Message: Internal Server Error
    Exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\Sun\AppServer7\domains\domain1\server1\generated\jsp\j2ee-modules\EmailTracker2\_jasper\_index_jsp.java:14: class jasper.index_jsp must be declared abstract. It does not define java.util.List getIncludes() from class org.apache.jasper.runtime.HttpJspBase.
    public class indexjsp extends HttpJspBase {
    ^
    1 error, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:641)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:501)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:322)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:287)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
         at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
         at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

    Hi,
    I am using J2EE SDK 1.4 Server and deployed a Stateless Session Bean and used a JSP page as Web Deployment component. When I deploy the application no error is given but when I access application using the given web context name the following error is displayed on the browser.
    type Exception report
    message
    description The server encountered an internal error () that prevented
    it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually
    $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and
    access path.
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
    org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    Can anyone tell me why this error could be generated? I've given the JAVA_HOME environment variable value as C:\Sun\AppServer\jdk and J2EE_HOME variable value as C:\Sun\AppServer.

  • Unable to compile class for JSP in tomcat

    Hi
    I developed an application. it works Ok in embedded OC4J server. But I get the following error when I deployed to tomcat server :
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    I followed the steps of deploying exactly as Oracle developer guide and I don't know what is the reason of this error
    please how can I solve this problem

    Hi
    16-Jan-2007 04:09:17 org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet Faces Servlet threw exception
    Compile failed; see the compiler error output for details.
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
    at org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:219)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

  • Unable to compile JSP in Java Server

    Hi:
    I have installed Java Application Server Platform Edition 8 locally and attempting to run an application with a JSP. However, when it attempts to compile the JSP, I get the following message:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    No Java compiler was found to compile the generated source for the JSP.
    This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
    to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
    If using an alternate Java compiler, please check its installation and access path.
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:132)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:356)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:420)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:444)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:324)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    I thought that Tomcat came with the implementation of the JAVA server. If so, why am I getting this message? Do I have to also install Tomcat separately? If yes, is there anything I need to know about port conflicts? Java Server is currently using 8080 for HTTP. Please advise as to how I can resolve this problem.

    Hi,
    You may want to search this forum using the search term "Unable to compile class for JSP" you will get many hits and some suggestions on what may be the issue.
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=J2EE+Software+Development+Kit+%28J2EE+SDK%29&qp=forum%3A136&qt=Unable+to+compile+class+for+JSP

  • Unable to compile the Java Files generated by JAXB

    Hi,
    I have generated the Java Files for a DTD and .xjs file using JAXB. But when i tyr to compile the .java files generated i am getting errors.
    My DTD file is addctq.dtd
    <?xml version="1.0" encoding="UTF-8"?>
    <!ELEMENT AddCtq (Ctq*)>
    <!ELEMENT Ctq (PartNumber ,PartDescription,CtqDescription,CtqType,ProductLine,Supplier,Ppctq,Ctp,Ctc,CtqCode1,CtqCode2,CtqCode3,Commodity,SubCommodity,UnitOfMeasure,Client,SamplingFrequency,Remarks,VariableData)>
    <!ELEMENT VariableData (SubGroupSize, Specification,Nominal,Usl,Ual,Lal,Lsl,Zal,RangeVal?,RangeAlarmVal?)>
    <!ELEMENT PartNumber (#PCDATA)>
    <!ATTLIST PartNumber new CDATA #REQUIRED >
    <!ELEMENT PartDescription (#PCDATA)>
    <!ELEMENT CtqDescription (#PCDATA)>
    <!ELEMENT CtqType (#PCDATA)>
    <!ELEMENT ProductLine (#PCDATA)>
    <!ELEMENT Supplier (#PCDATA)>
    <!ELEMENT Ppctq (#PCDATA)>
    <!ELEMENT Ctp (#PCDATA)>
    <!ELEMENT Ctc (#PCDATA)>
    <!ELEMENT CtqCode1 (#PCDATA)>
    <!ELEMENT CtqCode2 (#PCDATA)>
    <!ELEMENT CtqCode3 (#PCDATA)>
    <!ELEMENT Commodity (#PCDATA)>
    <!ELEMENT SubCommodity (#PCDATA)>
    <!ELEMENT UnitOfMeasure (#PCDATA)>
    <!ELEMENT Client (#PCDATA)>
    <!ELEMENT SamplingFrequency (#PCDATA)>
    <!ELEMENT Remarks (#PCDATA)>
    <!ELEMENT SubGroupSize (#PCDATA)>
    <!ELEMENT Specification (#PCDATA)>
    <!ELEMENT Nominal (#PCDATA)>
    <!ELEMENT Usl (#PCDATA)>
    <!ELEMENT Ual (#PCDATA)>
    <!ELEMENT Lal (#PCDATA)>
    <!ELEMENT Lsl (#PCDATA)>
    <!ELEMENT Zal (#PCDATA)>
    <!ELEMENT RangeVal (#PCDATA)>
    <!ELEMENT RangeAlarmVal (#PCDATA)>
    and the .xjs file i created is addctq.xjs
    <?xml version="1.0" encoding="UTF-8" ?>
    <xml-java-binding-schema version="1.0-ea">
    <options package="com.geindustrial.sqms"/>
    <element name="AddCtq" type="class" root="true">
    <content>
    <element-ref name="Ctq"/>
    </content>
    </element>
    <element name="Ctq" type="class">
    <content>
         <element-ref name="PartNumber"/>
         <element-ref name="PartDescription"/>
         <element-ref name="CtqDescription"/>
         <element-ref name="CtqType"/>
         <element-ref name="ProductLine"/>
         <element-ref name="Supplier"/>
         <element-ref name="Ppctq"/>
         <element-ref name="Ctp"/>
         <element-ref name="Ctc"/>
         <element-ref name="CtqCode1"/>
         <element-ref name="CtqCode2"/>
         <element-ref name="CtqCode3"/>
         <element-ref name="Commodity"/>
         <element-ref name="SubCommodity"/>
         <element-ref name="UnitOfMeasure"/>
         <element-ref name="Client"/>
         <element-ref name="SamplingFrequency"/>
         <element-ref name="Remarks"/>
         <element-ref name="VariableData"/>
    </content>      
    </element>
    <element name="VariableData" type="class">
    <content>
    <element-ref name="SubGroupSize"/>
    <element-ref name="Specification"/>
    <element-ref name="Nominal"/>
    <element-ref name="Usl"/>
    <element-ref name="Ual"/>
    <element-ref name="Lal"/>
    <element-ref name="Lsl"/>
    <element-ref name="Zal"/>
    </content>
    </element>
    <element name="PartNumber" type="value">
    <attribute name="new"/>
    </element>
    <element name="PartDescription" type="value">
    </element>
    <element name="CtqDescription" type="value">
    </element>
    <element name="CtqType" type="value">
    </element>
    <element name="ProductLine" type="value">
    </element>
    <element name="Supplier" type="value">
    </element>
    <element name="Ppctq" type="value">
    </element>
    <element name="Ctp" type="value">
    </element>
    <element name="Ctc" type="value">
    </element>
    <element name="CtqCode1" type="value">
    </element>
    <element name="CtqCode2" type="value">
    </element>
    <element name="CtqCode3" type="value">
    </element>
    <element name="Commodity" type="value">
    </element>
    <element name="SubCommodity" type="value">
    </element>
    <element name="UnitOfMeasure" type="value">
    </element>
    <element name="Client" type="value">
    </element>
    <element name="SamplingFrequency" type="value">
    </element>
    <element name="Remarks" type="value">
    </element>
    <element name="SubGroupSize" type="value" convert="int">
    </element>
    <element name="Specification" type="value">
    </element>
    <element name="Nominal" type="value" convert="float">
    </element>
    <element name="Usl" type="value" convert="float">
    </element>
    <element name="Ual" type="value" convert="float">
    </element>
    <element name="Lal" type="value" convert="float">
    </element>
    <element name="Lsl" type="value" convert="float">
    </element>
    <element name="Zal" type="value" convert="float">
    </element>
    <element name="RangeVal" type="value" convert="float">
    </element>
    <element name="RangeAlarmVal" type="value" convert="float">
    </element>
    </xml-java-binding-schema>
    When i ran the xjc , it generated 3 .java files
    AddCtq.java , Ctq.java and VariableData.java
    But i am unable to compile any of the above files...
    The Error i am getting is
    VariableData.java:710: Undefined variable or class name: AddCtq
    return AddCtq.newDispatcher();
    ^
    1 error
    If i try to compile AddCtq.java , the Error i am getting is
    AddCtq.java:4: Class com.geindustrial.sqms.Ctq not found in import.
    import com.geindustrial.sqms.Ctq;
    ^
    AddCtq.java:169: Class com.geindustrial.sqms.Ctq not found.
    if (!(ob instanceof Ctq)) {
    ^
    AddCtq.java:170: Class com.geindustrial.sqms.Ctq not found.
    throw new InvalidContentObjectException(ob, (Ctq.class));
    ^
    3 errors
    And when i try to compile Ctq.java , i am getting the following Error:
    Ctq.java:4: Class com.geindustrial.sqms.VariableData not found in import.
    import com.geindustrial.sqms.VariableData;
    ^
    1 error
    How to solve this problem..Pls advise...
    Thanks
    Sateesh

    I suspect you are trying to compile the files one by one. You may also be trying to compile them disregarding the package structure.
    From your post, I gather these files are in the package: com.geindustrial.sqms
    Therefore, if they are not so already, put them under a directory structure:
    com/geindustrial/sqms
    and then compile with:
    javac com/geindustrial/sqms/AddCtq.java com/geindustrial/sqms/Ctq.java com/geindustrial/sqms/VariableData.java
    (The above is all on one line.)
    HTH,
    Manuel Amago.

  • Unable to Compile New Report.vi

    Error 7
    Error 1003
    I am unable to compile the New Report.vi from the Report Generation Toolkit.
    I have Windows 2000 and LV 7.1.
    I have Forced Re-Compliation of all my VIs (Ctrl-Shift-Run)
    I have tried adding Dynamic links in my App build.
    What else can I try?

    Duplicate post, see original thread here.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • ER unable to compile using javac with java 1.3.1 library (JDEV 10.1.3.0.4)

    Hi !
    When I try to compile in JDev with javac and the java 1.3.1 library, I get the following error :
    Error: javac: invalid flag: -source
    The command line generated by JDev looks like :
    C:\jdk1.3.1_03\bin\javac.exe -J-mx512m -verbose -deprecation -source 1.3 -target 1.3 -encoding Cp1252 -g -classpath [...] -sourcepath [...] -d [...] @C:\DOCUME~1\user\LOCALS~1\Temp\javac54193.tmp
    It seems that -source and -target flags do not exist in this version of javac.
    But it does not seem possible to remove these flags generated by JDev, so I'm unable to compile with javac 1.3.1 and JDev.
    So i'm looking for :
    - A workaround to prevent JDev from adding the -source and -target flags.
    - A future release of JDev where you could disable these flags, or, much better, where JDev automatically disables these flags when it detects a 1.3.1 library (there may be other incompatible flags I did not mention).
    Thank you for your answers :)

    Hi,
    when you open the project properties and choose the compiler option to tht the compiler to "javac" and then the "source" and "target" to 1.3, wouldn't this compile it for Java 3? I don't think that it is necesary to use JDK 1.3 for compiling the sources
    Cross-Compilation Options
    By default, classes are compiled against the bootstrap and extension classes of the platform that javac shipped with. But javac also supports cross-compiling, where classes are compiled against a bootstrap and extension classes of a different Java platform implementation. It is important to use -bootclasspath and -extdirs when cross-compiling; see Cross-Compilation Example below.
    -target version
    Generate class files that will work on VMs with the specified version. The default is to generate class files to be compatible with the 1.2 VM in the Java 2 SDK. The versions supported by javac in the Java 2 SDK are:
    1.1
    Ensure that generated class files will be compatible with 1.1 and VMs in the Java 2 SDK.
    1.2
    Generate class files that will run on VMs in the Java 2 SDK, v 1.2 and later, but will not run on 1.1 VMs. This is the default.
    1.3
    Generate class files that will run on VMs in the Java 2 SDK, v 1.3 and later, but will not run on 1.1 or 1.2 VMs.
    1.4
    Generate class files that are compatible only with 1.4 VMs.
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html
    Frank

  • Unable to compile servlet files in javac

    i am unable to compile servlet *.java files in javac.as far as i can see my path is correct.
    Kindly provide a solution as soon as possible.
    My jdk1.3 is in my c drive and my tomcat in my d drive.
    if you are able to compile kindly let me know your path.
    it says symbol not resolved.i think that it is unable to import from javax

    Assuming that your jdk is in c drive as c:\jdk1.3 set the path and the classpath like as shown below. Remember that you have to set the classpath for the classes in the javax.servlet and javax.servlet.http packages. I know how to do it for JavaWebServer. JavaWebServer has a jar called servlet.jar that contains all these classes. What you need to do is to put this jar file in your classpath. There will be a similar jar file for Tomcat server also. You need to refer the Tomcat server documentation for that.
    The path and the classpath have to be set like this...
    d:\>path=%path%;.;c:\jdk1.3\bin;
    d:\>set classpath=%classpath%;.;c:\jdk1.3\lib;c:\JavaWebServer2.0\lib\servlet.jar;
    assuming tht JWS is installed in c:\JavaWebServer2.0
    Also note that there should be no spaces in between while setting the classpath. In your case you have to change the last part of the classpath to customize your requirement.
    Hope that will help.
    Regards
    Jaydeep

Maybe you are looking for

  • Itunes7 just wont open at all

    I upgraded to Itunes 7, and now it wont open. I get no error message. I have tried the things apple said to try. That does not work either. Quicktime works fine. I just cant open Itunes. I really just want to get into Itunes. I was ok with it for awh

  • I am looking for a webcam that will plugin and work on my new MacBook Pro running Yosemite?

    Just got my new MacBook pro and wanted to plug in my external Logitec Pro 4000 webcam...but it does not appear on any options to use. So I guess its time to upgrade it... but I can't find ANYWHERE what webcams will plug and play on the MacBook Pro (3

  • Oracle.apps.fnd.framework.OAException: Message not found. Application: FND

    Hi Team, In My Project i am using One AM called rootAM and 2 VO's are attached with the rootAM,While running the page i am getting following error ..Please help me....... oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Mes

  • Swf with embedded videos pauses in PDF output (CP6)

    I've created a CP project that includes several simulations recorded on slides. The HTML and HTML 5 outputs run smoothly, but the PDF output pauses at the end of each embedded video. Is there a setting or property that will run the entire swf without

  • Font rendering issue / Mountain Lion / non Apple LCD display

    Hello This font rendering issue or problem is probably well know by Apple crew too but nobody has solved it yet. Only poor solution are available such as try to adjust manually font rendering by writin some scripts concerning anti alias levels...they