Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Building, daq, failed
Date: Sun, 14 Sep 2014 07:10:34
Message-Id: 20140914071020.GA3828@solfire
1 Hi,
2
3 The command emerge "=daq-daq-2.0.2" failed with:
4 >>> Configuring source in /var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2 ...
5 * econf: updating daq-2.0.2/config.guess with /usr/share/gnuconfig/config.guess
6 * econf: updating daq-2.0.2/config.sub with /usr/share/gnuconfig/config.sub
7 ./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
8 configure: loading site script /usr/share/config.site
9 checking for a BSD-compatible install... /usr/bin/install -c
10 checking whether build environment is sane... yes
11 checking for a thread-safe mkdir -p... /bin/mkdir -p
12 checking for gawk... gawk
13 checking whether make sets $(MAKE)... yes
14 checking whether make supports nested variables... yes
15 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
16 checking whether the C compiler works... no
17 configure: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
18 configure: error: C compiler cannot create executables
19 See `config.log' for more details
20
21 The relevant part of the config.log shows:
22 configure:3355: $? = 0
23 configure:3344: x86_64-pc-linux-gnu-gcc -v >&5
24 Using built-in specs.
25 COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/x86_64-pc-linux-gnu-gcc
26 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper
27 Target: x86_64-pc-linux-gnu
28 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-
29 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
30 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
31 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 -
32 -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
33 Thread model: posix
34 gcc version 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1)
35 configure:3355: $? = 0
36 configure:3344: x86_64-pc-linux-gnu-gcc -V >&5
37 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
38 x86_64-pc-linux-gnu-gcc: fatal error: no input files
39 compilation terminated.
40 configure:3355: $? = 1
41 configure:3344: x86_64-pc-linux-gnu-gcc -qversion >&5
42 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
43 x86_64-pc-linux-gnu-gcc: fatal error: no input files
44 compilation terminated.
45 configure:3355: $? = 1
46 configure:3375: checking whether the C compiler works
47 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
48 conftest.c >&5
49 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine'
50 configure:3401: $? = 1
51 configure:3439: result: no
52 configure: failed program was:
53 | /* confdefs.h */
54 | #define PACKAGE_NAME "daq"
55 | #define PACKAGE_TARNAME "daq"
56 | #define PACKAGE_VERSION "2.0.2"
57 | #define PACKAGE_STRING "daq 2.0.2"
58 | #define PACKAGE_BUGREPORT "snort-team@××××××××××.com"
59 | #define PACKAGE_URL ""
60 | #define PACKAGE "daq"
61 | #define VERSION "2.0.2"
62 | /* end confdefs.h. */
63 |
64 | int
65 | main ()
66 | {
67 |
68 | ;
69 | return 0;
70 | }
71 configure:3444: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2':
72 configure:3446: error: C compiler cannot create executables
73 See `config.log' for more details
74
75 To check I reemerged 'less' and this compiles fine. So, gcc works fine
76 so far.
77
78 What's wrong here? Wrong gcc-version? daq not compatible with gcc (or
79 vice versa)?
80
81 Thank you very much in advance for any help!
82 Best regards,
83 mcc

Replies

Subject Author
Re: [gentoo-user] Building, daq, failed Alan McKinnon <alan.mckinnon@×××××.com>