Tying to crosscimpile I got this error "redefinition of 'struct addrinfo'":
...
CClibavcodec/libopencore-amr.o
In file included from libavformat/avio.c:31:
libavformat/network.h:137:8: error: redefinition of 'struct addrinfo'
137 | struct addrinfo {
| ^~~~~~~~
In file included from libavformat/network.h:66,
from libavformat/avio.c:31:
/opt/sdk/ppc-amigaos/newlib/include/netdb.h:202:8: note: originally defined here
202 | struct addrinfo {
| ^~~~~~~~
While I am working on the WebKit project there is a need to port harfbuzz library (https://github.com/harfbuzz/harfbuzz)
This library is using meson to compile and what I did so far is create a meson cross-compile file that is used during the compilation. Unfortunately, when I try to compile it there is always -pthreads added automatically and I cannot find a way to remove it. You see meson finds that pthreads are available and adds it no matter what.
Unfortunately, this flag breaks the compilation because it is not recognised by our gcc.
Hello everyone.
I have a side project I am working on, which is a port of a game engine. This creates a SObj library (.so) and an executable that uses it.
I managed to build everything, but as soon as I ran the executable, this crashes with a complaint about accessing a symbol.
I believe that the problem is because of mixing shared and static libraries, some of them might not be compiled with -fPIC. I might need to rebuild all the libraries with -fPIC just to be sure, but...
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.