OS: FreeBSD 13.2
Compiler: clang15
On all BSDs the function alloca(3) is declared in stdlib.h
In file included from wxscript.cpp:77:
../sound/cute_sound.h:628:12: fatal error: 'alloca.h' file not found
#include <alloca.h>
See also: https://github.com/lammps/lammps/issues/2062
Thanks for the report. I've just commented out that line as it doesn't seem necessary (at least on my Mint Linux system).