buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/daq3: fix build without C++
@ 2022-09-24 21:06 Fabrice Fontaine
  2022-09-24 21:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-09-24 21:06 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Fix the following build failure without C++ raised since bump to
version 3.0.9 in commit c05fe1d621c7c5147f687b39f61988918efec566 and
https://github.com/snort3/libdaq/commit/c2ae4668fb4c8f53523a47f93a120c62364f3d02:

libtool: compile:  no -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -Wall -Wmissing-declarations -Wpointer-arith -Wcast-align -Wcast-qual -Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -Wextra -Wsign-compare -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -I../api -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -c gwlb/daq_gwlb.cc  -o gwlb/.libs/daq_gwlb_la-daq_gwlb.o
../libtool: line 1763: no: command not found

Fixes:
 - http://autobuild.buildroot.org/results/48b4673f46c9065e97e95872f9aa947c4f3fc21b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/daq3/daq3.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/daq3/daq3.mk b/package/daq3/daq3.mk
index 6ecd1134c7..bab957e052 100644
--- a/package/daq3/daq3.mk
+++ b/package/daq3/daq3.mk
@@ -13,6 +13,12 @@ DAQ3_DEPENDENCIES = host-pkgconf
 # From git
 DAQ3_AUTORECONF = YES
 
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+DAQ3_CONF_OPTS += --enable-gwlb-module
+else
+DAQ3_CONF_OPTS += --disable-gwlb-module
+endif
+
 ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y)
 DAQ3_DEPENDENCIES += libnetfilter_queue
 DAQ3_CONF_OPTS += --enable-nfq-module
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/daq3: fix build without C++
  2022-09-24 21:06 [Buildroot] [PATCH 1/1] package/daq3: fix build without C++ Fabrice Fontaine
@ 2022-09-24 21:42 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2022-09-24 21:42 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

On Sat, 24 Sep 2022 23:06:21 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure without C++ raised since bump to
> version 3.0.9 in commit c05fe1d621c7c5147f687b39f61988918efec566 and
> https://github.com/snort3/libdaq/commit/c2ae4668fb4c8f53523a47f93a120c62364f3d02:
> 
> libtool: compile:  no -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -Wall -Wmissing-declarations -Wpointer-arith -Wcast-align -Wcast-qual -Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -Wextra -Wsign-compare -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -I../api -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -c gwlb/daq_gwlb.cc  -o gwlb/.libs/daq_gwlb_la-daq_gwlb.o
> ../libtool: line 1763: no: command not found
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/48b4673f46c9065e97e95872f9aa947c4f3fc21b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/daq3/daq3.mk | 6 ++++++
>  1 file changed, 6 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-24 21:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24 21:06 [Buildroot] [PATCH 1/1] package/daq3: fix build without C++ Fabrice Fontaine
2022-09-24 21:42 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).