Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 10861] New: Package batman_adv Makefile is missing include header directory
@ 2018-03-15  8:23 bugzilla at busybox.net
  2018-06-06 13:24 ` [Buildroot] [Bug 10861] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2018-03-15  8:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=10861

            Bug ID: 10861
              Host: ARM
             Build: X86_64
           Summary: Package batman_adv Makefile is missing include header
                    directory
           Product: buildroot
           Version: 2018.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: miltos.koutsokeras at iccs.gr
                CC: buildroot at uclibc.org
  Target Milestone: ---

Created attachment 7511
  --> https://bugs.busybox.net/attachment.cgi?id=7511&action=edit
batman_adv package Makefile fix

Bug found in package/batman-adv/batman-adv.mk leading to compilation error due
to missing headers:

fatal error: uapi/linux/batman_adv.h: No such file or directory
 #include <uapi/linux/batman_adv.h>

There is an extra include directory (-I$(PWD)/include/) added in batman_adv
source Makefile in commit:

https://git.open-mesh.org/batman-adv.git/blobdiff/14adbd701dec0717606bff4f0c8c084827bf4735..2b20eb572f271edca0d0fd1abd5350876c315d28:/Makefile

but the extra directory is missing from the Buildroot
package/batman-adv/batman-adv.mk:

BATMAN_ADV_CFLAGS = \
        -I$(@D)/compat-include/ \
        -include $(@D)/compat.h \
        -DBATADV_SOURCE_VERSION=\"\\\"$(BATMAN_ADV_VERSION)\\\"\"

Patch attached fixes the issue and the build finishes properly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2019-08-15 21:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15  8:23 [Buildroot] [Bug 10861] New: Package batman_adv Makefile is missing include header directory bugzilla at busybox.net
2018-06-06 13:24 ` [Buildroot] [Bug 10861] " bugzilla at busybox.net
2018-06-12  7:20 ` bugzilla at busybox.net
2018-07-25  8:58 ` bugzilla at busybox.net
2018-07-25  9:00 ` bugzilla at busybox.net
2018-07-25  9:04 ` bugzilla at busybox.net
2019-08-15 21:33 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox