Compilation error, Debian Bookworm, SVN rev. 27784, 27785.
After the command: 'make', an error occurs:
==== Building pyrogenesis (release) ====
Creating obj/pyrogenesis_Release
main.cpp
Linking pyrogenesis
/usr/bin/ld: ../../../binaries/system/libnetwork.a(FSM.o): in function `std::enable_if<std::__is_bitwise_relocatable<CFsmTransition*, void>::value, CFsmTransition**>::type std::__relocate_a_1<CFsmTransition*, CFsmTransition*>(CFsmTransition**, CFsmTransition**, CFsmTransition**, std::allocator<CFsmTransition*>&)':
[...I shortened...]
/usr/bin/ld: ../../../binaries/system/libnetwork.a(FSM.o): in function `CFsm::IsValidEvent(unsigned int) const':
/home/domowy/svn/0ad/build/workspaces/gcc/../../../source/network/FSM.cpp:247: multiple definition of `CFsm::IsValidEvent(unsigned int) const'; ../../../binaries/system/libnetwork.a(fsm.o):/home/domowy/svn/0ad/build/workspaces/gcc/../../../source/network/fsm.cpp:465: first defined here
/usr/bin/ld: ../../../binaries/system/libnetwork.a(FSM.o): in function `CFsm::AddEvent(unsigned int)':
/home/domowy/svn/0ad/build/workspaces/gcc/../../../source/network/FSM.cpp:104: multiple definition of `CFsm::AddEvent(unsigned int)'; ../../../binaries/system/libnetwork.a(fsm.o):/home/domowy/svn/0ad/build/workspaces/gcc/../../../source/network/fsm.cpp:247: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [pyrogenesis.make:81: ../../../binaries/system/pyrogenesis] Błąd 1
make: *** [Makefile:73: pyrogenesis] Błąd 2
In Polish, 'Błąd' is 'Error'.
No. 81 line file: 'svn/0ad/build/workspaces/gcc/pyrogenesis.make':
80 @echo Linking pyrogenesis
81 $(SILENT) $(LINKCMD)
82 $(POSTBUILDCMDS)
No. 73 line file: 'svn/0ad/build/workspaces/gcc/Makefile':
71 ifneq (,$(pyrogenesis_config))
72 @echo "==== Building pyrogenesis ($(pyrogenesis_config)) ===="
73 @${MAKE} --no-print-directory -C . -f pyrogenesis.make config=$(pyrogenesis_config)
74 endif
Unfortunately, I do not know how to correct it.
Rev. 27779 (and earlier) compiled correctly.
Regards.