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

Similar Messages

  • Libx32-glibc fails to build - /usr/bin/ld: cannot find -lgcc

    I am trying to run steam using my own runtime libraries, however I'm missing libcrypt.so.11
    After trawling through a chain of dependencies, I'm stuck on libx32-glibc.
    When attmpting to build libx32-glibc I encounter an error while gcc is trying to compile elf/librtld.mapT
    [myusername@hostname libx32-glibc]$ makepkg -R
    ==> Making package: libx32-glibc 2.18_12-1 (Sun Feb 9 18:12:22 NZDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
    make -r PARALLELMFLAGS="" -C /home/myusername/aur/libx32-glibc/src/glibc-2.18 objdir=`pwd` install
    make[1]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18'
    make subdir=csu -C csu ..=../ subdir_lib
    make subdir=iconv -C iconv ..=../ subdir_lib
    make[2]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/iconv'
    make[2]: Nothing to be done for 'subdir_lib'.
    make[2]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/iconv'
    make[2]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/login'
    make[2]: Nothing to be done for 'subdir_lib'.
    make[2]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/login'
    make subdir=elf -C elf ..=../ subdir_lib
    make[2]: Entering directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/elf'
    /opt/gcc-x32-seed/bin/gcc -mx32 -B/opt/gcc-x32-seed/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/ -Wl,-O1,--sort-common,--as-needed,-z,relro -nostdlib -nostartfiles -r -o /home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.map.o '-Wl,-(' /home/myusername/aur/libx32-glibc/src/glibc-build/elf/dl-allobjs.os /home/myusername/aur/libx32-glibc/src/glibc-build/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.mapT
    /usr/bin/ld: cannot find -lgcc
    collect2: error: ld returned 1 exit status
    Makefile:285: recipe for target '/home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.map' failed
    make[2]: *** [/home/myusername/aur/libx32-glibc/src/glibc-build/elf/librtld.map] Error 1
    make[2]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18/elf'
    Makefile:236: recipe for target 'elf/subdir_lib' failed
    make[1]: *** [elf/subdir_lib] Error 2
    make[1]: Leaving directory '/home/myusername/aur/libx32-glibc/src/glibc-2.18'
    Makefile:12: recipe for target 'install' failed
    make: *** [install] Error 2
    ==> ERROR: A failure occurred in package().
    Aborting...
    In accordance with this solved topic for a similar issue, I have ensured that options=('staticlibs') is present in PKGBUILD:
    options=('!strip' '!emptydirs' 'staticlibs')
    I have tried re downloading and compiling all the src but the same issue occurs.
    Here is a list of gcc/glibc/multilib packages that I have installed:
    [mephage@tws01 exercise1]$ pacman -Q | grep -E -e 'multilib|gcc|glibc'
    binutils-multilib 2.24-1
    gcc-libs-multilib 4.8.2-7
    gcc-multilib 4.8.2-7
    gcc-x32-seed 4.8.2_7-1
    glibc 2.18-12
    glibc-x32-seed 0.1.0-1
    lib32-gcc-libs 4.8.2-7
    lib32-glibc 2.18-12
    libtool-multilib 2.4.2-12
    Here is a list of aur packages that I have installed:
    [mephage@tws01 exercise1]$ pacman -Qm
    gcc-x32-seed 4.8.2_7-1
    glibc-x32-seed 0.1.0-1
    linux-ck 3.12.9-3
    linux-ck-headers 3.12.9-3
    nvidia-ck 331.38-2
    xdm-arch-theme 2.3.1-3

    Still haven't resolved this. However, I did see that there is more information in /home/myusername/dir-where-i-extract-aur-tarballs/libx32-glibc/src/glibc-build/config.log:
    /usr/bin/ld: cannot find -lgcc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
    /usr/bin/ld: cannot find -lc
    /usr/bin/ld: cannot find -lgcc
    collect2: error: ld returned 1 exit status
    My guess is that I need a compatible libc.so so that /usr/bin/ld can create the links using gcc.
    Edit: Removed a line that was incorrect
    Last edited by mephage (2014-02-23 04:54:07)

  • Compile Error: ld: cannot find -lgcc C compiler cannot create execut

    I've just get my system change to arch64 from arch32.
    When I try to build wine. It shows:
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** No rule to make target `depend'. Stop.
    ==> ERROR: Build Failed. Aborting...
    and see this part of config.log
    gcc: '-V' must come at the start of the command line
    configure:2366: $? = 1
    configure:2389: checking for C compiler default output file name
    configure:2416: gcc -m32 -march=x86-64 -O2 -pipe conftest.c >&5
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/./libgcc.a when searching for -lgcc
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.2/./libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    collect2: ld returned 1 exit status
    configure:2419: $? = 1
    configure:2457: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Wine"
    | #define PACKAGE_TARNAME "wine"
    | #define PACKAGE_VERSION "0.9.22"
    | #define PACKAGE_STRING "Wine 0.9.22"
    | #define PACKAGE_BUGREPORT "[email protected]"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    I run "ld -lgcc"
    [root@sgu wine0922]# ld -lgcc
    ld: cannot find -lgcc
    When i was building another package, i get this err info:
    conftest.cc:14:28: error: ac_nonexistent.h: No such file or directory

    wine needs a 32bit environment to run/get compiled or a multilib x86_64 system. watch the gcc -m32 call - so no way without touching the pure 64bit philosophy behind arch64!

  • [SOLVED] cmake 3.1 cannot find "FindWt.cmake"

    Hello,
    After the upgrade to cmake 3.1 the scripts of the Wt library cannot be found. I inspected the Wt pkgbuild file and the cmake version is hardcoded in the path string. I rebuilt the package after replacing "3.0" by "3.1" in the file and it works. Should I file a bug report or the Wt package manager is already aware of this issue?
    [EDIT] The package manage updated the wt package
    Last edited by wwmm (2015-01-04 13:06:00)

    forget about this thread.
    i have read a chapter of http://java.sun.com/webservices/docs/1.2/tutorial/doc/index.html this document and found out that i missed a statement within my java code.
    Next, you need to configure the parser factory to generate a parser that is namespace-aware parser, as well as validating:
      SAXParserFactory factory = SAXParserFactory.newInstance();
      factory.setNamespaceAware(true);
      factory.setValidating(true); I MISSED THE factory.setNamespaceAware(true); LINE!!!!

  • [SOLVED]Another "C compiler cannot create executables."

    After scouring the wiki and here I have seen many people with similar problems, but none that I can tell that helped me.
    I am am running a x64 and need to install some x86 libs (I think) from the AUR. The one in specific is lib32-sdl_mixer, however upon running makepkg I get the error:
    configure: error: installation or configuration problem: C compiler cannot create executables.
    ==> ERROR: A failure occurred in build().
    Aborting...
    I think this is the correct config.log that everyone wants
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    configure:633: checking for a BSD compatible install
    configure:686: checking whether build environment is sane
    configure:743: checking whether make sets ${MAKE}
    configure:789: checking for working aclocal
    configure:802: checking for working autoconf
    configure:815: checking for working automake
    configure:828: checking for working autoheader
    configure:841: checking for working makeinfo
    configure:862: checking host system type
    configure:883: checking target system type
    configure:903: checking whether make sets ${MAKE}
    configure:932: checking for gcc
    configure:1045: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
    configure:1061: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 1056 "configure"
    #include "confdefs.h"
    main(){return(0);}
    So what do I need to do?
    EDIT::
    I have multilib on if that applies (similar topic here)
    https://bbs.archlinux.org/viewtopic.php?id=108615
    Last edited by Shimizoki (2011-04-12 19:53:50)

    tom5760 wrote:If you are building a 32 bit program or library on a 64 bit system, try installing the "gcc-multilib" package.
    That was helpful, and this time I got much father but I still got an error.
    /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
    /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../libGLU.so when searching for -lGLU
    /usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
    /usr/bin/ld: cannot find -lGLU
    collect2: ld returned 1 exit status
    make[1]: *** [glmovie] Error 1
    make[1]: Leaving directory `/home/shimizoki/lib32-smpeg/src/smpeg-0.4.4'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    New config.log file
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    configure:633: checking for a BSD compatible install
    configure:686: checking whether build environment is sane
    configure:743: checking whether make sets ${MAKE}
    configure:789: checking for working aclocal
    configure:802: checking for working autoconf
    configure:815: checking for working automake
    configure:828: checking for working autoheader
    configure:841: checking for working makeinfo
    configure:862: checking host system type
    configure:883: checking target system type
    configure:903: checking whether make sets ${MAKE}
    configure:932: checking for gcc
    configure:1045: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
    configure:1061: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
    configure:1087: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) is a cross-compiler
    configure:1092: checking whether we are using GNU C
    configure:1101: gcc -m32 -E conftest.c
    configure:1120: checking whether gcc -m32 accepts -g
    configure:1156: checking for c++
    configure:1188: checking whether the C++ compiler (g++ -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
    configure:1204: g++ -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.C -L/usr/lib32 1>&5
    configure:1230: checking whether the C++ compiler (g++ -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) is a cross-compiler
    configure:1235: checking whether we are using GNU C++
    configure:1244: g++ -m32 -E conftest.C
    configure:1263: checking whether g++ -m32 accepts -g
    configure:1365: checking build system type
    configure:1385: checking for ranlib
    configure:1424: checking for ld used by GCC
    configure:1486: checking if the linker (/usr/bin/ld) is GNU ld
    GNU ld (GNU Binutils) 2.21.0.20110209
    configure:1502: checking for BSD-compatible nm
    configure:1538: checking whether ln -s works
    ltconfig:603: checking for object suffix
    ltconfig:604: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
    ltconfig:629: checking for executable suffix
    ltconfig:630: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
    ltconfig:776: checking if gcc PIC flag -fPIC works
    ltconfig:777: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPIC conftest.c 1>&5
    ltconfig:829: checking if gcc supports -c -o file.o
    ltconfig:830: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -o out/conftest2.o conftest.c 1>&5
    ltconfig:862: checking if gcc supports -c -o file.lo
    ltconfig:863: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -c -o conftest.lo conftest.c 1>&5
    ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
    ltconfig:915: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
    ltconfig:958: checking if gcc static flag -static works
    ltconfig:959: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -static conftest.c -L/usr/lib32 1>&5
    GNU ld (GNU Binutils) 2.21.0.20110209
    ltconfig:1653: checking if global_symbol_pipe works
    ltconfig:1654: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
    ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
    ltconfig:1709: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-builtin -Wl,--hash-style=gnu -Wl,--as-needed conftest.c conftstm.o 1>&5
    configure:1943: checking for a BSD compatible install
    configure:1997: checking for socklen_t
    configure:2010: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
    configure:2139: checking for sdl-config
    configure:2174: checking for SDL - version >= 1.2.0
    configure:2259: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread 1>&5
    configure:2341: checking for sqrt in -lm
    configure:2360: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lm -L/usr/lib32 -L/usr/lib -lSDL -lpthread 1>&5
    configure:2353:6: warning: conflicting types for built-in function 'sqrt'
    configure:2643: checking for gtk-config
    configure:2678: checking for GTK - version >= 1.2.1
    configure:2898: checking how to run the C preprocessor
    configure:2919: gcc -m32 -E conftest.c >/dev/null 2>conftest.out
    configure:2982: checking for X
    configure:3049: gcc -m32 -E conftest.c >/dev/null 2>conftest.out
    configure:3125: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lXt -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3296: checking for dnet_ntoa in -ldnet
    configure:3315: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldnet -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    /usr/bin/ld: cannot find -ldnet
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 3304 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char dnet_ntoa();
    int main() {
    dnet_ntoa()
    ; return 0; }
    configure:3337: checking for dnet_ntoa in -ldnet_stub
    configure:3356: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldnet_stub -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    /usr/bin/ld: cannot find -ldnet_stub
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 3345 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char dnet_ntoa();
    int main() {
    dnet_ntoa()
    ; return 0; }
    configure:3385: checking for gethostbyname
    configure:3413: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3483: checking for connect
    configure:3511: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3575: checking for remove
    configure:3603: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3667: checking for shmat
    configure:3695: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3768: checking for IceConnectionNumber in -lICE
    configure:3787: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lICE -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
    configure:3820: checking for OpenGL support
    configure:3834: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO conftest.c 1>&5
    configure:3883: checking if g++ -m32 supports -fno-rtti -fno-exceptions
    configure:3899: g++ -m32 -c -fno-rtti -fno-exceptions conftest.c 1>&5
    I am actually trying to package its dependency in this case. lib32-smpeg

  • My iPad shows a message "Cannot find AirPrint printer". I used to use my iPad to print materials using HP wireless printer D110. Now it does not want to print. Is this because I am now using IOS 7? What should I do to solve the problem? Help please.

    My iPad shows a message "Cannot find AirPrint printer". I used to use my iPad to print materials using HP wireless printer D110. Now it does not want to print. Is this because I am now using IOS 7? What should I do to solve the problem? Help please.

    Restart your WiFi router and printer by removing power for 30 seconds.

  • HT6437 My itunes cannot locate my ipod. All the sync option are grayed out and diagnostics says that itunes cannot find usb ports and that no device is connected when it is. What should I do to solve this issue?

    So itunes is giving me problems. Since around Christmas time, itunes decided to stop reading my ipod. I connect it to my computer with the usb cable and my computer will recognize that a device is connected but itunes will not. If I go to file->devices and try to sync, all of my sync options are grayed out, while before it would just automatically sync.
    When I run diagnostics it tells me that under ports that it cannot find usb ports (it has a green circle?), a type of cable isn't found, and that no device is connected with the usb cable (which my ipod is). I have been trying to fix this issue but nothing is working. I've tried restarting my ipod, itunes, and my computer, i've also tried resetting my ipod and uninstalling itunes then reinstalling itunes but nothing seems to be working.
    Does anyone know how to solve this issue?

    Do the USB ports work for other devices?
    Does the iPod charge?
    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with                  
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - Then do the other actions of:
    iOS: Device not recognized in iTunes for Windows
    paying special attention to item #5
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • Spotlight and finder cannot find files as of a certain date. What can be the problem and how to solve?

    Spotlight and search field in Outlook on MacBoon cannot find files as of a certain date. What can be the problem and how to solve?

    Reinstall on both.
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it isthree times faster than wireless.
    Restore your iPhone to reinstall iOS. Be sure to do this while connected to your computer and iTunes.
         Tap Settings > General > Reset > Erase all content and settings.

  • Itunes only recognises various artists instead of th dj who mixed the cd and therefore cannot find the artwork. Is there any way to solve this problem?

    itunes only recognises various artists and not the dj who mixed cd, and therefore cannot find the artwork as a result. Is there anyway to solve this as I have quite a few cd's with the same title in this series?

    I'm happy to report that Sound Studio has corrected its part of the problem, and an updated version is available on its web site: freeverse.com/soundstudio/
    I also discovered that attempts to adjust individual song volumes in the Get Info menu won't work if the Sound Check option is selected in Preferences (duh!).
    Further good news is Apple's announcement of an arrangement to offer unprotected versions of BMI music in the iTunes store for an extra 30 cents per song. It would be well worth it, in my opinion, if all the music companies agreed to the arrangement, thereby streamlining the task of transferring problem songs to editing programs like Sound Studio.
    One minor glitch remains. To differentiate between original and edited versions of a song, I usually append a number to the name. But when I import the edited version back into the iTunes library, iTunes automatically changes the name back to the original. I can tell the difference by referring to other clues in the library file, but not in the abbreviated iPod menu. I could delete the unedited version from the library or, better, create playlistys consisting of only the edited versions.
    Thanks to all who contributed to this discussion. I hope others benefit from it as I did.
    P.S.: I did download Max, which works fine for its intended purposes.

  • I am using iPhone 3GS. I am living in Saudi Arabia. I cannot find the directions with in GCC contries in the Navigation Application "COMPASS" of iphone. Can you please explain me how to work on it??

    I am using iPhone 3GS. I am living in Saudi Arabia. I cannot find the directions with in GCC contries in the Navigation Application "COMPASS" of iphone. Only the map is displayed. I am not gtting the directions or information when I use it. Can you please explain me how to work on it??

    See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files
    Add code to [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #context-sendlink {display:none !important;}</nowiki></pre>
    See also http://kb.mozillazine.org/Chrome_element_names_and_IDs

  • Error Message:"Cannot find or create the font 'WP-MathA'. Some characters may not display or print correctly."  Who can help me solve this problem?

    Some of the pdf files I work with (receive) come up with a comment: “Cannot find or create the font ‘WP-MathA’. Some characters may not display or print correctly.”  Who can help me solve this problem?
    Thank you in advance for  your time.
    Marlen

    Hello Anubha,
    I am having a similar problem on my machine.  I was using Word 2008 and I created a PDF inside Word.
    I am opening the file on the system itself and I am running Windows 8.1.  I am using Version 11 of Reader.
    When the PDF I created (my resume) attempts to open, it says:  cannot find or create the file Times, Bold.  Some characters may not display or print correctly. 
    However, the entire Reader keeps freezing and will not allow me to open or test print the document.  Also, it is not displaying any of the Bold Times New Roman Print.  Can you please help?  Thanks.

  • How to solve the Cannot find oraInventory problem in R12 installation.

    I search many places to find this so, i decided to shared for hopl anyone else.
    The note Rw-10003 During Rapidwiz Upgrade Install [ID 1266385.1] tell how to solved, crating the oraInst.loc file, but it miss something important, where I have to put it in the oraInst.loc file ? Fortunately, i have accses to others DB where look. You have to cretate the file in the /etc directory. Follows this steps.
    1.- Go to the main directory where you gonna install the R12 app and create the follow directory
    oraInventory
    in my case was /u01/hab_r12/oraInventory
    2.- Go to /etc and create a text file with the name OraInst.loc and put this lines
    inventory_loc=/u01/hab_r12/oraInventory*
    inst_group=dba**
    *you must put the root directory of the installation
    ** the group who have the privilege in DB
    3.- Re run the rapidinstall.
    I hope this can help someone.
    Cheers.

    Hi;
    In addition to Hussein Sawwan great post, Please refer:
    R12 Insllation Fails With Error "Cannot Find Orainventory" [ID 1281649.1]
    How to Create a Clean oraInventory in Release 12 [ID 834894.1]
    How to find the location of GLOBAL Inventory and LOCAL inventory on R12.x ? Why Some Times, There are Issues With The oraInventory Registration During The Post Clone ? [ID 878717.1]
    Regard

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

  • [solved] build failing: /usr/bin/ld: cannot find -lgd

    I'm trying to satisfy crossover dependencies and recommendations. Found lib32-libgphoto2 on AUR with a few dependencies of its own, all of which I installed succesfully.
    When doing a makepkg for lib32-libgphoto2 I get the following error:
    libtool: link: gcc -m32 -shared -fPIC -DPIC ax203/.libs/ax203_la-library.o ax203/.libs/ax203_la-ax203.o ax203/.libs/ax203_la-ax203_decode_yuv.o ax203/.libs/ax203_la-ax203_decode_yuv_delta.o ax203/.libs/ax203_la-ax203_compress_jpeg.o ax203/.libs/ax203_la-jpeg_memsrcdest.o ax203/.libs/ax203_la-tinyjpeg.o ax203/.libs/ax203_la-jidctflt.o -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2/.libs -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs -L/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs ../libgphoto2/.libs/libgphoto2.so -L/usr/lib32 /home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lexif ../libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lltdl -lpthread -lgd -lz -lm -lpng16 -lfreetype -lfontconfig -ljpeg -m32 -march=x86-64 -mtune=generic -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-soname -Wl,ax203.so -Wl,-version-script -Wl,.libs/ax203.ver -o .libs/ax203.so
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../libgd.so when searching for -lgd
    /usr/bin/ld: skipping incompatible /usr/lib/libgd.so when searching for -lgd
    /usr/bin/ld: cannot find -lgd
    collect2: error: ld returned 1 exit status
    Makefile:1659: recipe for target 'ax203.la' failed
    make[3]: *** [ax203.la] Error 1
    make[3]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
    Makefile:3347: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
    Makefile:622: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build'
    Makefile:444: recipe for target 'all' failed
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    In that blob of text it says 'skipping incompatible' so it found something but I don't know to fix that or find out what it needs. A search on the internet I found that the message (in title) means I'm missing 32-bit library for gd, so I pulled that from AUR and installed it, but its still giving me this message.
    Any ideas what I need to do to get this to build?
    Thanks in advance.
    Last edited by mouseman (2014-05-05 05:24:27)

    The linker tries to find libgd. so. If you build lib32-libgphoto2, I guess from the name that you are building a 32 bit package on a 64 bits installation. You should have the 32 bit version of libgd. so and you only have the 64 bit version (hence skipping incompatible /usr/lib/libgd.so). Note that I have not found this version in the multilib repository (nor on AUR), I think you will have to build it yourself.

  • [SOLVED] LyX cannot find layout/document classes

    LyX refuses to produce any output for me because it cannot find article.layout, or any other common layout. This file is installed in /usr/share/lyx/layouts/article.layout.
    I have installed texlive-most and texlive-bin. I have installed dvips and the other programs necessary to render files.
    I have tried clearing my LyX config several times (rm -rf ~/.lyx) and it hasn't helped. I have removed and reinstalled texlive with various options, including -Rn and -Rc, multiple times. I have also manually removed leftover files from both LyX and texlive. I have told LyX to reconfigure itself several times.
    No output will be produced. I thought maybe this was caused by some stray old config file floating somewhere out there but heretofore have not been able to find it or remove it via -Rn. Someone told me that a fresh install of LyX works.
    Any help would be deeply appreciated.
    EDIT: I have also tried updating my PATH to include /opt/texlive/bin as suggested somewhere else on these boards and then running and reconfiguring LyX. It doesn't help.
    Last edited by cookiecaper (2010-08-17 17:49:20)

    Ugh, just solved it. Hopefully this helps someone. I hadn't removed ~/.texlive. Removing that and restarting LyX fixed it.

Maybe you are looking for

  • Index was not used in join tables query

    I tested the following query on my dev 10g and the explain plan did not indicated to use the index of a(t$trec, t$tdoc) select a.somecolumns, b.othercolumns from a, b where (a.t$trec = 1 or a.t$trec = 4 and t$tdoc = ' ') and a.t$ttyp = b.t$ityp and a

  • Macbook pro 15 retina 2014 restarts itself

    I just bought a Mac book pro 15 retina 2014. I bought it from the store and after two days it kept restarting for no reason while I was using it. I went to the store and they replaced it with a new one. I started using new one from Saturday and yeste

  • Is JavaMail 1.3.3 supported on z/Linux platform

    Hi, I would like to know are following libraries supported on z/Linux platform ? 1) JavaMail 1.3.3 and 2) Java Activation Framework 1.0.2 Or can you please send me the known issues, if any ? Also would appreciate if could send me any info/link for 64

  • I have discs but no longer have the laptop. Are they any good to anyone?

    Hi, all. While cleaning out my garage (doesn't everyone do this over the Holiday break?) I ran across the box that my laptop came in, and inside were all the original OS X installation discs and reinstall discs. Are these of any use to anyone? I no l

  • What's the best setting for a best shades quality?

    Hi! I would like to know what are the best codec and the best setting for a video with 1920x1080 of resolution. I've tried them all but nothing because the shades...are not shades. I want a video that is like a uncompressed video but lighter. Same qu