milagro-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-milagro-crypto-c] GuillaumeCisco commented on issue #38: Python wrappers
Date Wed, 14 Aug 2019 16:56:55 GMT
GuillaumeCisco commented on issue #38: Python wrappers
URL: https://github.com/apache/incubator-milagro-crypto-c/issues/38#issuecomment-521329526
 
 
   What I tried:
   Using the file `test_pair_FP256BN.c` which use `CURVE_Order_FP256BN`.
   Creating the .so (from python wrapper generated directory) using:
   `gcc -g -I../../include -I../../../../include -fPIC -Wall -Wextra ../../test/test_pair_FP256BN.c
-shared -o ./test_pair_FP256BN.so`
   Then:
   ```
   $> python
   Python 2.7.15+ (default, Nov 27 2018, 23:36:35) 
   [GCC 7.3.0] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import test_pair_FP256BN
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   ImportError: ./test_pair_FP256BN.so: undefined symbol: CURVE_Order_FP256BN
   ```
   There is something I'm not doing correctly...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@milagro.apache.org
For additional commands, e-mail: issues-help@milagro.apache.org


Mime
View raw message