n64chain icon indicating copy to clipboard operation
n64chain copied to clipboard

Build fails on Ubuntu 23.10

Open MechMK1 opened this issue 9 months ago • 0 comments

I've downloaded the release version 2402c5e219d2a2a92f2e66b07d58ba7f6c85ca36. The build fails with the following errors:

gcc  -g -O2 -Wl,--export-dynamic  -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o guile.o implicit.o job.o load.o loadapi.o main.o misc.o posixos.o output.o read.o remake.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o remote-stub.o glob/libglob.a   
/usr/bin/ld: glob/libglob.a(glob.o): in function `glob_in_dir':
/home/mechmk1/Downloads/tools/make-build/glob/../../make-source/glob/glob.c:1269:(.text+0x803): undefined reference to `__stat'
/usr/bin/ld: glob/libglob.a(glob.o): in function `glob':
/home/mechmk1/Downloads/tools/make-build/glob/../../make-source/glob/glob.c:1036:(.text+0xe37): undefined reference to `__stat'
/usr/bin/ld: /home/mechmk1/Downloads/tools/make-build/glob/../../make-source/glob/glob.c:814:(.text+0x14e6): undefined reference to `__stat'
/usr/bin/ld: /home/mechmk1/Downloads/tools/make-build/glob/../../make-source/glob/glob.c:960:(.text+0x17f2): undefined reference to `__stat'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:656: make] Error 1
make[2]: Leaving directory '/home/mechmk1/Downloads/tools/make-build'
make[1]: *** [Makefile:798: all-recursive] Error 1
make[1]: Leaving directory '/home/mechmk1/Downloads/tools/make-build'
make: *** [Makefile:534: all] Error 2

MechMK1 avatar May 20 '24 12:05 MechMK1