Re: [PATCH wpan-tools] build: avoid redefinition errors with libnl >= 3.2.27

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 09/11/15 21:19, Alexander Aring wrote:
Hi,

On Mon, Nov 09, 2015 at 07:10:42PM +0100, Stefan Schmidt wrote:
 From 3.2.17 onwards we have nla for s8, s16, etc defined directly in libnl.
If we keep including this file anyway we run into redefinition errors. Better
include use our own only for earlier versions.

Happened to me on Fedora 22 after my last update.

Signed-off-by: Stefan Schmidt <stefan@xxxxxxxxxxxxxxx>
Acked-by: Alexander Aring <alex.aring@xxxxxxxxx>

Thanks. Pushed.

I wonder how could that be when I do #ifndef on each declaration. So I
was in the hope to avoid such issues....


Longer term we should just bump our dependency to 3.2.27 and remove our own defines here. I just avoided that for now as the release is to new and we should wait for distros to adopt it first. Maybe in 6 months from now we can do that.

regards
Stefan Schmidt
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux