* [Buildroot] [Bug 10846] error in compiling gnutls
2018-03-06 16:50 [Buildroot] [Bug 10846] New: error in compiling gnutls bugzilla at busybox.net
@ 2018-03-06 21:19 ` bugzilla at busybox.net
2018-03-17 17:05 ` bugzilla at busybox.net
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-03-06 21:19 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10846
--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
The cited config.log fragment is unrelated to the shown error (1), please
try:
$ make clean
$ make
And if the error shows up again please provide your .config/defconfig file (see
http://nightly.buildroot.org/manual.html#reporting-bugs) and/or the complete
build/gnutls-3.5.17/config.log file...
(1) not all errors in config.log lead to an configure error, there are
many/hundreds of tests in there...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 10846] error in compiling gnutls
2018-03-06 16:50 [Buildroot] [Bug 10846] New: error in compiling gnutls bugzilla at busybox.net
2018-03-06 21:19 ` [Buildroot] [Bug 10846] " bugzilla at busybox.net
@ 2018-03-17 17:05 ` bugzilla at busybox.net
2018-03-17 17:07 ` bugzilla at busybox.net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-03-17 17:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10846
--- Comment #2 from tinotom at gmail.com ---
Created attachment 7516
--> https://bugs.busybox.net/attachment.cgi?id=7516&action=edit
buildroot .config
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 10846] error in compiling gnutls
2018-03-06 16:50 [Buildroot] [Bug 10846] New: error in compiling gnutls bugzilla at busybox.net
2018-03-06 21:19 ` [Buildroot] [Bug 10846] " bugzilla at busybox.net
2018-03-17 17:05 ` bugzilla at busybox.net
@ 2018-03-17 17:07 ` bugzilla at busybox.net
2018-03-17 17:09 ` bugzilla at busybox.net
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-03-17 17:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10846
--- Comment #3 from tinotom at gmail.com ---
Created attachment 7521
--> https://bugs.busybox.net/attachment.cgi?id=7521&action=edit
linux-4.15 .config
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 10846] error in compiling gnutls
2018-03-06 16:50 [Buildroot] [Bug 10846] New: error in compiling gnutls bugzilla at busybox.net
` (2 preceding siblings ...)
2018-03-17 17:07 ` bugzilla at busybox.net
@ 2018-03-17 17:09 ` bugzilla at busybox.net
2018-03-17 17:11 ` bugzilla at busybox.net
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-03-17 17:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10846
--- Comment #4 from tinotom at gmail.com ---
Created attachment 7526
--> https://bugs.busybox.net/attachment.cgi?id=7526&action=edit
gnutls config.log
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 10846] error in compiling gnutls
2018-03-06 16:50 [Buildroot] [Bug 10846] New: error in compiling gnutls bugzilla at busybox.net
` (3 preceding siblings ...)
2018-03-17 17:09 ` bugzilla at busybox.net
@ 2018-03-17 17:11 ` bugzilla at busybox.net
2018-03-21 19:52 ` bugzilla at busybox.net
2018-03-23 14:55 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-03-17 17:11 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10846
--- Comment #5 from tinotom at gmail.com ---
Hi Peter, thank you for looking into this.
I tried to install buildroot on another machine, but the error is the same.
Perhaps a better spot can be:
[...]
configure:49488: result: cpp
configure:49508: cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64
-I/storage/santo/buildroot/buildroot-2018.02/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include
conftest.cpp
In file included from
/storage/santo/buildroot/buildroot-2018.02/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/features.h:447:0,
from
/storage/santo/buildroot/buildroot-2018.02/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/libc-header-start.h:33,
from
/storage/santo/buildroot/buildroot-2018.02/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/limits.h:26,
from conftest.cpp:683:
/storage/santo/buildroot/buildroot-2018.02/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/gnu/stubs.h:7:11:
fatal error: gnu/stubs-soft.h: No such file or directory
# include <gnu/stubs-soft.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:49508: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuTLS"
| #define PACKAGE_TARNAME "gnutls"
[...]
. Anyway I've attached the buildroot .config, the linux kernel .config and the
config.log.
Thank you,
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 10846] error in compiling gnutls
2018-03-06 16:50 [Buildroot] [Bug 10846] New: error in compiling gnutls bugzilla at busybox.net
` (4 preceding siblings ...)
2018-03-17 17:11 ` bugzilla at busybox.net
@ 2018-03-21 19:52 ` bugzilla at busybox.net
2018-03-23 14:55 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-03-21 19:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10846
--- Comment #6 from Peter Seiderer <ps.report@gmx.net> ---
Yes, this config.log location was the real failure reason.
The hints to the solution are:
- checking how to run the C++ preprocessor... cpp
- configure:49488: result: cpp
Your toolchain is missing C++ support (and the gnutls packages is missing
the C++ dependency), the following buildroot config change fixed the
failure for me:
$ diff -u .config.old .config
@@ -299,7 +300,7 @@
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
BR2_GCC_VERSION="6.4.0"
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
-# BR2_TOOLCHAIN_BUILDROOT_CXX is not set
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
# BR2_TOOLCHAIN_BUILDROOT_FORTRAN is not set
# BR2_GCC_ENABLE_LTO is not set
# BR2_GCC_ENABLE_OPENMP is not set
Regards,
Peter
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 10846] error in compiling gnutls
2018-03-06 16:50 [Buildroot] [Bug 10846] New: error in compiling gnutls bugzilla at busybox.net
` (5 preceding siblings ...)
2018-03-21 19:52 ` bugzilla at busybox.net
@ 2018-03-23 14:55 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-03-23 14:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10846
tinotom at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from tinotom at gmail.com ---
Hi Peter,
thank you very much, your solution works and I've been able to generate the
image.
Thank you very much again for your time.
Best,
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread