I'm trying to port libeditline to OS4. However, whenever I build the library either on Amiga itself or with a cross-compiler, I get the message "warning: warning: newlib.library 53.25 required for tcgetattr()" repeatedly (yes, the "warning:" is doubled like that). Programs that link with libeditline.a end up crashing on launch, even though they worked with the source-compatible libreadline (which I don't want to use for licensing reasons). I'm entirely new at the porting game and still wet behind the ears with Amiga development, so I'm not entirely sure what to do about this. I don't know if my program is crashing because of newlib.library (which is at 53.30 btw) or if something else is wrong.
I figured since libeditline uses the configure toolchain that
./configure --enable-shared=no --enable-static=yes && make all (with the requisite build/host/target options when cross-compiling) would be enough, and given that it does at least generate libeditline.a it seemed reasonable at the time.
Any suggestions on what I should try?