error: conflicting types for 'rand' unsigned int rand(); #4707
Replies: 1 comment
-
Posted at 2015-05-24 by d0773d jswrap_crypto_cbc.c:
jswrap_crypto_cbc.h:
Posted at 2015-05-25 by d0773d I think I narrowed down the errors I explained in the top two threads. I Think the rand() error is probably due to a conflict in naming functions? I'm assuming the espruino has a function called rand() and the Crypto library has a rand() function? The undefined reference error in my second post is probably due to not including a header file listing the methods. I'm not much of a programmer so I'm not really sure where to go from here to fix those issue. Posted at 2015-05-26 by @gfwilliams The problem could well be because Espruino has its own version of most of the standard library functions like It might be that ST's library actually includes the main standard library, or that it includes its own As for PS - the stuff in your post didn't get rendered properly as 'code' because there wasn't a clear line before and after the code markers (```) - I've just changed it for you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-05-23 by d0773d
I am using a stripped down version of the STM32 Cryptographic library package.
I am attempting to custom compile the pico firmware to include a very basic aes cbc cipher library. I will eventually include more, however, right now I am just trying to get the hang of custom compiling the firmware.
The error I am receiving is:
I executed
./create_pico_image_1v3.sh
to compile.I have a feeling there are more errors, but the complete output status of the compiling has been chopped off in the terminal. Is there a log file where I can view the complete compiling log?
crypto.tar.gz is the stripped down version and the original library can be found at: http://www.st.com/web/en/catalog/tools/PF259409
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions