I am trying to compile the next version of Flightgear, but as of this morning the compilation does not work and it gives me this error:
- Code: Select all
make[2]: ingresso nella directory «/home/abassign/fgfs/build/flightgear»
make[2]: uscita dalla directory «/home/abassign/fgfs/build/flightgear»
[ 98%] Built target metar
make[2]: ingresso nella directory «/home/abassign/fgfs/build/flightgear»
make[2]: uscita dalla directory «/home/abassign/fgfs/build/flightgear»
make[2]: ingresso nella directory «/home/abassign/fgfs/build/flightgear»
[ 98%] Linking CXX executable fgfs
/usr/bin/ld: /home/abassign/fgfs/install/simgear/lib/libSimGearCore.a(timezone.cxx.o): in function `SGTimeZoneContainer::SGTimeZoneContainerPrivate::~SGTimeZoneContainerPrivate()':
/home/abassign/fgfs/simgear/simgear/timing/timezone.cxx:145: undefined reference to `SGMMapFile::~SGMMapFile()'
/usr/bin/ld: /home/abassign/fgfs/install/simgear/lib/libSimGearCore.a(timezone.cxx.o): in function `SGTimeZoneContainer::SGTimeZoneContainerPrivate::SGTimeZoneContainerPrivate()':
/home/abassign/fgfs/simgear/simgear/timing/timezone.cxx:141: undefined reference to `SGMMapFile::SGMMapFile()'
/usr/bin/ld: /home/abassign/fgfs/install/simgear/lib/libSimGearCore.a(timezone.cxx.o): in function `SGTimeZoneContainer::SGTimeZoneContainer(SGPath const&)':
/home/abassign/fgfs/simgear/simgear/timing/timezone.cxx:170: undefined reference to `SGMMapFile::open(SGPath const&, SGProtocolDir)'
/usr/bin/ld: /home/abassign/fgfs/install/simgear/lib/libSimGearCore.a(timezone.cxx.o): in function `SGTimeZoneContainer::SGTimeZoneContainerPrivate::~SGTimeZoneContainerPrivate()':
/home/abassign/fgfs/simgear/simgear/timing/timezone.cxx:145: undefined reference to `SGMMapFile::~SGMMapFile()'
collect2: error: ld returned 1 exit status
make[2]: *** [src/Main/CMakeFiles/fgfs.dir/build.make:1186: src/Main/fgfs] Errore 1
make[2]: uscita dalla directory «/home/abassign/fgfs/build/flightgear»
make[1]: *** [CMakeFiles/Makefile2:3556: src/Main/CMakeFiles/fgfs.dir/all] Errore 2
make[1]: uscita dalla directory «/home/abassign/fgfs/build/flightgear»
make: *** [Makefile:163: all] Errore 2
All optional package alternatives have found a matching package.
The compilation is on on Linux Ubuntu 20.10 with the next version, the compilation script is
./ download_and_compile.sh
does anyone know if the problem can be solved?
Thank you