pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: emulators/mame not linking on sparc64



On Sun, Aug 23, 2020 at 02:41:04PM +0200, Connor McLaughlan wrote:
> imgui_draw.cpp:(.text+0x2dc8): warning: Warning: reference to the libc
> supplied alloca(3); this most likely will not work. Please use the
> compiler provided version of alloca(3), by supplying the appropriate
> compiler flags (e.g. not -std=c89).

This hint is the correct way to fix it - check for the -std=... arg
supplied by the makefile and replace it with -std=gnu....
Example: -std=c99 becomes -std=gnu99

Martin



Home | Main Index | Thread Index | Old Index