Open richgrove opened 6 years ago
Can you try adding DEFINES += CX_COMPLIANCE_141 to the Makefile ? This should solve most of the build issues (also possibly missing a new parameter NULL for the cx_ecdsa_sign primitives). This will be merged shortly.
In order to fix those errors to make the 1.4.2 compiler compatible, it's not a simple flag update. Please see the changes done in LedgerHQ/bolos-app-win_hello, in the 4 days ago. The source codes have been modified. Could you help to do so? It's easy to see those compiler errors as soon as you use the nano-1421 tag from the nano-secure-sdk repo. Thanks.
Facing exactly the same issue as @richgrove. I have changed the Makefile as per @btchip suggestion, but now receiving following error:
TARGET_NAME=TARGET_NANOS TARGET_ID=0x31100003
BOLOS_ENV=/home/super/nano/
BOLOS_ENV=/home/super/nano/
[LINK] bin/app.elf
obj/main.o: In function `derive':
/home/super/nano/blue-sample-apps/blue-app-helloperso/src/main.c:513: undefined reference to `cx_hash_X'
/home/super/nano/blue-sample-apps/blue-app-helloperso/src/main.c:515: undefined reference to `cx_hash_X'
/home/super/nano/blue-sample-apps/blue-app-helloperso/src/main.c:518: undefined reference to `cx_hash_X'
/home/super/nano/blue-sample-apps/blue-app-helloperso/src/main.c:520: undefined reference to `cx_hash_X'
collect2: error: ld returned 1 exit status
/home/super/nano/nanos-secure-sdk/Makefile.rules_generic:59: recipe for target 'bin/app.elf' failed
make: *** [bin/app.elf] Error 1
@razi-rais to fix that error I think you can do a make clean
and then a make
. I am able to build the app. Unfortunately it locks up as soon as it starts on the "Open non genuine app" screen like most (all?) sample apps. Is there a way to get samplesign
OR helloperso
working on 1.4.2
?
We're second to @rudi-cilibrasi 's comment above. Exactly the same. Could somebody please shed some light on this issue please?
I'm also getting stuck on "Open non genuine app" on a custom app. Any guidelines?
Please let me know if the latest modifications work
I'm also getting stuck on "Open non genuine app" on a custom app.
I installed the nano secure SDK nano-1421 tag for my updated ledger firmware 1.4.2. "make" on the sample apps got the error messages like:
Other apps had the similar build errors. Please help to update those sample apps to be able to build on the 1.4.2 firmware. Thanks.