public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <mareklindner@neomailbox.ch>
To: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH v2] batman-adv: B.A.T.M.A.N. V - implement hard-iface init function
Date: Tue, 17 May 2016 17:06:24 +0800	[thread overview]
Message-ID: <2942703.MT5BSIy3gc@voltaire> (raw)
In-Reply-To: <1463087478-7101-1-git-send-email-a@unstable.cc>

[-- Attachment #1: Type: text/plain, Size: 3160 bytes --]

On Friday, May 13, 2016 05:11:18 Antonio Quartulli wrote:
> Changes from v1:
> - move bat_algo.h include line to the right location

$ make CONFIG_BATMAN_ADV_BATMAN_V=y
/home/marek/batman-adv/gen-compat-autoconf.sh /home/marek/batman-adv/compat-autoconf.h
make -C /lib/modules/4.4.0-1-amd64/build M=/home/marek/batman-adv/net/batman-adv CONFIG_BATMAN_ADV=m CONFIG_BATMAN_ADV_DEBUG=n CONFIG_BATMAN_ADV_BLA=y CONFIG_BATMAN_ADV_DAT=y CONFIG_BATMAN_ADV_NC=n CONFIG_BATMAN_ADV_MCAST=y CONFIG_BATMAN_ADV_BATMAN_V=y INSTALL_MOD_DIR=updates/net/batman-adv/       modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
  CC [M]  /home/marek/batman-adv/net/batman-adv/../../compat-sources/net/core/skbuff.o
  CC [M]  /home/marek/batman-adv/net/batman-adv/../../compat-sources/net/ipv4/igmp.o
  CC [M]  /home/marek/batman-adv/net/batman-adv/../../compat-sources/net/ipv6/mcast_snoop.o
  CC [M]  /home/marek/batman-adv/net/batman-adv/bat_iv_ogm.o
In file included from /home/marek/batman-adv/net/batman-adv/bat_iv_ogm.c:18:0:
/home/marek/batman-adv/net/batman-adv/bat_algo.h:28:34: warning: ‘struct batadv_hard_iface’ declared inside parameter list
 void batadv_v_hardif_init(struct batadv_hard_iface *hardif);
                                  ^
/home/marek/batman-adv/net/batman-adv/bat_algo.h:28:34: warning: its scope is only this definition or declaration, which is probably not what you want
  CC [M]  /home/marek/batman-adv/net/batman-adv/bat_v.o
In file included from /home/marek/batman-adv/net/batman-adv/bat_v.c:18:0:
/home/marek/batman-adv/net/batman-adv/bat_algo.h:28:34: warning: ‘struct batadv_hard_iface’ declared inside parameter list
 void batadv_v_hardif_init(struct batadv_hard_iface *hardif);
                                  ^
/home/marek/batman-adv/net/batman-adv/bat_algo.h:28:34: warning: its scope is only this definition or declaration, which is probably not what you want
/home/marek/batman-adv/net/batman-adv/bat_v.c:340:6: error: conflicting types for ‘batadv_v_hardif_init’
 void batadv_v_hardif_init(struct batadv_hard_iface *hard_iface)
      ^
In file included from /home/marek/batman-adv/net/batman-adv/bat_v.c:18:0:
/home/marek/batman-adv/net/batman-adv/bat_algo.h:28:6: note: previous declaration of ‘batadv_v_hardif_init’ was here
 void batadv_v_hardif_init(struct batadv_hard_iface *hardif);
      ^
/usr/src/linux-headers-4.4.0-1-common/scripts/Makefile.build:263: recipe for target '/home/marek/batman-adv/net/batman-adv/bat_v.o' failed
make[4]: *** [/home/marek/batman-adv/net/batman-adv/bat_v.o] Error 1
/usr/src/linux-headers-4.4.0-1-common/Makefile:1401: recipe for target '_module_/home/marek/batman-adv/net/batman-adv' failed
make[3]: *** [_module_/home/marek/batman-adv/net/batman-adv] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-1-amd64'
Makefile:72: recipe for target 'all' failed
make: *** [all] Error 2

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2016-05-17  9:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12 21:11 [B.A.T.M.A.N.] [PATCH v2] batman-adv: B.A.T.M.A.N. V - implement hard-iface init function Antonio Quartulli
2016-05-17  9:06 ` Marek Lindner [this message]
2016-05-17  9:59   ` Antonio Quartulli

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=2942703.MT5BSIy3gc@voltaire \
    --to=mareklindner@neomailbox.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.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