salass00Software DevPosted
2 months agoI found what was causing all the compilation errors. It is the OPENSSL_sk_set_cmp_func in <defines/amissl.h> that returns a pointer to a callback (the previous one I presume) and this expands badly with the macros. If I change it to return a void pointer instead all the compiler errors just go away.
@salas00,
Thanks for your work on this! There is a Hollywood plugin called hurl.hwp which gives curl functionality given the presence of AmiSSL. RNOTransfer is a great Hollywood app that'd love to see on AROS but it wasn't included as a target because of the missing hurl.hwp support. Thanks.
NathanH
salass00Software DevPosted
2 months agoI have ssh2fs compiling and working for i386-aros now using my modified AmiSSL 4.12 headers. Initially the binary wasn't working because gcc was optimizing my calloc() replacement function so that it was recursively calling itself in an infinite loop but after adding -fno-builtin when compiling the file in question everything seems to be working as it should.
Next I will try to compile a binary for x86_64-aros...
salass00Software DevPosted
2 months agoAfter using sfdc to regenerate the defines/ headers so that they were using the AROS_LCxNR() macros for functions returning void I was able to get ssh2fs compiling for x86_64-aros, and after fixing the taglist varargs macros for 64-bit it is now opening and initializing AmiSSL without crashing. However it still causes a crash in AROSTCP which I will have to look into.