[SOLVED] Cannot compile wallet, cannot find boost

Hello,
When I'm trying to compile piggybank to store my CENT cryptocurrency, I get this error when compiling:
robin-desktop% make
cd /home/robin/Downloads/pennies-master; /bin/sh share/genbuild.sh /home/robin/Downloads/pennies-master/build/build.h
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
/usr/lib/qt4/bin/rcc -name bitcoin src/qt/bitcoin.qrc -o qrc_bitcoin.cpp
g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -msse2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DSCRYPT_CHACHA -DSCRYPT_KECCAK512 -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ic:/deps -IC:/deps/boost -Ic:/deps/db/build_unix -Ic:/deps/ssl/include -Ibuild -Ibuild -o build/qrc_bitcoin.o qrc_bitcoin.cpp
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector-all --param ssp-buffer-size=1 -Wl,-O1 -o piggybank build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/coincontroldialog.o build/coincontroltreewidget.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/irc.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/qtipcserver.o build/rpcconsole.o build/noui.o build/kernel.o build/scrypt-x86.o build/scrypt-x86_64.o build/scrypt_mine.o build/pbkdf2.o build/scrypt-jane.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_sendcoinsdialog.o build/moc_coincontroldialog.o build/moc_coincontroltreewidget.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_rpcconsole.o build/qrc_bitcoin.o -L/usr/lib -Lc:/deps/miniupnpc -lminiupnpc -lrt -LC:/deps/boost/stage/lib -Lc:/deps/db/build_unix -Lc:/deps/ssl -lssl -lcrypto -ldb_cxx -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 -lpthread -lQtGui -lQtCore
/usr/bin/ld: cannot find -lboost_system-mgw46-mt-sd-1_53
/usr/bin/ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53
/usr/bin/ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53
/usr/bin/ld: cannot find -lboost_thread-mgw46-mt-sd-1_53
collect2: error: ld returned 1 exit status
Makefile:298: recipe for target 'piggybank' failed
make: *** [piggybank] Error 1
I generate the makefile by running qmake-qt4 in the main directory. I already tried to downgrade Boost to version 1_54, but I don't have an older version and I think it should compile fine with a newer version without any problems. Anyone who has similar problems?
When I run pacman -Ss boost-libs I get:
extra/boost-libs 1.55.0-4 [installed]
Free peer-reviewed portable C++ source libraries - Runtime
Seems like nothing out of the ordinary.  I'm getting the exact same errors when compiling Foxcoin. I also tried to install Qt again, but that didn't help.
Thanks for helping in advance.
Last edited by robin007bond (2014-06-17 06:18:53)

Neburski wrote:
robin007bond wrote:Can you tell me which keywords you used?
First I looked for one of the boost libraries that the program was looking for (e.g. the error for "cannot find -lboost_system-mgw46-mt-sd-1_53" means ld is looking for libboost_system-mgw46-mt-sd-1_53). I did it because the library name looked rather non-standard.
locate boost_system
After that I knew that the program you used was relying on a very particular boost library and that lead me to actually google for "boost_system-mgw46-mt-sd-1_53" to see what that would turn up and the second link is the one I posted in this forum.
Anyway if you know something about Makefiles then you could have solved it by yourself rather easy as well.
If you look in the Makefile you should find a line somewhere that has
LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
Essentially you can see from the output of "make that" it's looking for those files (look towards the end of the second "g++ -Wl,-O1 ..." line)
g++ -Wl,-O1,--sort-common ....... -Lc:/deps/ssl -lssl -lcrypto -ldb_cxx -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 -lpthread -lQtGui -lQtCore
My first idea was immediately to have it link against the standard boost libraries by making the proposed changes, but I wanted to first check it on google. I can't tell you if it will make the software run correctly though.
Hmm, I know some C++ basics but I use an IDE most of the time. Making makefiles was never needed so I never bothered with them. Thanks for elaborating! The solution you found worked.
Last edited by robin007bond (2014-01-21 18:02:24)

