Re: ELL 0.59 Does Not Compile against Linux-4.9.212 and/or GLibC-2.28

Marcel Holtmann <[email protected]> Mon, 20 Nov 2023 15:55:08 +0100
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
Hi Grant,

>>> ELL Community:
>>> Over on the connman mailing list, Marcel and Denis have been advocating, rightly so, for iwd over wpa_supplicant for Wi-Fi.
>>> Is there a kernel version expectation of ELL?
>> 
>> For the most part, no.  It should work with pretty old kernels.  But most of our development started post 4.15 or so.  If you need iwd to work with EAP, then 4.19 is required.  Otherwise, older kernels should work fine.
> 
> I’ve no requirement for EAP, so all good there.
> 
>>> For the current project I am engaged on, the kernel is locked at linux-4.9.212, glibc-2.28, and GCC 8.2. With that combination, I have found that the absolutely latest version of ELL I can build is 0.28. Regrettably, iwd requires a more recent version than that. However, neither the version of ELL that iwd embeds nor the latest independent version of ELL, 0.59 compile against the aforementioned combination. I see the following errors:
>> 
>> Try the 4 patches I sent out.  Depending on your openssl version, you might see some weirdness there.  The detection logic seems to not work on _really_ old openssl versions.
> 
> Will do. I’m running openssl-1.1.1w.
> 
> Regarding the patches, won’t inclusion of an uprev netlink header result in a -ENOSYS or -EINVAL when those symbols hit the downrev kernel? Or were they privately defined in the 4.x series but not publicly exported?

any chance you can give ell-0.60 a spin and let me know if this helps. The only thing we left out was the RTA_EXPIRES workaround and I need to think about this a bit harder on how to work around it.

Regards

Marcel