public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: meino.cramer@gmx.de
To: Gentoo <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Building, daq, failed
Date: Sun, 14 Sep 2014 09:10:20 +0200	[thread overview]
Message-ID: <20140914071020.GA3828@solfire> (raw)

Hi,

The command emerge "=daq-daq-2.0.2" failed with:
>>> Configuring source in /var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2 ...
 * econf: updating daq-2.0.2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating daq-2.0.2/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --enable-ipv6 --enable-pcap-module --enable-afpacket-module --enable-dump-module --disable-nfq-module --disable-ipq-module --disable-static --disable-ipfw-module --disable-bundled-modules
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/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 make supports nested variables... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

The relevant part of the config.log shows:
configure:3355: $? = 0
configure:3344: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.8.2/work/gcc-4.8.2/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-
gnu/4.8.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-p
c-linux-gnu/4.8.2/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/python --enable-languages=c,c++,objc,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-incl
uded-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.2 p1.3r1, pie-0.5.8r1' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu -
-enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog
Thread model: posix
gcc version 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1) 
configure:3355: $? = 0
configure:3344: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3344: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3355: $? = 1
configure:3375: checking whether the C compiler works
configure:3397: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -msse3 -ggdb -combine -ffast-math -fopenmp -fprefetch-loop-arrays -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program -mtune=amdfam10 -O3  -Wl,-O1 -Wl,--as-needed 
conftest.c  >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine'
configure:3401: $? = 1
configure:3439: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "daq"
| #define PACKAGE_TARNAME "daq"
| #define PACKAGE_VERSION "2.0.2"
| #define PACKAGE_STRING "daq 2.0.2"
| #define PACKAGE_BUGREPORT "snort-team@sourcefire.com"
| #define PACKAGE_URL ""
| #define PACKAGE "daq"
| #define VERSION "2.0.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3444: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
configure:3446: error: C compiler cannot create executables
See `config.log' for more details

To check I reemerged 'less' and this compiles fine. So, gcc works fine
so far.

What's wrong here? Wrong gcc-version? daq not compatible with gcc (or
vice versa)?

Thank you very much in advance for any help!
Best regards,
mcc





             reply	other threads:[~2014-09-14  7:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-14  7:10 meino.cramer [this message]
2014-09-14  8:08 ` [gentoo-user] Building, daq, failed Alan McKinnon
2014-09-14  8:29   ` meino.cramer
2014-09-14 15:22     ` Alan McKinnon
2014-09-14 16:12     ` Neil Bothwick
2014-09-14 16:31       ` meino.cramer
2014-09-14 20:59         ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140914071020.GA3828@solfire \
    --to=meino.cramer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox