invalid ELF header

Jach Fong <[email protected]> Thu, 23 Nov 2017 15:33:35 +0800
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
Hi! I tried the xml2py under Ubuntu 14.04 on library LibFT260, but fail.

ubuntu@ubuntu:~/Works$ xml2py -c -d -k defst -l ~/Works/LibFT260.dll -o 
~/Works/libft260.py ~/Works/libft260.xml
...
...
OSError: /home/ubuntu/Works/LibFT260.dll: invalid ELF header

Can anyone tell what the problem is? Thank you.


Best Regards,
Jach Fong

PS. this library can be downloaded from the following page:
     http://www.ftdichip.com/Products/ICs/FT260.html



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot