[SOLVED] Cannot create /dev/loop0

I am trying to create an encrypted loopback device.
Firstly, I created a file using
dd if=/dev/urandom of=./bigsecret bs=1M count=200
Then, created a /dev/loop0 using
losetup /dev/loop0 ./bigsecret
Then these two commands:
cryptsetup luksFormat /dev/loop0
cryptsetup luksOpen /dev/loop0 secret
After that the expected behavior is to see a new file secret in /dev/mapper but I am not getting that. I am following the wiki https://wiki.archlinux.org/index.php/Sy … filesystem
EDIT: It seems like the loop0 was not being created and the losetup command was failing silently. Fixed now.
Last edited by shadyabhi (2012-06-15 14:20:59)

Something really bizarre is happening, when I run strace ln ../file file then it creates a hard link, but when I just run ln ../file file then it creates a soft link.
Perhaps there is an alias somewhere? I think that is the case.
Yes, that is correct.
I feel dumb now
But there's the answer to anyone who ever wants to know!

Similar Messages

  • How did i solve "Cannot create target element" but still having problems.

    Hi Experts,
    I solved my problem of "Cannot create target element" by removing of the data type structure the following fields :
    DT_AS400_1 -> Complex Type
    Payroll      1..1   (Should i put 0..0?)
       ->  Row  0..Unbounded And then Fields to be passed.
    I can't figure how pi can't detect the fields, i use them pretty often.
    Any Suggestions,
    Thanks for your help,
    Regards,
    Steve.

    Hi Steve,
    Check if input message, has the field that is producing the output.
    Therefore, if you don't have any input to fill the structure root, you can fill it with an empty constant.
    Best regards,
    Pedro M. D. Pereira
    Edited by: Pedro Pereira on Jun 10, 2010 1:26 AM

  • Diskless client NFS boot fails. cannot create /dev/nfs

    Hi
    I've set up a diskless laptop to boot off my server, both running Arch. I followed the wiki article: https://wiki.archlinux.org/index.php/Di … t_NFS_root
    PXE on the laptop connects with the tftpd server just fine, gets the kernel and begins booting up. At some point it begins looking for /dev/nfs, declares it does not exist, attempts to create it and and fails with the following error (from memory as I'm not at the computer now).
    "ERROR: Unable to determine major/minor number of root device root=/dev/nfs"
    my kernel param line in pxelinux.cfg/default is just like the one in the wiki article i.e
    default linux
    label linux
    kernel vmlinuz26
    append initrd=kernel26.img rootfstype=nfs root=/dev/nfs nfsroot=10.0.0.1:/disklessroot,v3,rsize=16384,wsize=16384 ip=::::::dhcp
    any help will be greatly appreciated.
    emk

    I'm assuming youve entered your own IP addresses instead of just copy&pasting from the howto, correct?
    Also, did you install all the nfs packages, and do the mkinitcpio-nfs-utils procedure?

  • Cannot create tape device

    Hi, maybe someone can help me?
    My tape device /dev/rmt/0n was 20Gb in size even though it had no tape in it, after a failed backup.
    This was after filling up my hard-drive to 100% capacity, so I decided to delete /dev/rmt/0n and recreate using "devfsadm" or "boot -r" but neither of these commands worked!
    Now I cannot connect the tape drive at all as I cannot create /dev/rmt/0n.
    Does anybody know how this can be fixed?
    Thanks

    My tape device /dev/rmt/0n was 20Gb in size even
    though it had no tape in it, after a failed backup.Sound like you mis-specified the destination of your backup and it literally went to a file "/dev/rmt/0n" (overwriting your device file) instead of to tape.
    Please run 'drvconfig' then 'tapes'. (Or do a reconfiguration reboot.) This should recreate your device name.

  • [SOLVED]C compiler cannot create executables DUE TO MISSING DEV. PACKS

    Hi there, I was trying to build "lib32-libpcap" from AUR using yaourt when the gcc(?) reported an error as following:
    ==> Starting build()...
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc -m32
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    ==> ERROR: A failure occurred in build().
    Aborting...
    The content of the "config.log" file:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by configure, which was
    generated by GNU Autoconf 2.61. Invocation command line was
    $ ./configure --prefix=/usr --libdir=/usr/lib32 --enable-ipv6
    ## Platform. ##
    hostname = mzws
    uname -m = x86_64
    uname -r = 3.2.8-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = x86_64
    /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/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/local/sbin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/core_perl
    ## Core tests. ##
    configure:1794: checking build system type
    configure:1812: result: x86_64-unknown-linux-gnu
    configure:1834: checking host system type
    configure:1849: result: x86_64-unknown-linux-gnu
    configure:1871: checking target system type
    configure:1886: result: x86_64-unknown-linux-gnu
    configure:2036: checking for gcc
    configure:2063: result: gcc -m32
    configure:2301: checking for C compiler version
    configure:2308: gcc -m32 --version >&5
    gcc (GCC) 4.6.2 20120120 (prerelease)
    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:2311: $? = 0
    configure:2318: gcc -m32 -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.6-20120120/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --enable-checking=release
    Thread model: posix
    gcc version 4.6.2 20120120 (prerelease) (GCC)
    configure:2321: $? = 0
    configure:2328: gcc -m32 -V >&5
    gcc: error: unrecognized option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:2331: $? = 1
    configure:2354: checking for C compiler default output file name
    configure:2381: gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c >&5
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgcc_s.so when searching for -lgcc_s
    /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
    /usr/bin/ld: cannot find -lgcc_s
    collect2: ld returned 1 exit status
    configure:2384: $? = 1
    configure:2422: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2429: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value='gcc -m32'
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CPPFLAGS_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=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_prog_ac_ct_CC='gcc -m32'
    ac_cv_target=x86_64-unknown-linux-gnu
    ## Output variables. ##
    ADDLARCHIVEOBJS=''
    ADDLOBJS=''
    BT_SRC=''
    CAN_SRC=''
    CC='gcc -m32'
    CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CPP=''
    CPPFLAGS=''
    DEFS=''
    DYEXT=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GREP=''
    HAVE_LINUX_TPACKET_AUXDATA=''
    INSTALL_DATA=''
    INSTALL_PROGRAM=''
    INSTALL_SCRIPT=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'
    LIBOBJS=''
    LIBS=''
    LTLIBOBJS=''
    MAN_FILE_FORMATS=''
    MAN_MISC_INFO=''
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PCAP_SUPPORT_BT=''
    PCAP_SUPPORT_CAN=''
    PCAP_SUPPORT_USB=''
    RANLIB=''
    SHELL='/bin/sh'
    SHLICC2=''
    SSRC=''
    USB_SRC=''
    V_CCOPT='-O'
    V_DEFS=''
    V_FINDALLDEVS=''
    V_INCLS=''
    V_LEX=''
    V_PCAP=''
    V_RPATH_OPT=''
    V_SHLIB_CMD=''
    V_SHLIB_OPT=''
    V_SONAME_OPT=''
    V_YACC=''
    ac_ct_CC='gcc -m32'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    libdir='/usr/lib32'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='x86_64-unknown-linux-gnu'
    target_alias=''
    target_cpu='x86_64'
    target_os='linux-gnu'
    target_vendor='unknown'
    ## confdefs.h. ##
    #define PACKAGE_NAME ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define PACKAGE_STRING ""
    #define PACKAGE_BUGREPORT ""
    configure: exit 77
    and the makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Am running a up-to-date x64 Arch with [multilib] enabled; perhaps it's a silly mistake I made somewhere but I'm no dev and so cannot figure out what went wrong in the config.log....please help with your kindness and thanks in advance!
    Last edited by karbon (2012-03-10 04:28:58)

    Thanks for your replies:)
    Allan wrote:Are you really up-to-date?   gcc-4.6.3 was put in [core] four days ago but you still seem to have 4.6.2.
    Well...at least as up-to-date as on March 2nd(when I did last system-wide upgrade); trying to update system tonight to see whether this works.
    stronnag wrote:If you have multilib and testing enabled, you also need  multilib-testing, otherwise (as I know from bitter experience), you get these hard to track down errors.
    Nope I didn't enable [testing]; I've discovered some packages in [multilib], namely gcc-multilib or something similar(with the -multilib subfix) and some of these packages belong to the group "multilib-devel". Is installing these packages a must for compiling 32-bit packages?

  • [SOLVED] C Compiler Cannot Create Executables

    I am aware that there is already a thread on this here however it failed to solve my issue. I have installed the multilib-devel packages as the referenced post suggested, but I still receive the following error message when attempting to compile wine-mono package either with makepkg or with yaourt.
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-w64-mingw32
    checking target system type... x86_64-w64-mingw32
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for x86_64-w64-mingw32-strip... no
    checking for strip... strip
    configure: WARNING: using cross tools not prefixed with host triplet
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a ustar tar archive... gnutar
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether ln -s works... yes
    checking host platform characteristics... ok
    checking for x86_64-w64-mingw32-gcc... no
    checking for gcc... gcc
    checking for x86_64-w64-mingw32-gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/tmp/yaourt-tmp-sensei/aur-wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    My config.log:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by mono configure 2.11.1, which was
    generated by GNU Autoconf 2.69. Invocation command line was
    $ ../mono/configure --prefix=/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install --build=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --with-tls=none --disable-mcs-build --enable-win32-dllmain=yes --with-libgc-threads=win32 PKG_CONFIG=false mono_cv_clang=no
    ## Platform. ##
    hostname = archmage
    uname -m = x86_64
    uname -r = 3.3.8-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 2012
    /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/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/local/sbin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/core_perl
    PATH: /home/sensei/Documents/Scripts
    ## Core tests. ##
    configure:2970: checking build system type
    configure:2984: result: x86_64-unknown-linux-gnu
    configure:3004: checking host system type
    configure:3017: result: x86_64-w64-mingw32
    configure:3037: checking target system type
    configure:3050: result: x86_64-w64-mingw32
    configure:3099: checking for a BSD-compatible install
    configure:3167: result: /usr/bin/install -c
    configure:3178: checking whether build environment is sane
    configure:3233: result: yes
    configure:3292: checking for x86_64-w64-mingw32-strip
    configure:3322: result: no
    configure:3332: checking for strip
    configure:3348: found /usr/bin/strip
    configure:3359: result: strip
    configure:3371: WARNING: using cross tools not prefixed with host triplet
    configure:3384: checking for a thread-safe mkdir -p
    configure:3423: result: /bin/mkdir -p
    configure:3430: checking for gawk
    configure:3446: found /usr/bin/gawk
    configure:3457: result: gawk
    configure:3468: checking whether make sets $(MAKE)
    configure:3490: result: yes
    configure:3565: checking how to create a ustar tar archive
    configure:3578: tar --version
    tar (GNU tar) 1.26
    Copyright (C) 2011 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Written by John Gilmore and Jay Fenlason.
    configure:3581: $? = 0
    configure:3621: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
    configure:3624: $? = 0
    configure:3628: tar -xf - <conftest.tar
    configure:3631: $? = 0
    configure:3644: result: gnutar
    configure:3654: checking whether to enable maintainer-specific portions of Makefiles
    configure:3663: result: no
    configure:3680: checking whether ln -s works
    configure:3684: result: yes
    configure:3737: checking host platform characteristics
    configure:4029: result: ok
    configure:4090: checking for x86_64-w64-mingw32-gcc
    configure:4120: result: no
    configure:4130: checking for gcc
    configure:4146: found /usr/bin/gcc
    configure:4157: result: gcc
    configure:4187: checking for x86_64-w64-mingw32-gcc
    configure:4214: result: gcc
    configure:4483: checking for C compiler version
    configure:4492: gcc --version >&5
    gcc (GCC) 4.7.0 20120505 (prerelease)
    Copyright (C) 2012 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:4503: $? = 0
    configure:4492: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.7-20120505/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
    Thread model: posix
    gcc version 4.7.0 20120505 (prerelease) (GCC)
    configure:4503: $? = 0
    configure:4492: gcc -V >&5
    gcc: error: unrecognized command line option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4503: $? = 1
    configure:4492: gcc -qversion >&5
    gcc: error: unrecognized command line option '-qversion'
    gcc: fatal error: no input files
    compilation terminated.
    configure:4503: $? = 1
    configure:4523: checking whether the C compiler works
    configure:4545: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32 conftest.c >&5
    /usr/bin/ld: cannot find -lmswsock
    /usr/bin/ld: cannot find -lws2_32
    /usr/bin/ld: cannot find -lole32
    /usr/bin/ld: cannot find -loleaut32
    /usr/bin/ld: cannot find -lpsapi
    /usr/bin/ld: cannot find -lversion
    /usr/bin/ld: cannot find -ladvapi32
    /usr/bin/ld: cannot find -lwinmm
    /usr/bin/ld: cannot find -lkernel32
    collect2: error: ld returned 1 exit status
    configure:4549: $? = 1
    configure:4587: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "mono"
    | #define PACKAGE_TARNAME "mono"
    | #define PACKAGE_VERSION "2.11.1"
    | #define PACKAGE_STRING "mono 2.11.1"
    | #define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
    | #define PACKAGE_URL ""
    | #define PACKAGE "mono"
    | #define VERSION "2.11.1"
    | #define HOST_WIN32 1
    | #define DISABLE_PORTABILITY 1
    | #define PLATFORM_NO_SYMLINKS 1
    | #define TARGET_WIN32 1
    | #define MINGW_CROSS_COMPILE 1
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:4592: error: in `/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
    configure:4594: error: C compiler cannot create executables
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CCASFLAGS_set=
    ac_cv_env_CCASFLAGS_value=
    ac_cv_env_CCAS_set=
    ac_cv_env_CCAS_value=
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_XMKMF_set=
    ac_cv_env_XMKMF_value=
    ac_cv_env_build_alias_set=set
    ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
    ac_cv_env_host_alias_set=set
    ac_cv_env_host_alias_value=x86_64-w64-mingw32
    ac_cv_env_target_alias_set=set
    ac_cv_env_target_alias_value=x86_64-w64-mingw32
    ac_cv_host=x86_64-w64-mingw32
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CC=gcc
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_ac_ct_STRIP=strip
    ac_cv_prog_make_make_set=yes
    ac_cv_target=x86_64-w64-mingw32
    am_cv_prog_tar_ustar=gnutar
    mono_cv_clang=no
    ## Output variables. ##
    ACLOCAL='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run aclocal-1.12'
    ALPHA_FALSE=''
    ALPHA_TRUE=''
    AMD64_FALSE=''
    AMD64_TRUE=''
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    API_VER='2.0'
    AR=''
    ARM_FALSE=''
    ARM_TRUE=''
    AS=''
    AUTOCONF='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run automake-1.12'
    AWK='gawk'
    BOEHM_DEFINES=''
    BUILD_EXEEXT=''
    BUILD_GLIB_CFLAGS=''
    BUILD_GLIB_LIBS=''
    BUILD_MCS_FALSE=''
    BUILD_MCS_TRUE=''
    CC='gcc'
    CCAS=''
    CCASDEPMODE=''
    CCASFLAGS=''
    CCDEPMODE=''
    CC_FOR_BUILD=''
    CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CFLAGS_FOR_BUILD=''
    CPP=''
    CPPFLAGS=' -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL'
    CROSS_COMPILING_FALSE=''
    CROSS_COMPILING_TRUE=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR=''
    DISABLE_EXECUTABLES_FALSE=''
    DISABLE_EXECUTABLES_TRUE=''
    DISABLE_JIT_FALSE=''
    DISABLE_JIT_TRUE=''
    DISABLE_PROFILER_FALSE=''
    DISABLE_PROFILER_TRUE=''
    DISABLE_SHARED_HANDLES=''
    DLLTOOL=''
    DOLT_BASH=''
    DSYMUTIL=''
    DTRACE=''
    DTRACEFLAGS=''
    DTRACE_G_REQUIRED_FALSE=''
    DTRACE_G_REQUIRED_TRUE=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_DTRACE_FALSE=''
    ENABLE_DTRACE_TRUE=''
    ENABLE_LLVM_FALSE=''
    ENABLE_LLVM_TRUE=''
    ENABLE_NUNIT_TESTS_FALSE=''
    ENABLE_NUNIT_TESTS_TRUE=''
    EXEEXT=''
    FGREP=''
    GETTEXT_MACRO_VERSION=''
    GLIB_CFLAGS=''
    GLIB_LIBS=''
    GMODULE_CFLAGS=''
    GMODULE_LIBS=''
    GMSGFMT=''
    GMSGFMT_015=''
    GREP=''
    HAVE_MSGFMT=''
    HAVE_OPROFILE_FALSE=''
    HAVE_OPROFILE_TRUE=''
    HAVE_ZLIB_FALSE=''
    HAVE_ZLIB_TRUE=''
    HOST_CC='gcc'
    HOST_WIN32_FALSE='#'
    HOST_WIN32_TRUE=''
    HPPA_FALSE=''
    HPPA_TRUE=''
    IA64_FALSE=''
    IA64_TRUE=''
    INCLUDED_LIBGC_FALSE=''
    INCLUDED_LIBGC_TRUE=''
    INSTALL_4_0_FALSE=''
    INSTALL_4_0_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_MOBILE_FALSE=''
    INSTALL_MOBILE_TRUE=''
    INSTALL_MONODROID_FALSE=''
    INSTALL_MONODROID_TRUE=''
    INSTALL_MONOTOUCH_FALSE=''
    INSTALL_MONOTOUCH_TRUE=''
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INTERP_SUPPORTED_FALSE=''
    INTERP_SUPPORTED_TRUE=''
    INTL=''
    JIT_SUPPORTED_FALSE=''
    JIT_SUPPORTED_TRUE=''
    LD=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32'
    LIBC=''
    LIBGC_CPPFLAGS=''
    LIBGC_LIBS=''
    LIBGC_STATIC_LIBS=''
    LIBICONV=''
    LIBMONO_LA=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LLVM_CFLAGS=''
    LLVM_CONFIG=''
    LLVM_CXXFLAGS=''
    LLVM_LDFLAGS=''
    LLVM_LIBS=''
    LN_S='cp'
    LOADED_LLVM_FALSE=''
    LOADED_LLVM_TRUE=''
    LTCOMPILE=''
    LTCXXCOMPILE=''
    LTLIBICONV=''
    LTLIBOBJS=''
    M68K_FALSE=''
    M68K_TRUE=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run makeinfo'
    MANIFEST_TOOL=''
    MIPS_FALSE=''
    MIPS_GCC_FALSE=''
    MIPS_GCC_TRUE=''
    MIPS_SGI_FALSE=''
    MIPS_SGI_TRUE=''
    MIPS_TRUE=''
    MKDIR_P='/bin/mkdir -p'
    MONO_DEBUGGER_SUPPORTED_FALSE=''
    MONO_DEBUGGER_SUPPORTED_TRUE=''
    MONO_DL_NEED_USCORE=''
    MONO_NACL_ALIGN_MASK_OFF=''
    MOONLIGHT_BOEHM_FALSE=''
    MOONLIGHT_BOEHM_TRUE=''
    MOONLIGHT_DEFINES=''
    MOONLIGHT_FALSE=''
    MOONLIGHT_SGEN_FALSE=''
    MOONLIGHT_SGEN_TRUE=''
    MOONLIGHT_TRUE=''
    MSGFMT=''
    MSGFMT_015=''
    MSGMERGE=''
    NACL_CODEGEN_FALSE=''
    NACL_CODEGEN_TRUE=''
    NM=''
    NMEDIT=''
    NO_VERSION_SCRIPT_FALSE=''
    NO_VERSION_SCRIPT_TRUE=''
    OBJDUMP=''
    OBJEXT=''
    ONLY_MOONLIGHT_FALSE=''
    ONLY_MOONLIGHT_TRUE=''
    OPROFILE_CFLAGS=''
    OPROFILE_LIBS=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='mono'
    PACKAGE_BUGREPORT='http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono'
    PACKAGE_NAME='mono'
    PACKAGE_STRING='mono 2.11.1'
    PACKAGE_TARNAME='mono'
    PACKAGE_URL=''
    PACKAGE_VERSION='2.11.1'
    PATH_SEPARATOR=':'
    PKG_CONFIG='false'
    PLATFORM_ANDROID_FALSE=''
    PLATFORM_ANDROID_TRUE='#'
    PLATFORM_DARWIN_FALSE=''
    PLATFORM_DARWIN_TRUE='#'
    PLATFORM_LINUX_FALSE=''
    PLATFORM_LINUX_TRUE='#'
    PLATFORM_SIGPOSIX_FALSE=''
    PLATFORM_SIGPOSIX_TRUE='#'
    POWERPC64_FALSE=''
    POWERPC64_TRUE=''
    POWERPC_FALSE=''
    POWERPC_TRUE=''
    RANLIB=''
    S390_FALSE=''
    S390_TRUE=''
    S390x_FALSE=''
    S390x_TRUE=''
    SED=''
    SET_MAKE=''
    SGEN_DEFINES=''
    SHARED_MONO_FALSE=''
    SHARED_MONO_TRUE=''
    SHELL='/bin/sh'
    SPARC64_FALSE=''
    SPARC64_TRUE=''
    SPARC_FALSE=''
    SPARC_TRUE=''
    SQLITE3=''
    SQLITE=''
    STATIC_MONO_FALSE=''
    STATIC_MONO_TRUE=''
    STRIP='strip'
    SUPPORT_BOEHM_FALSE=''
    SUPPORT_BOEHM_TRUE=''
    SUPPORT_SGEN_FALSE=''
    SUPPORT_SGEN_TRUE=''
    TARGET_WIN32_FALSE='#'
    TARGET_WIN32_TRUE=''
    USE_BATCH_FILES_FALSE=''
    USE_BATCH_FILES_TRUE=''
    USE_JIT_FALSE=''
    USE_JIT_TRUE=''
    USE_NLS=''
    VERSION='2.11.1'
    X11=''
    X86_FALSE=''
    X86_TRUE=''
    XATTR_LIB=''
    XGETTEXT=''
    XGETTEXT_015=''
    XGETTEXT_EXTRA_OPTIONS=''
    XMKMF=''
    ac_ct_AR=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCCAS_FALSE=''
    am__fastdepCCAS_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include=''
    am__isrc=' -I$(srcdir)'
    am__leading_dot='.'
    am__nodep=''
    am__quote=''
    am__tar='tar --format=ustar -chf - "$$tardir"'
    am__untar='tar -xf -'
    arch_target=''
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias='x86_64-unknown-linux-gnu'
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    docs_dir=''
    dvidir='${docdir}'
    exec_prefix='NONE'
    export_ldflags=''
    host='x86_64-w64-mingw32'
    host_alias='x86_64-w64-mingw32'
    host_cpu='x86_64'
    host_os='mingw32'
    host_vendor='w64'
    htmldir='${docdir}'
    ikvm_native_dir=''
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    libgc_dir=''
    libgdiplus_loc=''
    libmono_cflags='-mno-cygwin -mms-bitfields -mwindows'
    libmono_ldflags='-mno-cygwin -mms-bitfields -mwindows'
    libsuffix=''
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mcs_topdir=''
    mcs_topdir_from_srcdir=''
    mkdir_p=''
    mono_build_root=''
    mono_cfg_dir=''
    mono_runtime=''
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install'
    program_transform_name='s&^&x86_64-w64-mingw32-&'
    psdir='${docdir}'
    reloc_libdir='lib'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    subdirs=''
    sysconfdir='${prefix}/etc'
    target='x86_64-w64-mingw32'
    target_alias='x86_64-w64-mingw32'
    target_cpu='x86_64'
    target_os='mingw32'
    target_vendor='w64'
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "mono"
    #define PACKAGE_TARNAME "mono"
    #define PACKAGE_VERSION "2.11.1"
    #define PACKAGE_STRING "mono 2.11.1"
    #define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
    #define PACKAGE_URL ""
    #define PACKAGE "mono"
    #define VERSION "2.11.1"
    #define HOST_WIN32 1
    #define DISABLE_PORTABILITY 1
    #define PLATFORM_NO_SYMLINKS 1
    #define TARGET_WIN32 1
    #define MINGW_CROSS_COMPILE 1
    configure: exit 77
    My makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    #DLAGENTS=('ftp::/usr/bin/wget -4 -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    # 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    # 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    #Curl as default DLAGENT
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    I am running a x64 arch with multilib and multilib-testing enabled. This is the first time I have encountered this error. Thank you in advance for all advice and suggestions.
    Edited: added makepkg.conf
    Last edited by mynameisneo (2012-06-13 19:04:09)

    In your config.log:
    /usr/bin/ld: cannot find -lmswsock
    /usr/bin/ld: cannot find -lws2_32
    /usr/bin/ld: cannot find -lole32
    /usr/bin/ld: cannot find -loleaut32
    /usr/bin/ld: cannot find -lpsapi
    /usr/bin/ld: cannot find -lversion
    /usr/bin/ld: cannot find -ladvapi32
    /usr/bin/ld: cannot find -lwinmm
    /usr/bin/ld: cannot find -lkernel32
    Try find these files which package provides!
    Edit: maybe package 'wine' provides this but as I see these libs are in /usr/lib/wine.
    Last edited by uzsolt (2012-06-13 18:07:08)

  • How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    Screenshot of how it looks when i try to show a ms access form inside a iframe:
    http://oi58.tinypic.com/2vj4ish.jpg

  • S10u 7 - smpatch in BE fails - patchadd: /dev/null: cannot create

    Solaris 10 5/09 s10x_u7wos_08 X86 with ZFS Root + Zones
    smpatch on non active BE with Zones fails:
    # smpatch update -b s10x_u7wos_08p1
    Ckecking the currently running boot enviornment ...
    Currently running boot enviornment name is [s10x_u7wos_08p].
    Checking the destination boot environment [s10x_u7wos_08p1] ...
    Installing patches from /var/sadm/spool...
    Copying the currently running BE into inactive BE [s10x_u7wos_08p1] ...
    (This process will take some time, please wait a moment.)
    Installing update(s) onto the inactive boot environment [s10x_u7wos_08p1] ...
    Failed to install patch 119901-07.
    Utility used to install the update failed with exit code 1.
    System has findroot enabled GRUBNo entry for BE <s10x_u7wos_08p1> in GRUB menuValidating the contents of the media </var/sadm/spool/119901-07.jar.dir>.The media contains
    1 software patches that can be added.All 1 patches will be added because you did not specify any specific patches to add.Mounting the BE <s10x_u7wos_08p1>.Adding patche
    s to the BE <s10x_u7wos_08p1>.Validating patches...Loading patches installed on the system...Done!Loading patches requested to install.Done!Checking patches that you spe
    cified for installation.Done!Approved patches will be installed in this order:119901-07 Preparing checklist for non-global zone check...Checking non-global zones...This
    patch passes the non-global zone check.119901-07 Summary for zones:Zone master-templateRejected patches:None.Patches that passed the dependency check:119901-07 Zone mast
    er-template-cloneRejected patches:None.Patches that passed the dependency check:119901-07 Patching global zoneAdding patches...Checking installed patches...Verifying suf
    ficient filesystem capacity (dry run method)...Installing patch packages...Patch 119901-07 has been successfully installed.See /a/var/sadm/patch/119901-07/log for detail
    sPatch packages installed: SUNWPython SUNWTiff SUNWTiff-devel SUNWgnome-img-viewer-shareDone!Patching non-global zones...Patching zone master-templateAdding patches.
    ..Checking installed patches...Patchadd is terminating.Done!Unmounting the BE <s10x_u7wos_08p1>.The patch add to the BE <s10x_u7wos_08p1> failed (with result code <8>).
    /usr/lib/patch/patchadd[4]: /dev/null: cannot create/usr/lib/patch/patchadd[6]: /dev/null: cannot createsort: insufficient available file descriptorsPatch 119901-07 fail
    ed in non-global zone SUNWlu-master-template.Patch 119901-07 wasn't installed in zones:master-template-clone
    Failed to install patch 119901-07.
    ALERT: Failed to install patch 119901-07.
    Any ideas?
    TIA.
    /phs
    Peter H. Seybold

    Post your question in the Developer Forums:
    http://discussions.apple.com/category.jspa?categoryID=164

  • [solved] Cannot compile conky-cli (compiler cannot create executables)

    I'm having what seems to be a pretty common problem, but I cannot solve it. I've searched google and the forums, and I'm sure the answer is very easy, but I'm just stuck.
    ==> Starting build()...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: in `/tmp/yaourt-tmp-heleos/aur-conky-cli/conky-cli/src/conky-1.7.1.1':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build conky-cli package.
    If someone could point me in the right direction that would be great
    Solved my own problem! Looks like it was a change I made to my makepkg.conf.... Does anyone have a CFLAGS that's safe for an i7?
    Last edited by heleos (2009-08-25 01:07:24)

    Do you (or someone else) have a pkgbuild that you would like to share? I'm in need of the ecj compiler, but didn't find a pkgbuild in aur (unlessed I missed it somehow)
    Kind regards,
    Simon

  • Error: C compiler cannot create executables [SOLVED!!!]

    hi,
    i am trying to make an evolution package that includes support for a palm pilot. i got the PKGBUILD file from somebody else and copied it to a directory. In that directory I then executed
    makepkg
    and tried to compile it. It goes pretty smooth until it complains about the following thing:
    error: C compiler cannot create executables
    i dont really know how to solve that problem and any help would be appriciated.
    thanks

    Try the basics...
    Create a file with the following text:
    #include <stdio.h>
    int main() {
    printf("Hello world");
    return 0;
    Save the file has hello.c and compile it with
    gcc -Wall hello.c -o hello
    and see if you get any errors... you might be having issues with packages like glibc or gcc that would maybe need to be reinstalled
    Normally, if it claims that gcc can't create exec's, you should see an error before that warning that would tell you what the problem is

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

  • Error /dev/rmt/0mn: cannot create when taking backup

    Hello Gurus
    I am getting the following error when I am trying to take SAP system backup on tape :-
    BR0278E Command output of 'LANG=C cd /oracle/SOL/sapbackup && echo .tape.hdr0 /usr/sap/SOL/SYS/exe/run/brtools -f detach LANG=C cpio -ovB > /dev/rmt/0mn':
    sh: /dev/rmt/0mn: cannot create
    BR0280I BRBACKUP time stamp: 2009-07-22 12.12.26
    BR0279E Return code from 'LANG=C cd /oracle/SOL/sapbackup && echo .tape.hdr0 /usr/sap/SOL/SYS/exe/run/brtools -f detach LANG=C cpio -ovB > /dev/rmt/0mn': 1
    BR0222E Copying /oracle/SOL/sapbackup/.tape.hdr0 to/from /dev/rmt/0mn failed due to previous errors
    BR0219E Initialization of volume SCRATCH in device /dev/rmt/0mn failed
    I checked the permissions of brtools as per SAP note 113747. I have set the correct permissions as per note.
    Server details :-SunOS cpdsol 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V440
    Please help mee
    Sarin

    Hello
    The permissions of brtools
    cpdsol:soladm 25% ls -al br*
    -rwsrwxr-x   1 orasol   sapsys   5758992 Jun 12 15:48 brarchive
    -rwsrwxr-x   1 orasol   sapsys   5920384 Jun 12 15:48 brbackup
    -rwsrwxr-x   1 orasol   sapsys   7786120 Jun 12 15:48 brconnect
    -rwxr-xr-x   1 soladm   sapsys   6281792 Jun 12 15:48 brrecover
    -rwxr-xr-x   1 soladm   sapsys   2482144 Jun 12 15:48 brrestore
    -rwxr-xr-x   1 soladm   sapsys   8107904 Jun 12 15:48 brspace
    -rwxr-xr-x   1 soladm   sapsys   3097984 Jun 12 15:48 brtools
    I also executed the command suggested by Joe
    cpdsol:soladm 29% grep tape_address /oracle/SOL/102_64/dbs/initSOL.sap | cat -ve
    tape_address = /dev/rmt/0mn$
    default: value of the tape_address parameter$
    tape_address_arch = /dev/rmt/0mn$
    tape_address_rew = /dev/rmt/0m$
    default: value of the tape_address_rew parameter$
    tape_address_rew_arch = /dev/rmt/0m$
    default: value of the tape_address_rew parameter$
    tape_address_ctl = /dev/...$
    default: value of the tape_address_rew_arch parameter$
    tape_address_ctl_arch = /dev/...$
    Does the $ at the end of the parameter have any significance ??
    Sarin

  • How to solve the problem "cannot create a datasink for **(datasource)"

    There is a forums that can send and receive RTP streams, and it can play on the client. Now I want to save it. I write the code according to the jmf2_0-guide, how ever it always throws the exception "cannot create a datasink for **(datasource)". The datasource is the RTP stream received from the server. Is there anything wrong with the data source or anything else?
    here is the code:
    public synchronized void update( ReceiveStreamEvent evt){
    if(evt instanceof NewReceiveStreamEvent){
    try{
    stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
    DataSource ds = stream.getDataSource();
    MediaLocator f = new MediaLocator("file://foo.au");
    Manager.createDataSink(ds, f);
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
    if (ctl != null) {
         System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
         } else {
         System.err.println(" - Recevied new RTP stream");
         if (participant == null) {
         System.err.println(" The sender of this stream had yet to be identified.");
         } else {
         System.err.println(" The stream comes from: " + participant.getCNAME());
         // create a player by passing datasource to the Media Manager
         Player p = javax.media.Manager.createPlayer(ds);
         if (p == null) {
         return;
         p.addControllerListener(this);
         p.realize();
         PlayerWindow pw = new PlayerWindow(p, stream);
         playerWindows.addElement(pw);
         // Notify intialize() that a new stream had arrived.
         synchronized (dataSync) {
         dataReceived = true;
         dataSync.notifyAll();
         } catch (Exception e) {
         System.err.println("NewReceiveStreamEvent exception " + e.getMessage());
         return;
    Does any one know how to solve this problem? How to save or how to create a datasink? Please help! Thank you!!

    The complete error message:
    NewReceiveStreamEvent exception Cannot find a DataSink for: com.sun.media.protocol.rtp.DataSource@4741d6

  • [Solved] error: C compiler cannot create executable

    I dont understand, I compiled many package in the past an now look like GCC is broken somewhere. I tried to reinstall base-devel and pacman to get a new makepkg.conf and the error is still there.
    Here is the output error:
    patching file daemon/gdm-server.c
    Hunk #1 succeeded at 131 (offset 4 lines).
    patching file data/greeter-autostart/gnome-settings-daemon.desktop.in.in
    patching file data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in
    patching file gui/simple-chooser/gdm-chooser-session.c
    patching file daemon/gdm-server.c
    Hunk #1 succeeded at 33 with fuzz 2.
    Hunk #2 succeeded at 156 (offset 4 lines).
    Hunk #3 succeeded at 402 (offset 4 lines).
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/tmp/yaourt-tmp-srivo/abs-gdm/src/gdm-2.32.0':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    Abandon...
    I tryed to build this one with yaourt -Sb but the same happen when I try to copy the content of the ABS tree in a folder and use makepkg instead.
    Last edited by srivo (2010-10-28 09:54:29)

    Here it is.  Thanks Wonder.
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by gdm configure 2.32.0, which was
    generated by GNU Autoconf 2.66. Invocation command line was
    $ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/gdm --localstatedir=/var --disable-static --with-at-spi-registryd-directory=/usr/lib/at-spi --disable-scrollkeeper
    ## Platform. ##
    hostname = hacker
    uname -m = i686
    uname -r = 2.6.35-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Wed Sep 29 07:17:20 UTC 2010
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = i686
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /bin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /opt/java/bin
    PATH: /opt/java/jre/bin
    PATH: /opt/NX/bin
    PATH: /usr/lib/perl5/vendor_perl/bin
    PATH: /usr/bin/perlbin/vendor
    PATH: /usr/lib/perl5/core_perl/bin
    ## Core tests. ##
    configure:2778: checking for a BSD-compatible install
    configure:2846: result: /bin/install -c
    configure:2857: checking whether build environment is sane
    configure:2907: result: yes
    configure:3048: checking for a thread-safe mkdir -p
    configure:3087: result: /bin/mkdir -p
    configure:3100: checking for gawk
    configure:3116: found /bin/gawk
    configure:3127: result: gawk
    configure:3138: checking whether make sets $(MAKE)
    configure:3160: result: yes
    configure:3253: checking whether to enable maintainer-specific portions of Makefiles
    configure:3262: result: no
    configure:3289: checking for style of include used by make
    configure:3317: result: GNU
    configure:3387: checking for gcc
    configure:3403: found /usr/bin/gcc
    configure:3414: result: gcc
    configure:3643: checking for C compiler version
    configure:3652: gcc --version >&5
    gcc (GCC) 4.5.1
    Copyright (C) 2010 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:3663: $? = 0
    configure:3652: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
    Target: i686-pc-linux-gnu
    Configured with: ../configure --prefix=/usr --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
    Thread model: posix
    gcc version 4.5.1 (GCC)
    configure:3663: $? = 0
    configure:3652: gcc -V >&5
    gcc: '-V' option must have argument
    configure:3663: $? = 1
    configure:3652: gcc -qversion >&5
    gcc: unrecognized option '-qversion'
    gcc: no input files
    configure:3663: $? = 1
    configure:3683: checking whether the C compiler works
    configure:3705: gcc -march=native -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
    (.text+0xc): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
    (.text+0x11): undefined reference to `__libc_csu_init'
    collect2: ld returned 1 exit status
    configure:3709: $? = 1
    configure:3747: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "gdm"
    | #define PACKAGE_TARNAME "gdm"
    | #define PACKAGE_VERSION "2.32.0"
    | #define PACKAGE_STRING "gdm 2.32.0"
    | #define PACKAGE_BUGREPORT "[url]http://bugzilla.gnome.org/enter_bug.cgi?product=gdm[/url]"
    | #define PACKAGE_URL ""
    | #define PACKAGE "gdm"
    | #define VERSION "2.32.0"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3752: error: in `/tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0':
    configure:3754: error: C compiler cannot create executables
    See `config.log' for more details
    ## Cache variables. ##
    ac_cv_env_APPLET_CFLAGS_set=
    ac_cv_env_APPLET_CFLAGS_value=
    ac_cv_env_APPLET_LIBS_set=
    ac_cv_env_APPLET_LIBS_value=
    ac_cv_env_CANBERRA_GTK_CFLAGS_set=
    ac_cv_env_CANBERRA_GTK_CFLAGS_value=
    ac_cv_env_CANBERRA_GTK_LIBS_set=
    ac_cv_env_CANBERRA_GTK_LIBS_value=
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=native -O2 -pipe'
    ac_cv_env_CHECK_CFLAGS_set=
    ac_cv_env_CHECK_CFLAGS_value=
    ac_cv_env_CHECK_LIBS_set=
    ac_cv_env_CHECK_LIBS_value=
    ac_cv_env_COMMON_CFLAGS_set=
    ac_cv_env_COMMON_CFLAGS_value=
    ac_cv_env_COMMON_LIBS_set=
    ac_cv_env_COMMON_LIBS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value='-march=native -O2 -pipe'
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_DAEMON_CFLAGS_set=
    ac_cv_env_DAEMON_CFLAGS_value=
    ac_cv_env_DAEMON_LIBS_set=
    ac_cv_env_DAEMON_LIBS_value=
    ac_cv_env_GCONF_CFLAGS_set=
    ac_cv_env_GCONF_CFLAGS_value=
    ac_cv_env_GCONF_LIBS_set=
    ac_cv_env_GCONF_LIBS_value=
    ac_cv_env_GTHREAD_CFLAGS_set=
    ac_cv_env_GTHREAD_CFLAGS_value=
    ac_cv_env_GTHREAD_LIBS_set=
    ac_cv_env_GTHREAD_LIBS_value=
    ac_cv_env_GTK_CFLAGS_set=
    ac_cv_env_GTK_CFLAGS_value=
    ac_cv_env_GTK_LIBS_set=
    ac_cv_env_GTK_LIBS_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_LIBXKLAVIER_CFLAGS_set=
    ac_cv_env_LIBXKLAVIER_CFLAGS_value=
    ac_cv_env_LIBXKLAVIER_LIBS_set=
    ac_cv_env_LIBXKLAVIER_LIBS_value=
    ac_cv_env_PKG_CONFIG_LIBDIR_set=
    ac_cv_env_PKG_CONFIG_LIBDIR_value=
    ac_cv_env_PKG_CONFIG_PATH_set=set
    ac_cv_env_PKG_CONFIG_PATH_value=/usr/lib/pkgconfig
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_SIMPLE_CHOOSER_CFLAGS_set=
    ac_cv_env_SIMPLE_CHOOSER_CFLAGS_value=
    ac_cv_env_SIMPLE_CHOOSER_LIBS_set=
    ac_cv_env_SIMPLE_CHOOSER_LIBS_value=
    ac_cv_env_SIMPLE_GREETER_CFLAGS_set=
    ac_cv_env_SIMPLE_GREETER_CFLAGS_value=
    ac_cv_env_SIMPLE_GREETER_LIBS_set=
    ac_cv_env_SIMPLE_GREETER_LIBS_value=
    ac_cv_env_UPOWER_CFLAGS_set=
    ac_cv_env_UPOWER_CFLAGS_value=
    ac_cv_env_UPOWER_LIBS_set=
    ac_cv_env_UPOWER_LIBS_value=
    ac_cv_env_XLIB_CFLAGS_set=
    ac_cv_env_XLIB_CFLAGS_value=
    ac_cv_env_XLIB_LIBS_set=
    ac_cv_env_XLIB_LIBS_value=
    ac_cv_env_XMKMF_set=
    ac_cv_env_XMKMF_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_path_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run aclocal-1.11'
    ALL_LINGUAS=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run tar'
    AM_BACKSLASH='\'
    AM_DEFAULT_VERBOSITY='0'
    APPLET_CFLAGS=''
    APPLET_LIBS=''
    AR=''
    AT_BINDIR=''
    AT_SPI_REGISTRYD_DIR=''
    AUTOCONF='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run autoconf'
    AUTOHEADER='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run autoheader'
    AUTOMAKE='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run automake-1.11'
    AWK='gawk'
    BINDIR=''
    CANBERRA_GTK_CFLAGS=''
    CANBERRA_GTK_LIBS=''
    CATALOGS=''
    CATOBJEXT=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS='-march=native -O2 -pipe'
    CHECK_CFLAGS=''
    CHECK_LIBS=''
    COMMON_CFLAGS=''
    COMMON_LIBS=''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXDEPMODE=''
    CXXFLAGS='-march=native -O2 -pipe'
    CYGPATH_W='echo'
    DAEMON_CFLAGS=''
    DAEMON_LIBS=''
    DATADIR=''
    DATADIRNAME=''
    DBUS_SYS_DIR=''
    DEBUG_CFLAGS=''
    DEFS=''
    DEPDIR='.deps'
    DISTCHECK_CONFIGURE_FLAGS=''
    DOC_USER_FORMATS=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_SK_FALSE=''
    ENABLE_SK_TRUE=''
    EXEEXT=''
    EXTRA_CHOOSER_LIBS=''
    EXTRA_DAEMON_LIBS=''
    EXTRA_DYNAMIC_LIBS=''
    EXTRA_FLEXI_LIBS=''
    EXTRA_GREETER_LIBS=''
    EXTRA_SETUP_LIBS=''
    EXTRA_SLAVE_LIBS=''
    EXTRA_TEST_LIBS=''
    EXTRA_XNEST_LIBS=''
    FGREP=''
    GCONFTOOL=''
    GCONF_CFLAGS=''
    GCONF_LIBS=''
    GCONF_SCHEMAS_INSTALL_FALSE=''
    GCONF_SCHEMAS_INSTALL_TRUE=''
    GCONF_SCHEMA_CONFIG_SOURCE=''
    GCONF_SCHEMA_FILE_DIR=''
    GDMCHOOSER=''
    GDM_CUSTOM_CONF=''
    GDM_DEFAULTS_CONF=''
    GDM_GROUPNAME=''
    GDM_OLD_CONF=''
    GDM_PID_FILE=''
    GDM_SCREENSHOT_DIR=''
    GDM_SESSION_DEFAULT_PATH=''
    GDM_USERNAME=''
    GDM_WORKING_DIR=''
    GDM_XAUTH_DIR=''
    GETTEXT_PACKAGE=''
    GLIB_GENMARSHAL=''
    GMOFILES=''
    GMSGFMT=''
    GREP=''
    GTHREAD_CFLAGS=''
    GTHREAD_LIBS=''
    GTK_CFLAGS=''
    GTK_LIBS=''
    HAVE_ADT_FALSE=''
    HAVE_ADT_TRUE=''
    HAVE_CHECK_FALSE=''
    HAVE_CHECK_TRUE=''
    HAVE_GNOME_DOC_UTILS_FALSE=''
    HAVE_GNOME_DOC_UTILS_TRUE=''
    HAVE_LIBAUDIT_FALSE=''
    HAVE_LIBAUDIT_TRUE=''
    HAVE_LIBXKLAVIER=''
    HAVE_LIBXKLAVIER_FALSE=''
    HAVE_LIBXKLAVIER_TRUE=''
    HAVE_PAM=''
    HELP_DIR=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INSTOBJEXT=''
    INTLLIBS=''
    INTLTOOL_CAVES_RULE=''
    INTLTOOL_DESKTOP_RULE=''
    INTLTOOL_DIRECTORY_RULE=''
    INTLTOOL_EXTRACT=''
    INTLTOOL_KBD_RULE=''
    INTLTOOL_KEYS_RULE=''
    INTLTOOL_MERGE=''
    INTLTOOL_OAF_RULE=''
    INTLTOOL_PERL=''
    INTLTOOL_POLICY_RULE=''
    INTLTOOL_PONG_RULE=''
    INTLTOOL_PROP_RULE=''
    INTLTOOL_SCHEMAS_RULE=''
    INTLTOOL_SERVER_RULE=''
    INTLTOOL_SERVICE_RULE=''
    INTLTOOL_SHEET_RULE=''
    INTLTOOL_SOUNDLIST_RULE=''
    INTLTOOL_THEME_RULE=''
    INTLTOOL_UI_RULE=''
    INTLTOOL_UPDATE=''
    INTLTOOL_XAM_RULE=''
    INTLTOOL_XML_NOMERGE_RULE=''
    INTLTOOL_XML_RULE=''
    LANG_CONFIG_FILE=''
    LD=''
    LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
    LIBDIR=''
    LIBEXECDIR=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIBWRAP_LIBS=''
    LIBXKLAVIER_CFLAGS=''
    LIBXKLAVIER_LIBS=''
    LIPO=''
    LN_S=''
    LOCALSTATEDIR=''
    LTLIBOBJS=''
    MAINT='#'
    MAINTAINER_MODE_FALSE=''
    MAINTAINER_MODE_TRUE='#'
    MAKEINFO='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/missing --run makeinfo'
    MKDIR_P='/bin/mkdir -p'
    MKDTEMP_MISSING_FALSE=''
    MKDTEMP_MISSING_TRUE=''
    MKINSTALLDIRS=''
    MSGFMT=''
    MSGFMT_OPTS=''
    MSGMERGE=''
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OMF_DIR=''
    OS_SOLARIS_FALSE=''
    OS_SOLARIS_TRUE=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='gdm'
    PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gdm'
    PACKAGE_NAME='gdm'
    PACKAGE_STRING='gdm 2.32.0'
    PACKAGE_TARNAME='gdm'
    PACKAGE_URL=''
    PACKAGE_VERSION='2.32.0'
    PAM_LIBS=''
    PAM_PREFIX=''
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    PKG_CONFIG_LIBDIR=''
    PKG_CONFIG_PATH='/usr/lib/pkgconfig'
    PLUGIN_LIBTOOL_FLAGS=''
    POFILES=''
    POSUB=''
    PO_IN_DATADIR_FALSE=''
    PO_IN_DATADIR_TRUE=''
    RANLIB=''
    RBAC_LIBS=''
    SBINDIR=''
    SED=''
    SET_MAKE=''
    SHELL='/bin/sh'
    SIMPLE_CHOOSER_CFLAGS=''
    SIMPLE_CHOOSER_LIBS=''
    SIMPLE_GREETER_CFLAGS=''
    SIMPLE_GREETER_LIBS=''
    SOUND_PROGRAM=''
    STRIP=''
    SYSCONFDIR=''
    UPOWER=''
    UPOWER_CFLAGS=''
    UPOWER_LIBS=''
    USE_NLS=''
    VERSION='2.32.0'
    WARN_CFLAGS=''
    WITH_CONSOLE_KIT=''
    WITH_CONSOLE_KIT_FALSE=''
    WITH_CONSOLE_KIT_TRUE=''
    XDMCP_LIBS=''
    XDMCP_SUPPORT_FALSE=''
    XDMCP_SUPPORT_TRUE=''
    XEVIE_OPTION=''
    XGETTEXT=''
    XINERAMA_LIBS=''
    XLIB_CFLAGS=''
    XLIB_LIBS=''
    XMKMF=''
    XSESSION_SHELL=''
    X_CFLAGS=''
    X_CONFIG_OPTIONS=''
    X_EXTRA_LIBS=''
    X_LIBS=''
    X_PATH=''
    X_PRE_LIBS=''
    X_SERVER=''
    X_SERVER_PATH=''
    X_XNEST_CMD=''
    X_XNEST_CONFIG_OPTIONS=''
    X_XNEST_UNSCALED_FONTPATH=''
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE=''
    am__fastdepCXX_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    authdir=''
    bindir='${exec_prefix}/bin'
    build=''
    build_alias=''
    build_cpu=''
    build_os=''
    build_vendor=''
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    dmconfdir=''
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    gdmconfdir=''
    gdmlocaledir=''
    host=''
    host_alias=''
    host_cpu=''
    host_os=''
    host_vendor=''
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /tmp/yaourt-tmp-srivoallan/abs-gdm/src/gdm-2.32.0/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='/usr/lib/gdm'
    localedir='${datarootdir}/locale'
    localstatedir='/var'
    logdir=''
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    pixmapdir=''
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='/etc'
    sysconfsubdir=''
    target_alias=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "gdm"
    #define PACKAGE_TARNAME "gdm"
    #define PACKAGE_VERSION "2.32.0"
    #define PACKAGE_STRING "gdm 2.32.0"
    #define PACKAGE_BUGREPORT "[url]http://bugzilla.gnome.org/enter_bug.cgi?product=gdm[/url]"
    #define PACKAGE_URL ""
    #define PACKAGE "gdm"
    #define VERSION "2.32.0"
    configure: exit 77
    Last edited by srivo (2010-10-27 13:28:27)

  • [Solved]Lightning for Thunderbird:C compiler cannot create executables

    Thanks very much in advance.
    I am trying to install Lightning in Thunderbird but no luck so far.
    The xpi file from their website is not for 64 bits.
    The link for the 64 bits version doesn't work
    I've tried with AUR and yaourt but both return the following error (look at the end):
    ==> Making package: lightning 0.9-2 x86_64 (Fri Oct 2 13:58:20 BST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Installing missing dependencies...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): zip-3.0-1
    Total Download Size: 0.26 MB
    Total Installed Size: 0.57 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    zip-3.0-1-x86_64 266.2K 389.5K/s 00:00:01 [#####################] 100%
    checking package integrity...
    (1/1) checking for file conflicts [#####################] 100%
    (1/1) installing zip [#####################] 100%
    ==> Retrieving Sources...
    -> Downloading lightning-sunbird-0.9-source.tar.bz2...
    --2009-10-02 13:58:32-- http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.9/source/lightning-sunbird-0.9-source.tar.bz2
    Resolving releases.mozilla.org... 156.56.247.196, 204.152.184.113, 149.20.20.5, ...
    Connecting to releases.mozilla.org|156.56.247.196|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 43121977 (41M) [application/x-tar]
    Saving to: `lightning-sunbird-0.9-source.tar.bz2.part'
    100%[======================================>] 43,121,977 412K/s in 1m 43s
    2009-10-02 14:00:15 (407 KB/s) - `lightning-sunbird-0.9-source.tar.bz2.part' saved [43121977/43121977]
    -> Found lightning-sunbird-0.9-locale.diff in build dir
    -> Found lightning-gcc44.diff in build dir
    -> Found mozconfig in build dir
    ==> Validating source files with md5sums...
    lightning-sunbird-0.9-source.tar.bz2 ... Passed
    lightning-sunbird-0.9-locale.diff ... Passed
    lightning-gcc44.diff ... Passed
    mozconfig ... Passed
    ==> Extracting Sources...
    -> Extracting lightning-sunbird-0.9-source.tar.bz2 with bsdtar
    ==> Entering fakeroot environment...
    ==> Starting build()...
    patching file calendar/sunbird/app/mozilla.in
    patching file toolkit/xre/nsAppRunner.cpp
    Adding client.mk options from /home/rafael/Builds/lightning/src/mozconfig:
    MOZ_CO_PROJECT=calendar
    BUILD_OFFICIAL=1
    MOZILLA_OFFICIAL=1
    make[1]: Entering directory `/home/rafael/Builds/lightning/src/mozilla'
    cd /home/rafael/Builds/lightning/src/mozilla/lightning-obj
    /home/rafael/Builds/lightning/src/mozilla/configure
    Adding configure options from /home/rafael/Builds/lightning/src/mozconfig:
    --enable-application=calendar
    --prefix=/usr
    --enable-extensions=lightning
    --enable-default-toolkit=gtk2
    --enable-system-cairo
    --enable-optimize
    --disable-debug
    --disable-tests
    --disable-installer
    --with-default-mozilla-five-home=/usr/lib/thunderbird-2.0
    --with-system-nss
    --with-system-nspr
    --with-system-jpeg
    --with-system-zlib
    --with-system-png
    creating cache ./config.cache
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking build system type... x86_64-unknown-linux-gnu
    checking for gawk... gawk
    checking for nsinstall... no
    checking for gcc... gcc
    checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed-lXrender -lX11 ) works... no
    configure: error: installation or configuration problem: C compiler cannot create executables.
    *** Fix above errors and then restart with "make -f client.mk build"
    make[1]: *** [configure] Error 1
    make[1]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla'
    make: *** [/home/rafael/Builds/lightning/src/mozilla/lightning-obj/Makefile] Error 2
    ==> ERROR: Build Failed.
    Aborting..
    I've searched in forums and on the Internet but I am a newby and I have no idea how to fix the c compiler...
    Thanks again
    Last edited by rafaelgp (2009-10-02 17:34:53)

    Very impressive!  Thanks for such a fast response.
    But I'm afraid it still doesn't work. After compiling for 10 minutes it couldn't finish:
    ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::Destroy()':
    nsCanvasRenderingContext2D.cpp:(.text+0x51e2): undefined reference to `XFreePixmap'
    ../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::SetDimensions(int, int)':
    nsCanvasRenderingContext2D.cpp:(.text+0x56f6): undefined reference to `XRenderFindStandardFormat'
    nsCanvasRenderingContext2D.cpp:(.text+0x571e): undefined reference to `XListPixmapFormats'
    nsCanvasRenderingContext2D.cpp:(.text+0x575e): undefined reference to `XFree'
    nsCanvasRenderingContext2D.cpp:(.text+0x5796): undefined reference to `XCreatePixmap'
    collect2: ld returned 1 exit status
    make[4]: *** [libgklayout.so] Error 1
    make[4]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj/layout/build'
    make[3]: *** [libs] Error 2
    make[3]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj/layout'
    make[2]: *** [tier_9] Error 2
    make[2]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/home/rafael/Builds/lightning/src/mozilla/lightning-obj'
    make: *** [build] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Hope this helps.

Maybe you are looking for