Similar Messages

  • [SOLVED] gcc-4.6 cannot find -lgcc

    I am trying to get the MSP430 development toolchain (gcc-msp430, msp430-libc, msp430-binutils, msp430mcu, mspdebug) installed in a fresh Arch Linux install.
    For this I need gcc46, because gcc-msp430 doesn't build with GCC 4.8. I successfully built gcc46 from AUR using the PKGBUILD from here, but it cannot compile anything, not even a Hello World program:
    /tmp $ gcc-4.6 -o hello hello.c
    /usr/bin/ld: cannot find -lgcc
    collect2: ld returned 1 exit status
    I tried the PKGBUILDs from here, which are recommended in the AUR page for gcc-msp430, but still doesn't work.
    What to do?
    Last edited by Renan Birck (2013-11-05 20:23:42)

    Renan Birck wrote:It works! Marking as solved. Thanks!
    How did you compile gcc-msp430 ? I've tryed but it failed the ./configure of libgcc
    make[2]: uscita dalla directory "/home/campo/System/Aur/gcc-msp430/src/build/gcc"
    Checking multilib configuration for libgcc...
    mkdir -p -- msp430/libgcc
    Configuring in msp430/libgcc
    configure: creating cache ./config.cache
    checking for --enable-version-specific-runtime-libs... no
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for gawk... gawk
    checking build system type... i686-pc-linux-gnu
    checking host system type... msp430-unknown-none
    checking for msp430-ar... msp430-ar
    checking for msp430-lipo... msp430-lipo
    checking for msp430-nm... /home/campo/System/Aur/gcc-msp430/src/build/./gcc/nm
    checking for msp430-ranlib... msp430-ranlib
    checking for msp430-strip... msp430-strip
    checking whether ln -s works... yes
    checking for msp430-gcc... /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include
    checking for suffix of object files... configure: error: in `/home/campo/System/Aur/gcc-msp430/src/build/msp430/libgcc':
    configure: error: cannot compute suffix of object files: cannot compile
    See `config.log' for more details.
    Makefile:12255: set di istruzioni per l'obiettivo "configure-target-libgcc" non riuscito
    make[1]: *** [configure-target-libgcc] Errore 1
    make[1]: uscita dalla directory "/home/campo/System/Aur/gcc-msp430/src/build"
    Makefile:872: set di istruzioni per l'obiettivo "all" non riuscito
    make: *** [all] Errore 2
    ==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
    makepkg 454,81s user 23,85s system 93% cpu 8:34,53 total
    I checked the config.log but I didn't find anything :
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by GNU C Runtime Library configure 1.0, which was
    generated by GNU Autoconf 2.64. Invocation command line was
    $ /home/campo/System/Aur/gcc-msp430/src/gcc-4.6.3/libgcc/configure --cache-file=./config.cache --enable-multilib --with-cross-host=i686-pc-linux-gnu --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --disable-libssp --disable-nls --with-gnu-as --with-gnu-ld --with-as=/usr/bin/msp430-as --with-ld=/usr/bin/msp430-ld --with-pkgversion=mspgcc_20120406 --enable-languages=c,c++,lto --program-transform-name=s&^&msp430-& --disable-option-checking --with-target-subdir=msp430 --build=i686-pc-linux-gnu --host=msp430 --target=msp430 --srcdir=/home/campo/System/Aur/gcc-msp430/src/gcc-4.6.3/libgcc
    ## Platform. ##
    hostname = enterprise
    uname -m = i686
    uname -r = 3.12.0-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Wed Nov 6 09:22:18 CET 2013
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /opt/android-sdk/platform-tools
    PATH: /opt/android-sdk/tools
    PATH: /usr/local/xenon/bin
    PATH: /usr/local/xenon/usr/bin
    PATH: /usr/bin/vendor_perl
    PATH: /usr/bin/core_perl
    PATH: /usr/local/xenon/bin
    PATH: /usr/local/xenon/usr/bin
    PATH: /opt/android-sdk/tools
    PATH: /platform-tools
    ## Core tests. ##
    configure:1742: creating cache ./config.cache
    configure:1903: checking for --enable-version-specific-runtime-libs
    configure:1916: result: no
    configure:1964: checking for a BSD-compatible install
    configure:2032: result: /usr/bin/install -c
    configure:2048: checking for gawk
    configure:2075: result: gawk
    configure:2095: checking build system type
    configure:2109: result: i686-pc-linux-gnu
    configure:2129: checking host system type
    configure:2142: result: msp430-unknown-none
    configure:2245: checking for msp430-ar
    configure:2272: result: msp430-ar
    configure:2337: checking for msp430-lipo
    configure:2364: result: msp430-lipo
    configure:2429: checking for msp430-nm
    configure:2456: result: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/nm
    configure:2521: checking for msp430-ranlib
    configure:2548: result: msp430-ranlib
    configure:2613: checking for msp430-strip
    configure:2640: result: msp430-strip
    configure:2702: checking whether ln -s works
    configure:2706: result: yes
    configure:2723: checking for msp430-gcc
    configure:2750: result: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include
    configure:3019: checking for C compiler version
    configure:3028: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include --version >&5
    xgcc (mspgcc_20120406) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)
    Copyright (C) 2011 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:3039: $? = 0
    configure:3028: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include -v >&5
    Reading specs from /home/campo/System/Aur/gcc-msp430/src/build/./gcc/specs
    Reading specs from /usr/msp430/lib/msp430mcu.spec
    COLLECT_GCC=/home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc
    COLLECT_LTO_WRAPPER=/home/campo/System/Aur/gcc-msp430/src/build/./gcc/lto-wrapper
    Target: msp430
    Configured with: /home/campo/System/Aur/gcc-msp430/src/gcc-4.6.3/configure CFLAGS_FOR_TARGET=-Os --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --disable-libssp --disable-nls --target=msp430 --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-as=/usr/bin/msp430-as --with-ld=/usr/bin/msp430-ld --with-pkgversion=mspgcc_20120406
    Thread model: single
    gcc version 4.6.3 20120301 (mspgcc LTS 20120406 unpatched) (mspgcc_20120406)
    configure:3039: $? = 0
    configure:3028: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include -V >&5
    xgcc: fatal error: no input files
    compilation terminated.
    configure:3039: $? = 1
    configure:3028: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include -qversion >&5
    xgcc: fatal error: no input files
    compilation terminated.
    configure:3039: $? = 1
    configure:3055: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include -o conftest -Os conftest.c >&5
    Known MCU names:
    msp1
    msp2
    msp430x110
    msp430x112
    msp430x1101
    msp430x1111
    msp430x1121
    msp430x1122
    msp430x1132
    msp430x122
    msp430x123
    msp430x1222
    msp430x1232
    msp430x133
    msp430x135
    msp430x1331
    msp430x1351
    msp430x147
    msp430x148
    msp430x149
    msp430x155
    msp430x156
    msp430x157
    msp430x167
    msp430x168
    msp430x169
    msp430x1610
    msp430x1611
    msp430x1612
    msp430x2101
    msp430x2111
    msp430x2121
    msp430x2131
    msp430x311
    msp430x312
    msp430x313
    msp430x314
    msp430x315
    msp430x323
    msp430x325
    msp430x336
    msp430x337
    msp430x412
    msp430x413
    msp430x415
    msp430x417
    msp430xE423
    msp430xE425
    msp430xE427
    msp430xW423
    msp430xW425
    msp430xW427
    msp430xG437
    msp430xG438
    msp430xG439
    msp430x435
    msp430x436
    msp430x437
    msp430x447
    msp430x448
    msp430x449
    Assembler messages:
    Fatal error: unknown MCU: cpu=430
    configure:3058: $? = 1
    configure:3246: checking for suffix of object files
    configure:3268: /home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include -c -Os conftest.c >&5
    Known MCU names:
    msp1
    msp2
    msp430x110
    msp430x112
    msp430x1101
    msp430x1111
    msp430x1121
    msp430x1122
    msp430x1132
    msp430x122
    msp430x123
    msp430x1222
    msp430x1232
    msp430x133
    msp430x135
    msp430x1331
    msp430x1351
    msp430x147
    msp430x148
    msp430x149
    msp430x155
    msp430x156
    msp430x157
    msp430x167
    msp430x168
    msp430x169
    msp430x1610
    msp430x1611
    msp430x1612
    msp430x2101
    msp430x2111
    msp430x2121
    msp430x2131
    msp430x311
    msp430x312
    msp430x313
    msp430x314
    msp430x315
    msp430x323
    msp430x325
    msp430x336
    msp430x337
    msp430x412
    msp430x413
    msp430x415
    msp430x417
    msp430xE423
    msp430xE425
    msp430xE427
    msp430xW423
    msp430xW425
    msp430xW427
    msp430xG437
    msp430xG438
    msp430xG439
    msp430x435
    msp430x436
    msp430x437
    msp430x447
    msp430x448
    msp430x449
    Assembler messages:
    Fatal error: unknown MCU: cpu=430
    configure:3272: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "GNU C Runtime Library"
    | #define PACKAGE_TARNAME "libgcc"
    | #define PACKAGE_VERSION "1.0"
    | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3286: error: in `/home/campo/System/Aur/gcc-msp430/src/build/msp430/libgcc':
    configure:3289: error: cannot compute suffix of object files: cannot compile
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i686-pc-linux-gnu
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value='/home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include '
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value=-Os
    ac_cv_env_CPPFLAGS_set=set
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=set
    ac_cv_env_build_alias_value=i686-pc-linux-gnu
    ac_cv_env_host_alias_set=set
    ac_cv_env_host_alias_value=msp430
    ac_cv_env_target_alias_set=set
    ac_cv_env_target_alias_value=msp430
    ac_cv_host=msp430-unknown-none
    ac_cv_prog_AR=msp430-ar
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CC='/home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include '
    ac_cv_prog_LIPO=msp430-lipo
    ac_cv_prog_NM=/home/campo/System/Aur/gcc-msp430/src/build/./gcc/nm
    ac_cv_prog_RANLIB=msp430-ranlib
    ac_cv_prog_STRIP=msp430-strip
    ## Output variables. ##
    AR='msp430-ar'
    AWK='gawk'
    CC='/home/campo/System/Aur/gcc-msp430/src/build/./gcc/xgcc -B/home/campo/System/Aur/gcc-msp430/src/build/./gcc/ -B/usr/msp430/bin/ -B/usr/msp430/lib/ -isystem /usr/msp430/include -isystem /usr/msp430/sys-include '
    CFLAGS='-Os'
    CPP=''
    CPPFLAGS=''
    DEFS=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EXEEXT=''
    INSTALL_DATA='/usr/bin/install -c -m 644'
    INSTALL_PROGRAM='/usr/bin/install -c'
    INSTALL_SCRIPT='/usr/bin/install -c'
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIPO='msp430-lipo'
    LN_S='ln -s'
    LTLIBOBJS=''
    MAINT='#'
    NM='/home/campo/System/Aur/gcc-msp430/src/build/./gcc/nm'
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME='GNU C Runtime Library'
    PACKAGE_STRING='GNU C Runtime Library 1.0'
    PACKAGE_TARNAME='libgcc'
    PACKAGE_URL='http://www.gnu.org/software/libgcc/'
    PACKAGE_VERSION='1.0'
    PATH_SEPARATOR=':'
    RANLIB='msp430-ranlib'
    SHELL='/bin/sh'
    STRIP='msp430-strip'
    ac_ct_CC=''
    asm_hidden_op=''
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias='i686-pc-linux-gnu'
    build_cpu='i686'
    build_libsubdir='build-i686-pc-linux-gnu'
    build_os='linux-gnu'
    build_subdir='build-i686-pc-linux-gnu'
    build_vendor='pc'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    decimal_float=''
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    enable_decimal_float=''
    enable_shared='yes'
    exec_prefix='NONE'
    extra_parts=''
    fixed_point=''
    host='msp430-unknown-none'
    host_alias='msp430'
    host_cpu='msp430'
    host_noncanonical='msp430'
    host_os='none'
    host_subdir='.'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='/usr/share/info'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    libgcc_topdir='/home/campo/System/Aur/gcc-msp430/src/gcc-4.6.3/libgcc/..'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='/usr/share/man'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s&^&msp430-&'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    set_have_cc_tls=''
    set_use_emutls=''
    sharedstatedir='${prefix}/com'
    slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
    sysconfdir='${prefix}/etc'
    target_alias='msp430'
    target_noncanonical='msp430'
    target_subdir='msp430'
    tmake_file=''
    toolexecdir='$(exec_prefix)/$(target_noncanonical)'
    toolexeclibdir='$(toolexecdir)/lib'
    vis_hide=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "GNU C Runtime Library"
    #define PACKAGE_TARNAME "libgcc"
    #define PACKAGE_VERSION "1.0"
    #define PACKAGE_STRING "GNU C Runtime Library 1.0"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"
    configure: exit 1
    Can you help me ?

  • Compile error : Cannot find symbol

    hello, i'm having trouble compiling a bean that resorts to another bean's public operation. Im trying to make a shopping cart which takes individual item orders such as item name and quantity and place them within an array list called cart in another bean. The errors i get when im trying to compile is:
    cannot find symbol
    symbol : class OrderItem
    location: class beans.WidgetOrder
               public void setItem(OrderItem o){cart.add(o);}I've looked at other threads and heard that quicktime can intervein with the classpath, so i deleted that, and also checked that CLASSPATH is set to C:\Program Files\Java\jre1.6.0_04\lib\ext\QTJava which it is, but the javabeans are set in the same path so i don't know what difference that is.

    Are you using an IDE?
    Is the OrderItem class in the beans package?
    You should have a path structure like some/path/beans where the WidgetOrder.class file will reside inside the beans directory. If OrderItem is in the beans package, then when you compile you should use something like "javac -cp some/path WidgetOrder.java"

  • Compiler error: "cannot find symbol" - constructor

    Dear all,
    I keep getting the compiler error "cannot find symbol" - constructor AWTEvent() for the following class. It's supposed to extend AWTEvent to give me my own event to be fired. What could be wrong?
    import java.awt.*;
    import java.awt.event.*;
    public class MyButtonEvent extends AWTEvent
         public MyButtonEvent()
    }Thanks a lot!
    N

    When you do this
    public MyButtonEvent()
    }you are implicitly calling the super class constructor with no parameters
    That is:
    AWTEvent();
    you can think of it as
    public MyButtonEvent()
         AWTEvent(); // <-- automatically generated for you
         //the rest of your stuff
    }the problem is that AWTEvent has no such constructor, so you need to explicitly put another constructor in your constructor as the first statement. This other constructor has to be one that exists in AWTEvent.

  • [SOLVED] Cannot compile dvb drivers.

    Hi,
    I'm setting up a htpc media center based on arch with mythtv and xbmc. I've installed the base and base-devel packages and I need to compile the tbs-dvb-drivers to make my TBS 6280 DVB-T2 card work.
    Unfortunately I cannot compile the drivers as the compile process seems to enter in a loop, it continues to show the following output:
    TBS drivers configured for x86_64 platform.
    make -C /home/media/tbs-dvb-drivers/src/linux-tbs-drivers/v4l
    make[1]: ingresso nella directory "/home/media/tbs-dvb-drivers/src/linux-tbs-drivers/v4l"
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    ***WARNING:*** You do not have the full kernel sources installed.
    This does not prevent you from building the v4l-dvb tree if you have the
    kernel headers, but the full kernel source may be required in order to use
    make menuconfig / xconfig / qconfig.
    If you are experiencing problems building the v4l-dvb tree, please try
    building against a vanilla kernel before reporting a bug.
    Vanilla kernels are available at http://kernel.org.
    On most distros, this will compile a newly downloaded kernel:
    cp /boot/config-`uname -r` <your kernel dir>/.config
    cd <your kernel dir>
    make all modules_install install
    Please see your distro's web site for instructions to build a new kernel.
    ./scripts/make_myconfig.pl
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    ***WARNING:*** You do not have the full kernel sources installed.
    This does not prevent you from building the v4l-dvb tree if you have the
    kernel headers, but the full kernel source may be required in order to use
    make menuconfig / xconfig / qconfig.
    If you are experiencing problems building the v4l-dvb tree, please try
    building against a vanilla kernel before reporting a bug.
    Vanilla kernels are available at http://kernel.org.
    On most distros, this will compile a newly downloaded kernel:
    cp /boot/config-`uname -r` <your kernel dir>/.config
    cd <your kernel dir>
    make all modules_install install
    Please see your distro's web site for instructions to build a new kernel.
    ./scripts/make_myconfig.pl
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    ***WARNING:*** You do not have the full kernel sources installed.
    This does not prevent you from building the v4l-dvb tree if you have the
    kernel headers, but the full kernel source may be required in order to use
    make menuconfig / xconfig / qconfig.
    If you are experiencing problems building the v4l-dvb tree, please try
    building against a vanilla kernel before reporting a bug.
    Vanilla kernels are available at http://kernel.org.
    On most distros, this will compile a newly downloaded kernel:
    cp /boot/config-`uname -r` <your kernel dir>/.config
    cd <your kernel dir>
    make all modules_install install
    Please see your distro's web site for instructions to build a new kernel.
    ./scripts/make_myconfig.pl
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    I've waited up to 20 minutes, but the process seems stucked and the size of the folder doesn't grow up.
    It's true that I have just the kernel-headers installed. In addition make continues to warn me that the edit date of several files is newer than the actual. Initially the date of the system was wrong (but not older than the file's) but now I've fixed it with the correct date in UTC. The problem persists.
    I've also tried to compile from source directly but make enters into the same loop and gives me the same warnings.
    Thank you in advance for any kind of help.
    Regards.
    Last edited by fasigno (2013-11-03 21:40:00)

    First make sure you have the core-devel package group installed. This is required to build AUR package in general.
    Next, check to see if you have kernel-headers and v4l-utils installed? If not install them both and try again. I'm not sure if they are hard dependancies or not.
    EDIT: Sorry, I see you wrote that you installed core-devel and kernel-headers already. It looks like you may have a time zone and hardware clock sync problem. If you just installed arch, make sure the timezone and locale are correct and havn't been altered since you first installed your system. If that's all good, then install the AUR package cleanly from scratch again.
    Do you have NTP running?
    Last edited by wdirksen (2013-11-03 20:36:18)

  • [SOLVED] Cannot compile taskview-git

    I cannot compile taskview-git. Here's my output:
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> taskview-git dependencies:
    - glib2 (already installed)
    - git (already installed)
    ==> Continue building taskview-git ? [Y/n]
    ==> --------------------------------------
    ==>
    ==> Building and installing package
    ==> Determining latest git revision...
    -> Version found: 20110318
    ==> Making package: taskview-git 20110318-1 (Fri Mar 18 19:50:42 EET 2011)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Starting build()...
    ==> Connecting to the GIT server....
    Cloning into TaskView...
    remote: Counting objects: 1158, done.
    remote: Compressing objects: 100% (605/605), done.
    remote: Total 1158 (delta 801), reused 751 (delta 536)
    Receiving objects: 100% (1158/1158), 336.24 KiB | 121 KiB/s, done.
    Resolving deltas: 100% (801/801), done.
    ==> GIT checkout done.
    ==> Starting make for: taskview-git
    Cloning into /tmp/yaourt-tmp-alexandros/aur-taskview-git/src/TaskView-build...
    done.
    ==> Starting configure...
    ./autogen.sh: line 22: .: gnome-autogen.sh: file not found
    Aborting...
    ==> ERROR: Makepkg was unable to build taskview-git.
    Any ideas?
    Thanks in advance!
    Last edited by Aventinus (2011-03-18 19:22:06)

    I guess you're missing gnome-autogen.sh which is provided by gnome-common.
    # pacman -Qo gnome-autogen.sh
    /usr/bin/gnome-autogen.sh is owned by gnome-common 2.28.0-1
    Last edited by oliver (2011-03-18 18:07:05)

  • PLS-00304: cannot compile body of package without its specification

    Hi all,
    While compiling the below pasted package , I got the following error msg.
    PL/SQL: Compilation unit analysis terminated
    PLS-00304: cannot compile body of 'EDR_RPT_CLASS_BY_TAWT_PACKAGE'
    without its specification
    PLS-00905: object HDOT.EDR_RPT_CLASS_BY_TAWT_PACKAGE is invalidBut I believe that have declared package and ppackage body specification correctly. Please could anyone help me to find out the error
    CREATE OR REPLACE PACKAGE edr_rpt_class_by_tawt_package AS
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      iin_axle_wt_max             edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN VARCHAR2;
    END edr_rpt_class_by_tawt_package;
    CREATE OR REPLACE PACKAGE BODY edr_rpt_class_by_tawt_package AS
       c_front_axle_only         CONSTANT axle_class.group_type%TYPE := -1;
       c_axle_single_group_type  CONSTANT axle_class.group_type%TYPE := 1;
       c_axle_tandem_group_type  CONSTANT axle_class.group_type%TYPE := 2;
       c_axle_tridem_group_type  CONSTANT axle_class.group_type%TYPE := 3;
       c_axle_quadrem_group_type CONSTANT axle_class.group_type%TYPE := 4;
       c_kips_conversion_unit_id CONSTANT units.unit_id%TYPE         := 8;
       v_report_axle_group_type  axle_class.group_type%TYPE := 0;
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_axle_wt_max              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN NUMBER
    IS
      my_count_result NUMBER(18);
    BEGIN
       SELECT NVL(SUM(vehicle_count), 0 )
       INTO my_count_result
       FROM
            SELECT site_lane_id
            FROM   edr_rpt_tmp_report_lanes
            WHERE  edr_rpt_tmp_report_lanes.output_lane_id        = in_lane_id
              AND  edr_rpt_tmp_report_lanes.output_direction_id   = in_direction_id
           ) report_lanes
       JOIN edr_cls_by_tawt_report_data
         ON edr_cls_by_tawt_report_data.site_lane_id          = report_lanes.site_lane_id
       WHERE edr_cls_by_tawt_report_data.bin_start_date_time >= in_interval_start_date_time
         AND edr_cls_by_tawt_report_data.bin_start_date_time <  in_interval_end_date_time
         AND edr_cls_by_tawt_report_data.group_weight >= in_axle_wt_min
         AND edr_cls_by_tawt_report_data.group_weight  < in_axle_wt_max 
         AND edr_cls_by_tawt_report_data.vehicle_class >= in_class_min
         AND edr_cls_by_tawt_report_data.vehicle_class <= in_class_max
       RETURN my_count_result;
    END;
    FUNCTION get_row_class_counts_text
    RETURN VARCHAR2
    IS
       my_row_counts_text  VARCHAR2(10000);
       my_row_counts_entry  VARCHAR2(10000);
       CURSOR row_counts_text IS
         SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || class_id || ', '
                           || class_id || ') "'|| class_id || '"'
         FROM edr_rpt_tmp_report_classes
         ORDER BY class_id;
    BEGIN
      my_row_counts_text   := '';
      my_row_counts_entry  := '';
      -- generate the speed ranges function calls
      OPEN row_counts_text;
      LOOP
        FETCH row_counts_text INTO my_row_counts_entry;
        EXIT WHEN row_counts_text%NOTFOUND;
        my_row_counts_text := my_row_counts_text || ', ' || my_row_counts_entry;
      END LOOP;
      CLOSE row_counts_text;
      RETURN my_row_counts_text;
    END;
    FUNCTION get_row_totals_text
    RETURN VARCHAR2
    IS
       my_row_count_total_text  VARCHAR2(10000);
    BEGIN
      my_row_count_total_text := '';
      -- generate the 'total' column function call
      SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || MIN(class_id) || ', '
                           || MAX(class_id) || ') " "'
      INTO my_row_count_total_text
      FROM edr_rpt_tmp_report_classes;
      RETURN ', ' || my_row_count_total_text;
    END;
    PROCEDURE apply_default_awt_ranges(in_report_parameter_id   IN   NUMBER)
    IS
      my_awt_ranges_count NUMBER(4);
    BEGIN
    SELECT nvl(count(1),0)
    INTO my_awt_ranges_count
    FROM report_range_parameters
    WHERE REPORT_PARAMETER_ID = in_report_parameter_id
       AND REPORT_PARAMETER_GROUP = 'AXLE_GROUP'
       AND REPORT_PARAMETER_NAME = 'AXLE_NAME';
    IF  ( my_awt_ranges_count = 0 )
    THEN
      INSERT INTO report_range_parameters (REPORT_PARAMETER_ID, REPORT_PARAMETER_GROUP, REPORT_PARAMETER_NAME, REPORT_PARAMETER_MIN_VALUE, REPORT_PARAMETER_MAX_VALUE)
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '0', '2');
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '30', '32');
    END IF;
    END;
    PROCEDURE edr_class_by_tawt_use_per_veh
       in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
       in_good_status_mask      IN      NUMBER
    IS
    max_axle_group_value NUMBER(12);
    BEGIN
      DELETE FROM edr_cls_by_tawt_report_data;
      COMMIT;
      INSERT INTO edr_cls_by_tawt_report_data
                      site_id,
                      site_lane_id,
                      site_direction_id,
                      site_direction_name,
                      bin_start_date_time,
                      group_weight,
                      bin_id,
                      bin_value
      SELECT site_id,
             site_lane_id,
             site_direction_id,
             site_direction_name,
             date_time,
             group_weight,
             vehicle_class,
             COUNT(vehicle_class)
      FROM
               SELECT edr_cls_by_tawt_per_veh_data.*
                 FROM edr_cls_by_tawt_per_veh_data          
         GROUP BY date_time,
               site_lane_id,
               group_weight,
               vehicle_class,
               site_id,
               site_direction_id,
               site_direction_name;
    END edr_class_by_tawt_use_per_veh;
    PROCEDURE edr_class_by_tawt_data_type
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      in_good_status_mask      IN      NUMBER,
      in_data_type             IN      VARCHAR2,
      out_data_type_used          OUT  VARCHAR2
    IS
      my_bin_entry_count   NUMBER(12,0);
      my_veh_entry_count   NUMBER(12,0);
    BEGIN
      IF(UPPER(in_data_type) = 'BINNED') THEN
        --  Axle information can only be read from Per Vehicle data records
        --   - using bins-only is not a supported option
        RAISE_APPLICATION_ERROR(-20101,'Binned data cannot be used for this report.');
      ELSIF    (UPPER(in_data_type) = 'PERVEHICLE')
            OR (UPPER(in_data_type) = 'COMBINED')
      THEN
        out_data_type_used := 'Per Vehicle (All Vehicles)';
        edr_class_by_tawt_use_per_veh( in_report_parameter_id, in_good_status_mask );
      ELSE
         RAISE_APPLICATION_ERROR(-20101,'The data type specified is not recognized.');
      END IF;
    END edr_class_by_tawt_data_type;
    PROCEDURE edr_class_by_tawt_get_veh_data
      in_report_parameter_id   IN   NUMBER,
      in_site_id               IN   NUMBER,
      in_start_date_time       IN   TIMESTAMP,
      in_end_date_time         IN   TIMESTAMP,
      in_report_level_min      IN   NUMBER,
      in_report_level_max      IN   NUMBER
    IS
    BEGIN
      DELETE FROM edr_cls_by_tawt_per_veh_data;
      INSERT INTO edr_cls_by_tawt_per_veh_data
              site_id,
              site_lane_id,
              site_direction_id,
              site_direction_name,
              record_id,
              date_time,
              group_weight,
              vehicle_class,
              group_number,
              vehicle_status,
              vehicle_error_count,
              axle_violations_count,
              group_type         
      SELECT axle_info.site_id,
             axle_info.site_lane_id,
             axle_info.site_direction_id,
             axle_info.site_direction_name,
             axle_info.record_id,
             axle_info.datetime,
             axle_info.group_weight,
             axle_info.v_class,
             axle_info.group_number,
             NVL((SELECT SUM(status_code)
                    FROM traffic_status
                   WHERE traffic_status.record_id = axle_info.record_id), 0) vehicle_status,
             NVL((SELECT COUNT(error_code)
                    FROM traffic_error
                   WHERE traffic_error.record_id = axle_info.record_id), 0) vehicle_error_count,
             NVL((SELECT COUNT(1)
                    FROM axle_weight_violation
                   WHERE axle_weight_violation.record_id = axle_info.record_id), 0) axle_violations_count,
             axle_info.group_type           
        FROM (SELECT site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     NVL(traffic_class.v_class, 0)   v_class,
                     NVL(axle_class.group_type, 0)   group_type,
                     NVL(axle_class.group_number, 0) group_number,               
                     NVL(TRUNC(sum(convert_units(axle.weight_unit_id,
                                             c_kips_conversion_unit_id,
                                             axle.axle_weight
                           0
                         ) group_weight
               FROM  traffic_record
               JOIN  site_to_data_source_lane_v
                 ON  traffic_record.data_source_id = site_to_data_source_lane_v.data_source_id
                AND  traffic_record.lane = site_to_data_source_lane_v.data_source_lane_id                   
           GROUP BY site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     traffic_class.v_class,                
                     axle_class.group_type,
                     axle_class.group_number
            ) axle_info
    END edr_class_by_tawt_get_veh_data;
    PROCEDURE gen_class_by_axle_type
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      apply_default_awt_ranges(in_report_parameter_id);
      my_date_format_mask   := edr_rpt_generic_package.edr_rpt_get_date_format_mask(in_report_parameter_id);
      my_start_date_time    := edr_rpt_generic_package.edr_rpt_get_start_date_time(in_report_parameter_id, my_date_format_mask);
      my_end_date_time      := edr_rpt_generic_package.edr_rpt_get_end_date_time(in_report_parameter_id, my_date_format_mask);
      my_lane_grouping      := edr_rpt_generic_package.edr_rpt_get_lane_grouping(in_report_parameter_id);
      my_site_id            := edr_rpt_generic_package.edr_rpt_get_site_id(in_report_parameter_id);
      my_selected_data_type := edr_rpt_generic_package.edr_rpt_get_data_type(in_report_parameter_id);
      -- ensure selected classes and lanes temp tables have been populated
      edr_rpt_generic_package.edr_rpt_gen_tmp_lanes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_classes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_speed_ranges(in_report_parameter_id);
      my_good_weight_statuses_mask   := edr_rpt_generic_package.get_good_weight_status_mask(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_inclusion_table
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      edr_rpt_generic_package.edr_rpt_gen_grouping_table
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      edr_class_by_tawt_get_veh_data
        in_report_parameter_id,
        my_site_id,
        my_start_date_time,
        my_end_date_time,
        0,                          --Hardcoded until reclassification is supported.
        0                           --Hardcoded until reclassification is supported.
      edr_class_by_tawt_data_type
        in_report_parameter_id,
        my_good_weight_statuses_mask,
        my_selected_data_type,
        my_used_data_type
      edr_rpt_generic_package.gen_rpt_by_ranges_output_table
        in_report_parameter_id,
        'AXLE_GROUP',
        'AXLE_NAME'
      COMMIT;
      my_report_data_statement :=
          ' SELECT rank "Rank", '
        ||       ' row_type "Row Type", '
        ||       ' interval_start_date_time "Date", '
        ||       ' interval_start_date_time, '
        ||       ' range_label "Chart X-Axis", '
        ||       ' lane_id "Group Id" , '
        ||       ' ''None'' "Group Name", '
        ||       ' range_label "Speed (mph)" '
        ||         get_row_class_counts_text
        ||         get_row_totals_text
        ||       ' FROM edr_rpt_by_ranges_output '
        ||       ' ORDER BY lane_id, '
        ||                ' direction_id, '
        ||                ' interval_start_date_time, '
        ||                ' range_high, '
        ||                ' rank, '
        ||                ' range_low'
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_report_data_statement);
      dbms_output.put_line('SQL end--------------------------');
      my_chart_data_statement :=
           ' SELECT range_low "X Axis", '
        ||        ' lane_id "Group" '
        ||         get_row_class_counts_text
        || ' FROM '
        || ' ( '
        || ' SELECT lane_id, '
        ||        ' direction_id, '
        ||        ' range_low, '
        ||        ' range_high, '
        ||        ' min(interval_start_date_time) interval_start_date_time, '
        ||        ' max(interval_end_date_time) interval_end_date_time '
        || ' FROM edr_rpt_by_ranges_output '
        || ' WHERE rank = 1 '
        || ' GROUP BY lane_id, direction_id, range_low,  range_high '
        || ' ) '
        || ' order by "Group", range_low '
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_chart_data_statement);
      dbms_output.put_line('SQL end--------------------------');
      SELECT my_used_data_type
        INTO my_data_type_used
        FROM SYS.DUAL;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_per_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status > 0
         AND vehicle_error_count = 0;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_error_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count > 0;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_clear_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status = 0
         AND vehicle_error_count = 0;
      SELECT NVL(COUNT(1), 0)
        INTO my_binned_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
      SELECT NVL(COUNT(1), 0)
        INTO my_good_weight_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count = 0
         AND BITAND(vehicle_status, my_good_weight_statuses_mask) = 0;
      -- insert vehicle totals into the temporary table
      DELETE FROM edr_rpt_tmp_veh_totals_table;
      INSERT INTO edr_rpt_tmp_veh_totals_table
      SELECT my_data_type_used,
             my_per_vehicle_total,
             my_binned_vehicle_total,
             my_error_vehicle_total,
             my_status_vehicle_total,
             my_good_weight_total,
             my_status_clear_total
        FROM SYS.DUAL;
      -- execute the query into the output refcursor
      OPEN report_data FOR
        my_report_data_statement;
      OPEN chart_data FOR
        my_chart_data_statement;
      OPEN footer_data FOR
        SELECT data_type_used,
               per_vehicle_total,
               binned_vehicle_total,
               error_vehicle_total,
               status_vehicle_total,
               good_weight_total,
               status_clear_total
          FROM edr_rpt_tmp_veh_totals_table;
    END gen_class_by_axle_type;
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_single_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_front_axle_only ;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tandem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tridem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type :=  c_axle_quadrem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    END edr_rpt_class_by_tawt_package;
    LIST
    SHOW ERROR

    Hi,
    PLS-00304: cannot compile body of 'EDR_RPT_CLASS_BY_TAWT_PACKAGE'
    without its specificationThis error usually indicates an issue with used datatypes in a package spec. that differs from a package body.
    Check your spec:
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      iin_axle_wt_max             edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN VARCHAR2; However in your package body:
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_axle_wt_max              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN NUMBERReturn number in spec. vs. return varchar2 in body..
    That won't compile, either return a number or a varchar2 in both. (spec and body).

  • Cannot compile body of dbms_utility without its specification

    hi there!
    I just got this error on my 11g EE database
    yesterday had power problems, and the backup batery did not work(but it happens very often)
    today, trying to send email with a job, i realized through TOAD that sys has 304 invalid objects.
    Try to compile and it seems something missing.
    "cannot compile body of dbms_utility without its specification"
    I cant find that specification and no forums found related to this.
    need help from experts..
    S.O. Oracle enterprise linux 4.7
    D.B. Oracle Enterprise 11.2
    thanks!

    Virendra, thanks for your time, this is the output
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> ALTER PACKAGE SYS.DBMS_UTILITY COMPILE;
    show errors
    ALTER PACKAGE SYS.DBMS_UTILITY COMPILE BODY;
    show errors
    Warning: Package altered with compilation errors.
    SQL> Errors for PACKAGE SYS.DBMS_UTILITY:
    LINE/COL ERROR
    262/75     PLS-00103: Encountered the symbol "end-of-file" when expecting
         one of the following:
         end function pragma procedure subtype type <an identifier>
         <a double-quoted delimited-identifier> current cursor delete
         exists prior
    SQL>
    Warning: Package Body altered with compilation errors.
    SQL>

  • Cannot compile arduino project

    Hi guys,
    I'm trying to work with arduino IDE, but I cannot compile even Blink example. I'm always seeing following error:
    /usr/share/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/bin/ld: cannot find -lm
    Any ideas how I can fix it?

    Worked also for my Asus laptop!
    CoolGenie wrote:
    This works for me too. Thanks!
    kircul wrote:
    Solution was found in discussion in package arduino.
    In short words:
    You need to install package avr-gcc
    Replace build-in avr-gcc compiler by same from package installed on previous step:
    # cd /usr/share/arduino/hardware/tools/avr/bin
    # mv ./avr-gcc ./avr-gcc-backup
    # ln -s /usr/bin/avr-gcc ./
    It works for me.

  • Sccm 2012 r2 error setup cannot compile mof file tasksequenceprovider.mof

    Am getting this error during SCCM 2012 R2 installation on the same server which has SQL 2012 with SP1. "setup cannot compile mof file tasksequenceprovider.mof". Any help?

    Hi,
    The following blog introduced a tool scans winodws module which may help find out the missing file.
    http://blogs.technet.com/b/configurationmgr/archive/2010/01/05/the-configuration-manager-service-pack-install-guide.aspx

  • Can compile but cannot run.

    Dear Java Guru,
    Wish to find out why I can compile but cannot run. I encounter the following error: 'Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/JAI
    at saveasone.<init>(saveasone.java:29)
    at saveasone.main(saveasone.java:21)'
    This does not happen on one PC but happened on another PC.
    The one can compile is XP, the other which cannot compile is Win2k Professional. Is there any other possible cause ?
    Please advise.

    The problem probably lies in the Classpath. I think you are using different environments for compiling and running. If you are using an IDE for developing your code, you might have set the classpath correctly there but not in the executing environment. As about the OS's you mentioned, I think the problem is still with your Environment Settings than OS settings.

  • Compiler Error: cannot read

    starting java. using MSDOS window on windows 98.
    have autoexec path sorted out so compiler is invoked OK.
    submit HelloWorld.java to it gets
    cannot read:HelloWorld.java
    verbose compiler option only tells me low long it spent.
    How do I find out what is wrong. SUN site search produced no response to "compiler error".
    This is a show stopper. Please help.
    Mike.

    If you search the forums for "cannot read" you'll find some answers.
    Basically, the cannot read error from the javac compiler means the compiler can't find the file. The argument to the javac command must be a file name or path name to the file(s). It appears that the command you entered was "javac HelloWorld.java" so a file name HelloWorld.java must exist in the directory you were in when you entered the command.
    Use the DOS DIR command to make sure the file exists. If you used a text editor like Notepad to create your source file, Notepad may have saved the file as HelloWorld.java.txt so javac wouldn't find it.

  • Cannot Compile when using FileInputStream

    I am trying to read data from a file...
    I cannot compile this and I have tried importing all of the java.io.* classes and it still does not compile.
    Help!
    I have the following imports:
    import net.rim.device.api.ui.*;
    import net.rim.device.api.system.Application;
    import javax.microedition.io.*;
    import javax.microedition.io.file.*;
    import java.io.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.system.*;
    import JavaProjects.JDE42.EmergInfo.Resource.*;
    import net.rim.device.api.i18n.*;
    And the code snippet:
    private void ReadDataFile()
    try {
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    DataInputStream in = new DataInputStream(fstream);
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    String strLine;
    //Read File Line By Line
    while ((strLine = br.readLine()) != null) {
    // Print the content on the console
    System.out.println (strLine);
    //Close the input stream
    in.close();
    }catch (Exception e){//Catch exception if any
    System.err.println("Error: " + e.getMessage());
    On compile, I get the following errors:
    Building EmergInfo_DWI
    C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin\rapc.exe -quiet codename=EmergInfo_DWI EmergInfo_DWI.rapc warnkey=0x52424200;0x52525400;0x52435200 import="C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main.jpg D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main_bw.jpg D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrc D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrh D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main_Screen.java
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
    symbol : class FileInputStream
    location: class Source.DWI_Main
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
    symbol : class FileInputStream
    location: class Source.DWI_Main
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
    symbol : class BufferedReader
    location: class Source.DWI_Main
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
    symbol : class BufferedReader
    location: class Source.DWI_Main
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    ^
    4 errors

    What I have installed:
    Blackberry JDE 4.2.0
    Blackberry JDE 5.0.0
    Java DB 10.5.3.0
    Java SE Development Kit Update 22
    Java Platform, Enterprise Edition 5 SDK
    Seems I do not have the ME stuff installed...
    Edited by: 802969 on Oct 16, 2010 2:07 PM

  • Cannot compile Java files or create Java Project

    Hi,
    I cannot compile java files and also didn't see any option
    for creating java project using flex 2 builder.
    Actually am trying to create a FDS project with an option to
    compile on the server. I am using Weblogic 8.1 SP5 as my server.
    thank you
    sun

    hi
    this is may jvm.config file. Can anyone tell me if it is
    right because all the fields are blank.
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM
    is used
    # if not then it must be the path to the JRE itself
    # If no java.home is specified a VM is located by looking in
    these places in this
    # order:
    # 1) JAVA_HOME environment variables (same rules as java.home
    above)
    # 2) bin directory for java.dll (windows) or
    lib/<ARCH>/libjava.so (unix)
    # 3) ../jre
    # 4) registry (windows only)
    java.home=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\jre
    # Arguments to VM
    java.args=-ea -Xmx384m
    # Environment variables we care about, whitespace-separated
    env=
    # java.class.path - use this for adding individual jars or
    # directories. When directories are included they will be
    searched
    # for jars and zips and they will be added to the classpath
    (in
    # addition to the directory itself), the jar to be used in
    launching
    # will be appended to this classpath
    java.class.path=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK
    2.0\jre
    # where to find shared libraries, again use commas to
    separate entries
    java.library.path=
    thanks
    sun

  • I work for a retailer who sends out e-receipts as pdf attachements.  When the email arrives on any apple product, i see the email with the paperclip icon showing that there is an attachment but i cannot ever see or find the actual attachment.  Any ideas?

    i work for a retailer who sends out e-receipts as pdf attachements.  When the email arrives on any apple product, i see the email with the paperclip icon showing that there is an attachment but i cannot ever see or find the actual attachment.  Any ideas?

    i have scrolled left, right, up and down on iphone4, iphone5 and ipad and the attachment simply does not exist.  It has to be something with the apple mail client setup because for any mail client, if they go to the webemail thru safari, the attachment is there and it can be viewed without issue.
    I know there are plenty of people out there with this issue with the mail clients set up that you access thru the email icon on the iphone and ipad but i cannot find anyone with a resolution.  I cannot find any settings in the mail client setup that has anything to do with attachments or for what attachments can or cannot be read or seen.
    Hopefully someone out there has figured something out because this is an odd one.

Maybe you are looking for