jens-maus / amissl

:closed_lock_with_key: AmiSSL is the AmigaOS/MorphOS/AROS port of OpenSSL. It wraps the full functionality of OpenSSL into a full-fledged Amiga shared library that makes it possible for Amiga applications to use the full OpenSSL API through a standard Amiga shared library interface (e.g. web browsers wanting to support HTTPS, etc.)...
Apache License 2.0
88 stars 15 forks source link

Newlib libamisslauto.a fails to link with undefined reference to 'errno' #32

Closed ksdhans closed 5 years ago

ksdhans commented 5 years ago

As the subject line says, attempting to use the autoinit stub with newlib results in the "undefined reference to 'errno'" linking error.

Looking at the makefile, it's likely that -mcrt=clib2 is still in the command line when compiling the autoinit stub for newlib, resulting in the linking error.

Futaura commented 5 years ago

Now fixed: 6b0f9ce4cef3bddfc054e4ab8b2609c93f710c6f