After an good run compiling simgear i get an strange error flightgear in a area that i have never touch any code
- Code: Select all
Linking CXX executable test_flightplan
libfgtestlib.so: undefined reference to `pcre_exec'
libfgtestlib.so: undefined reference to `pcre_study'
libfgtestlib.so: undefined reference to `pcre_free'
libfgtestlib.so: undefined reference to `pcre_compile'
the only change in fgfs that i have done is add this line between line 874 and line 880 in NasalSys.cxx
- Code: Select all
hashset(_globals, "re", naInit_regex(_context));
buildlog
- Code: Select all
./download_and_compile.sh FGFS
VERSION=0e43ff4ed5a91be9ba8c24bf06b9f2e55353f58f
APT_GET_UPDATE=n
DOWNLOAD_PACKAGES=n
COMPILE=y
RECONFIGURE=y
DOWNLOAD=n
JOPTION=
OOPTION=
BUILD_TYPE=RelWithDebInfo
***********************************
Considering a package alternative: libopenscenegraph-3.4-dev libopenscenegraph-dev libopenscenegraph-[0-9]+\.[0-9]+-dev
Package alternative matched for libopenscenegraph-3.4-dev
Considering a package alternative: libpng-dev libpng12-dev libpng16-dev
Package alternative matched for libpng-dev
Considering an optional package alternative: qtdeclarative5-private-dev
Optional package alternative matched for qtdeclarative5-private-dev
Considering an optional package alternative: qml-module-qtquick2
Optional package alternative matched for qml-module-qtquick2
DIRECTORY= /home/user-name/fgfs
***********************************
****************************************
************** FLIGHTGEAR **************
****************************************
CMAKE Build type: RelWithDebInfo
-- Setting build type to 'Dev' as none was specified.
-- System is: Linux
-- Linux distro is: Ubuntu
-- Web browser launcher command is: xdg-open
-- Using default data directory for base package: /home/user-name/fgfs/install/flightgear/lib/FlightGear
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- libudev stable: 1
-- Found UDev: /lib/x86_64-linux-gnu/libudev.so
-- include: /usr/include
-- Found Git: /usr/bin/git
-- Git revision is 31de119169ed935d29342ec8f2514370f02c3604
-- event-based input enabled. Using /lib/x86_64-linux-gnu/libudev.so
-- Boost version: 1.62.0
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found osgText: /usr/lib/x86_64-linux-gnu/libosgText.so
-- Found osgSim: /usr/lib/x86_64-linux-gnu/libosgSim.so
-- Found osgDB: /usr/lib/x86_64-linux-gnu/libosgDB.so
-- Found osgParticle: /usr/lib/x86_64-linux-gnu/libosgParticle.so
-- Found osgFX: /usr/lib/x86_64-linux-gnu/libosgFX.so
-- Found osgUtil: /usr/lib/x86_64-linux-gnu/libosgUtil.so
-- Found osgViewer: /usr/lib/x86_64-linux-gnu/libosgViewer.so
-- Found osgGA: /usr/lib/x86_64-linux-gnu/libosgGA.so
-- Found osg: /usr/lib/x86_64-linux-gnu/libosg.so
-- Found OpenThreads: /usr/lib/x86_64-linux-gnu/libOpenThreads.so
-- Found OpenSceneGraph: /usr/lib/x86_64-linux-gnu/libosgText.so;/usr/lib/x86_64-linux-gnu/libosgSim.so;/usr/lib/x86_64-linux-gnu/libosgDB.so;/usr/lib/x86_64-linux-gnu/libosgParticle.so;/usr/lib/x86_64-linux-gnu/libosgFX.so;/usr/lib/x86_64-linux-gnu/libosgUtil.so;/usr/lib/x86_64-linux-gnu/libosgViewer.so;/usr/lib/x86_64-linux-gnu/libosgGA.so;/usr/lib/x86_64-linux-gnu/libosg.so;/usr/lib/x86_64-linux-gnu/libOpenThreads.so (found suitable version "3.4.0", minimum required is "3.2.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'dbus-1'
-- Found dbus-1, version 1.10.10
-- Using DBus
-- Qt launcher enabled, checking for Qt 5.4 / qmake
-- Will enable Qt launcher GUI
-- Qt5Widgets version: 5.7.1
-- Qt5Widgets include dir: /usr/include/x86_64-linux-gnu/qt5/;/usr/include/x86_64-linux-gnu/qt5/QtWidgets;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++-64;/usr/include
-- Checking whether private include directories for module Qt5Gui exist
-- Qt5Quick private include dir: /usr/include/x86_64-linux-gnu/qt5/QtQuick/5.7.1;/usr/include/x86_64-linux-gnu/qt5/QtQuick/5.7.1/QtQuick;/usr/include/x86_64-linux-gnu/qt5/QtQml/5.7.1;/usr/include/x86_64-linux-gnu/qt5/QtQml/5.7.1/QtQml;/usr/include/x86_64-linux-gnu/qt5/QtNetwork/5.7.1;/usr/include/x86_64-linux-gnu/qt5/QtNetwork/5.7.1/QtNetwork;/usr/include/x86_64-linux-gnu/qt5/QtCore/5.7.1;/usr/include/x86_64-linux-gnu/qt5/QtCore/5.7.1/QtCore;/usr/include/x86_64-linux-gnu/qt5/QtGui/5.7.1;/usr/include/x86_64-linux-gnu/qt5/QtGui/5.7.1/QtGui
-- /usr/include
-- adding runtime JS dependencies
-- Found PLIB: optimized;/usr/lib/libplibpuaux.so;debug;/usr/lib/libplibpuaux.so;optimized;/usr/lib/libplibjs.so;debug;/usr/lib/libplibjs.so;optimized;/usr/lib/libplibpu.so;debug;/usr/lib/libplibpu.so;optimized;/usr/lib/libplibfnt.so;debug;/usr/lib/libplibfnt.so;optimized;/usr/lib/libplibsg.so;debug;/usr/lib/libplibsg.so;optimized;/usr/lib/libplibul.so;debug;/usr/lib/libplibul.so
-- Min Simgear version is 2017.4.0
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- RTI: DISABLED
-- OpenMP: DISABLED
-- SSE/SSE2 support: ENABLED
-- Looking for mkfifo
-- Looking for mkfifo - found
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.6.34")
-- Found GLEW: /usr/include
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- found GLUT inc /usr/include, lib /usr/lib/x86_64-linux-gnu/libglut.so;/usr/lib/x86_64-linux-gnu/libXmu.so;/usr/lib/x86_64-linux-gnu/libXi.so
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- Tests: ENABLED
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user-name/fgfs/build/flightgear
MAKE flightgear
[ 0%] Built target fgsqlite3
[ 7%] Built target iaxclient_lib
[ 12%] Built target flite_hts
[ 13%] Built target hts_engine
[ 13%] Built target fgelev
[ 15%] Built target fgpanel
[ 16%] Built target fgviewer
[ 17%] Built target UGsmooth
[ 17%] Built target MIDGsmooth
[ 17%] Built target GPSsmooth
Scanning dependencies of target fgcom
[ 17%] Building CXX object utils/fgcom/CMakeFiles/fgcom.dir/fgcom.cxx.o
[ 17%] Linking CXX executable fgcom
[ 17%] Built target fgcom
[ 17%] Built target fgtraffic
Scanning dependencies of target fgtestlib
[ 17%] Building CXX object tests/CMakeFiles/fgtestlib.dir/__/src/Scripting/NasalSys.cxx.o
[ 17%] Linking CXX shared library libfgtestlib.so
[ 25%] Built target fgtestlib
[ 25%] Linking CXX executable test_flightplan
libfgtestlib.so: undefined reference to `pcre_exec'
libfgtestlib.so: undefined reference to `pcre_study'
libfgtestlib.so: undefined reference to `pcre_free'
libfgtestlib.so: undefined reference to `pcre_compile'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/test_flightplan.dir/build.make:99: recept voor doel 'tests/test_flightplan' is mislukt
make[2]: *** [tests/test_flightplan] Fout 1
CMakeFiles/Makefile2:1886: recept voor doel 'tests/CMakeFiles/test_flightplan.dir/all' is mislukt
make[1]: *** [tests/CMakeFiles/test_flightplan.dir/all] Fout 2
Makefile:149: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
INSTALL flightgear
[ 0%] Built target fgsqlite3
[ 7%] Built target iaxclient_lib
[ 12%] Built target flite_hts
[ 13%] Built target hts_engine
[ 13%] Built target fgelev
[ 15%] Built target fgpanel
[ 16%] Built target fgviewer
[ 17%] Built target UGsmooth
[ 17%] Built target MIDGsmooth
[ 17%] Built target GPSsmooth
[ 17%] Built target fgcom
[ 17%] Built target fgtraffic
[ 25%] Built target fgtestlib
[ 25%] Linking CXX executable test_flightplan
libfgtestlib.so: undefined reference to `pcre_exec'
libfgtestlib.so: undefined reference to `pcre_study'
libfgtestlib.so: undefined reference to `pcre_free'
libfgtestlib.so: undefined reference to `pcre_compile'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/test_flightplan.dir/build.make:99: recept voor doel 'tests/test_flightplan' is mislukt
make[2]: *** [tests/test_flightplan] Fout 1
CMakeFiles/Makefile2:1886: recept voor doel 'tests/CMakeFiles/test_flightplan.dir/all' is mislukt
make[1]: *** [tests/CMakeFiles/test_flightplan.dir/all] Fout 2
Makefile:149: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
***********************************
All optional package alternatives have found a matching package.