Re: Python import error for PyInit_wpaspy

Jouni Malinen <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <[email protected]>
On Tue, Mar 31, 2020 at 04:22:01PM -0500, Jared Bents wrote:
> I'm attempting to cross compile wpaspy with Buildroot

Do you have a specific reason for using the wpaspy.c version instead of
the native wpaspy.py?

> Has anyone had success cross compiling wpaspy with python 3 support? I
> had run into a couple prior problems when using python 3 but sorted
> those out and once I get everything working, I plan on upstreaming
> them. I've included the diffs below for reference.

I have not use wpaspy.c in years since the native implementation in
wpaspy.py covers all the functionality that I've needed. wpaspy.c has
not been modified in seven years and unless there is a specific need for
it, the most practical upstream change might be to simply delete that
older implementation and leave the maintained wpaspy.py version as the
only option.

-- 
Jouni Malinen                                            PGP id EFC895FA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.