b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* Re: [B.A.T.M.A.N.] Compiling Batman-adv on Kernel 4.4+
       [not found] <CA+HVqbtX5OX01kGjA7yhYnTFM18kN2ZetvKtkuK3Ptoxrtkp9A@mail.gmail.com>
@ 2016-01-06 19:05 ` Sven Eckelmann
  2016-01-06 19:52   ` jens
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2016-01-06 19:05 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: fred veldini

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

On Wednesday 06 January 2016 12:19:04 fred veldini wrote:
> I sent an email to the list a while ago, not sure if anyone received the
> message.

Usually I ignore mails which are send to me directly about batman-adv without 
Cc'ing the mailing list. But I trust that you (at least) tried to send a mail.

But I never saw your mail in the queue of pending mails (maybe Marek did). 
Please send your mails next time as plain text and not with html content.

At least I could find that your mail bounced on Jan 4 17:17:17. So you should 
have been informed that it was rejected (for whatever reason).

> I'm running into an issue compiling the latest batman-adv code on the
> latest kernel,

[...]
> /mnt/builds/batman-Jan-5-2016/batman-adv-6219a1b/net/batman-adv/hard-interfa
> ce.c:469:2: error: too few arguments to function
> 'netdev_master_upper_dev_link' In file included from
> /mnt/builds/batman-Jan-5-2016/batman-adv-6219a1b/compat-include/linux/netdev
> ice.h:25:0, from include/linux/etherdevice.h:26,
>                  from

You don't use an official kernel and the compat layer of batman-adv can only 
support major releases or Linus' development tree. But you can try to change 
the netdev_master_upper_dev_link compat layer under compat-
include/linux/netdevice.h. Try replacing all "KERNEL_VERSION(4, 5, 0)" with 
"KERNEL_VERSION(4, 4, 0)" or whatever the LINUX_VERSION_CODE of your 
development kernel is.

I guess this is causing the problem because you use changes which are for 
Linux 4.5 but your kernel still uses the LINUX_VERSION_CODE for Linux 4.4

Kind regards,
	Sven

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

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

* Re: [B.A.T.M.A.N.] Compiling Batman-adv on Kernel 4.4+
  2016-01-06 19:05 ` [B.A.T.M.A.N.] Compiling Batman-adv on Kernel 4.4+ Sven Eckelmann
@ 2016-01-06 19:52   ` jens
  0 siblings, 0 replies; 2+ messages in thread
From: jens @ 2016-01-06 19:52 UTC (permalink / raw)
  To: b.a.t.m.a.n, fred.veldini

guess its something similar as described here ..
https://cccfr.de/wiki/freifunk:batman-adv?s[]=batman#ab_kernel_317-rc1
the call of your described function needs more arguments, which ones
that are .. you have to find out

On 06.01.2016 20:05, Sven Eckelmann wrote:
> On Wednesday 06 January 2016 12:19:04 fred veldini wrote:
>> I sent an email to the list a while ago, not sure if anyone received the
>> message.
> Usually I ignore mails which are send to me directly about batman-adv without 
> Cc'ing the mailing list. But I trust that you (at least) tried to send a mail.
>
> But I never saw your mail in the queue of pending mails (maybe Marek did). 
> Please send your mails next time as plain text and not with html content.
>
> At least I could find that your mail bounced on Jan 4 17:17:17. So you should 
> have been informed that it was rejected (for whatever reason).
>
>> I'm running into an issue compiling the latest batman-adv code on the
>> latest kernel,
> [...]
>> /mnt/builds/batman-Jan-5-2016/batman-adv-6219a1b/net/batman-adv/hard-interfa
>> ce.c:469:2: error: too few arguments to function
>> 'netdev_master_upper_dev_link' In file included from
>> /mnt/builds/batman-Jan-5-2016/batman-adv-6219a1b/compat-include/linux/netdev
>> ice.h:25:0, from include/linux/etherdevice.h:26,
>>                  from
> You don't use an official kernel and the compat layer of batman-adv can only 
> support major releases or Linus' development tree. But you can try to change 
> the netdev_master_upper_dev_link compat layer under compat-
> include/linux/netdevice.h. Try replacing all "KERNEL_VERSION(4, 5, 0)" with 
> "KERNEL_VERSION(4, 4, 0)" or whatever the LINUX_VERSION_CODE of your 
> development kernel is.
>
> I guess this is causing the problem because you use changes which are for 
> Linux 4.5 but your kernel still uses the LINUX_VERSION_CODE for Linux 4.4
>
> Kind regards,
> 	Sven

-- 
make the world nicer, please use PGP encryption


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

end of thread, other threads:[~2016-01-06 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CA+HVqbtX5OX01kGjA7yhYnTFM18kN2ZetvKtkuK3Ptoxrtkp9A@mail.gmail.com>
2016-01-06 19:05 ` [B.A.T.M.A.N.] Compiling Batman-adv on Kernel 4.4+ Sven Eckelmann
2016-01-06 19:52   ` jens

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).