I'm having a compilation error with a recent git download which I hope can be solved with your help, please. Research yields similar errors using gcc instead of g++, but I have g++ installed:
$ cat /etc/issue.net && uname -a
Debian GNU/Linux 12
Linux portable 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
$ which g++
/usr/bin/g++
$ ./bootstrap
...
$ ./configure --prefix=$HOME
...
libvlc configuration
--------------------
version : 4.0.0-dev
system : linux
architecture : x86_64 sse2 avx avx2
optimizations : yes
vlc aliases : cvlc rvlc qvlc svlc nvlc
$ make
...
Making all in bin
make[2]: Entering directory '/tmp/vlc/bin'
...
(101 instances of "/usr/bin/ld: ../lib/.libs/libvlc.so: undefined reference to ...")
/usr/bin/ld: ../lib/.libs/libvlc.so: undefined reference to `vlc_player_SelectPrevChapter'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1439: vlc-cache-gen] Error 1
make[2]: Leaving directory '/tmp/vlc/bin'
make[1]: *** [Makefile:1624: all-recursive] Error 1
make[1]: Leaving directory '/tmp/vlc'
make: *** [Makefile:1511: all] Error 2
$ cat -n Makefile | grep -E -B2 -A2 "1439|1511|1624"
1437 extras/package/win32/NSIS/languages/RomanianExtra.nsh \
1438 extras/package/win32/NSIS/languages/SimpChineseExtra.nsh \
1439 extras/package/win32/NSIS/languages/SlovakExtra.nsh \
1440 extras/package/win32/NSIS/languages/SlovenianExtra.nsh \
1441 extras/package/win32/NSIS/languages/SoraniExtra.nsh \
--
1509 #MSIOUTFILE = vlc-$(VERSION)-win64.msi
1510 all: $(BUILT_SOURCES) config.h
1511 $(MAKE) $(AM_MAKEFLAGS) all-recursive
1512
1513 .SUFFIXES:
--
1622 # (2) otherwise, pass the desired values on the 'make' command line.
1623 $(am__recursive_targets):
1624 @fail=; \
1625 if $(am__make_keepgoing); then \
1626 failcom='fail=yes'; \
###########################################################################
My limited knowledge prevents me from understanding what might be the problem, please?