Instantly share code, notes, and snippets.
Created
February 5, 2022 07:59
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save anantha-vidhya/f2e55c67c1a04ed779e51a2694ab8372 to your computer and use it in GitHub Desktop.
Step by step navit cross-compiling [rocedure i followed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
futura@futura-Lenovo-Legion-Y540-15IRH-PG0:~/Desktop/Projects/NAVIT-Demo/Futura-Devkit$ source environmemnt_setup.sh | |
[linux-devkit]:~/Desktop/Projects/NAVIT-Malasia-Demo/navit-build-arm> cmake ../navit | |
-- Building with CMake V3.6.1 | |
-- The C compiler identification is GNU 6.2.1 | |
-- The CXX compiler identification is GNU 6.2.1 | |
-- Check for working C compiler: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc | |
-- Check for working C compiler: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ | |
-- Check for working CXX compiler: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- LIBDIR variable is not defined. It will be autodetected now. | |
-- You can set it manually with -DLIBDIR=<value> | |
-- LIB_DIR (highest subdirectory if LIBDIR) is set to 'lib/navit' | |
-- Found PkgConfig: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/bin/pkg-config (found version "0.29.1") | |
-- Checking for module 'gmodule-2.0' | |
-- Found gmodule-2.0, version 2.48.2 | |
-- Checking for module 'glib-2.0>=2.10' | |
-- Found glib-2.0, version 2.48.2 | |
-- Checking for module 'fontconfig >= 2.2.0' | |
-- Found fontconfig , version 2.12.1 | |
-- Checking for module 'dbus-1 >= 1.4' | |
-- Found dbus-1 , version 1.10.10 | |
-- Checking for module 'dbus-glib-1' | |
-- Found dbus-glib-1, version 0.106 | |
-- Checking for module 'liblocation' | |
-- No package 'liblocation' found | |
-- Checking for module 'libgps' | |
-- No package 'libgps' found | |
-- Checking for module 'libgps>=2.90' | |
-- | |
-- Checking for module 'libgps>=3.1' | |
-- | |
-- Checking for module 'libgarmin' | |
-- No package 'libgarmin' found | |
-- Checking for module 'imlib2' | |
-- No package 'imlib2' found | |
-- Checking for module 'libgeoclue-2.0' | |
-- No package 'libgeoclue-2.0' found | |
-- Found ZLIB: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/lib/libz.so (found version "1.2.11") | |
-- Found Freetype: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/lib/libfreetype.so (found version "2.8.1") | |
-- 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 | |
-- Found SDL: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/lib/libSDLmain.a;/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/lib/libSDL.so;-lpthread (found version "1.2.15") | |
-- Found SDL_image: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/lib/libSDL_image.so (found version "1.2.12") | |
-- Found Gettext: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/bin/msgmerge | |
-- Found PNG: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/lib/libpng.so (found version "1.6.34") | |
CMake Warning at CMakeLists.txt:242 (find_package): | |
By not providing "FindQt5QuickWidgets.cmake" in CMAKE_MODULE_PATH this | |
project has asked CMake to find a package configuration file provided by | |
"Qt5QuickWidgets", but CMake did not find one. | |
Could not find a package configuration file provided by "Qt5QuickWidgets" | |
with any of the following names: | |
Qt5QuickWidgetsConfig.cmake | |
qt5quickwidgets-config.cmake | |
Add the installation prefix of "Qt5QuickWidgets" to CMAKE_PREFIX_PATH or | |
set "Qt5QuickWidgets_DIR" to a directory containing one of the above files. | |
If "Qt5QuickWidgets" provides a separate development package or SDK, be | |
sure it has been installed. | |
CMake Warning at CMakeLists.txt:243 (find_package): | |
By not providing "FindQt5Quick.cmake" in CMAKE_MODULE_PATH this project has | |
asked CMake to find a package configuration file provided by "Qt5Quick", | |
but CMake did not find one. | |
Could not find a package configuration file provided by "Qt5Quick" with any | |
of the following names: | |
Qt5QuickConfig.cmake | |
qt5quick-config.cmake | |
Add the installation prefix of "Qt5Quick" to CMAKE_PREFIX_PATH or set | |
"Qt5Quick_DIR" to a directory containing one of the above files. If | |
"Qt5Quick" provides a separate development package or SDK, be sure it has | |
been installed. | |
CMake Warning at CMakeLists.txt:244 (find_package): | |
By not providing "FindQt5Positioning.cmake" in CMAKE_MODULE_PATH this | |
project has asked CMake to find a package configuration file provided by | |
"Qt5Positioning", but CMake did not find one. | |
Could not find a package configuration file provided by "Qt5Positioning" | |
with any of the following names: | |
Qt5PositioningConfig.cmake | |
qt5positioning-config.cmake | |
Add the installation prefix of "Qt5Positioning" to CMAKE_PREFIX_PATH or set | |
"Qt5Positioning_DIR" to a directory containing one of the above files. If | |
"Qt5Positioning" provides a separate development package or SDK, be sure it | |
has been installed. | |
-- Looking for Q_WS_X11 | |
-- Looking for Q_WS_X11 - found | |
-- Looking for Q_WS_WIN | |
-- Looking for Q_WS_WIN - not found | |
-- Looking for Q_WS_QWS | |
-- Looking for Q_WS_QWS - not found | |
-- Looking for Q_WS_MAC | |
-- Looking for Q_WS_MAC - not found | |
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.7", minimum required is "4.7") | |
-- Looking for include file wordexp.h | |
-- Looking for include file wordexp.h - found | |
-- Looking for include file endian.h | |
-- Looking for include file endian.h - found | |
-- Looking for include file stdint.h | |
-- Looking for include file stdint.h - found | |
-- Looking for include file byteswap.h | |
-- Looking for include file byteswap.h - found | |
-- Looking for gypsy_control_get_default in gypsy | |
-- Looking for gypsy_control_get_default in gypsy - not found | |
-- Looking for include file libspeechd.h | |
-- Looking for include file libspeechd.h - not found | |
-- Looking for include file sys/socket.h | |
-- Looking for include file sys/socket.h - found | |
-- Looking for include file sys/shm.h | |
-- Looking for include file sys/shm.h - found | |
-- Looking for snprintf | |
-- Looking for snprintf - found | |
-- Looking for include file locale.h | |
-- Looking for include file locale.h - found | |
-- Looking for include file libintl.h | |
-- Looking for include file libintl.h - found | |
-- Looking for include file sys/time.h | |
-- Looking for include file sys/time.h - found | |
-- Looking for include file getopt.h | |
-- Looking for include file getopt.h - found | |
-- Looking for include file string.h | |
-- Looking for include file string.h - found | |
-- Looking for gettimeofday | |
-- Looking for gettimeofday - found | |
-- Looking for system | |
-- Looking for system - found | |
-- Looking for CreateProcess | |
-- Looking for CreateProcess - not found | |
-- Looking for stpcpy | |
-- Looking for stpcpy - found | |
-- Looking for sbrk | |
-- Looking for sbrk - found | |
-- Looking for getdelim | |
-- Looking for getdelim - found | |
-- Looking for getline | |
-- Looking for getline - found | |
-- Looking for fsync | |
-- Looking for fsync - found | |
-- Looking for libintl_fprintf in intl | |
-- Looking for libintl_fprintf in intl - not found | |
-- Checking for module 'fribidi' | |
-- No package 'fribidi' found | |
-- Checking for module 'fribidi>=0.19.0' | |
-- | |
-- Looking for FreeImage_Load in freeimage | |
-- Looking for FreeImage_Load in freeimage - not found | |
-- opengl not found | |
-- Found XSLT processor: /usr/bin/saxon-xslt | |
-- Looking for getifaddrs | |
-- Looking for getifaddrs - found | |
-- SVG2PNG-Converter: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/Futura-Devkit/sysroots/x86_64-arago-linux/usr/bin/rsvg-convert | |
-- Use plugins: MODULE | |
-- Looking for include file malloc.h | |
-- Looking for include file malloc.h - found | |
-- Looking for include files sys/param.h, sys/mount.h | |
-- Looking for include files sys/param.h, sys/mount.h - found | |
-- Looking for include file unistd.h | |
-- Looking for include file unistd.h - found | |
-- Looking for getcwd | |
-- Looking for getcwd - found | |
-- Looking for memalign | |
-- Looking for memalign - found | |
-- Looking for valloc | |
-- Looking for valloc - found | |
-- Looking for posix_memalign | |
-- Looking for posix_memalign - found | |
-- Looking for popen | |
-- Looking for popen - found | |
-- Looking for _atoi64 | |
-- Looking for _atoi64 - not found | |
-- Performing Test FLAG_AVAILABLE_C_-Wall | |
-- Performing Test FLAG_AVAILABLE_C_-Wall - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wall | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wall - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wno-unused-parameter | |
-- Performing Test FLAG_AVAILABLE_C_-Wno-unused-parameter - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wno-unused-parameter | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wno-unused-parameter - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wno-sign-compare | |
-- Performing Test FLAG_AVAILABLE_C_-Wno-sign-compare - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wno-sign-compare | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wno-sign-compare - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wno-missing-field-initializers | |
-- Performing Test FLAG_AVAILABLE_C_-Wno-missing-field-initializers - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wno-missing-field-initializers | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wno-missing-field-initializers - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wundef | |
-- Performing Test FLAG_AVAILABLE_C_-Wundef - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wundef | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wundef - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wcast-align | |
-- Performing Test FLAG_AVAILABLE_C_-Wcast-align - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wcast-align | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wcast-align - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wpointer-arith | |
-- Performing Test FLAG_AVAILABLE_C_-Wpointer-arith - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wpointer-arith | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wpointer-arith - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wextra | |
-- Performing Test FLAG_AVAILABLE_C_-Wextra - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wextra | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wextra - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wdate-time | |
-- Performing Test FLAG_AVAILABLE_C_-Wdate-time - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wdate-time | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wdate-time - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Wmissing-prototypes | |
-- Performing Test FLAG_AVAILABLE_C_-Wmissing-prototypes - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wmissing-prototypes | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wmissing-prototypes - Failed | |
-- Performing Test FLAG_AVAILABLE_C_-Wstrict-prototypes | |
-- Performing Test FLAG_AVAILABLE_C_-Wstrict-prototypes - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wstrict-prototypes | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wstrict-prototypes - Failed | |
-- Performing Test FLAG_AVAILABLE_C_-Wformat-security | |
-- Performing Test FLAG_AVAILABLE_C_-Wformat-security - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wformat-security | |
-- Performing Test FLAG_AVAILABLE_CXX_-Wformat-security - Success | |
-- Performing Test FLAG_AVAILABLE_C_-Werror=format-security | |
-- Performing Test FLAG_AVAILABLE_C_-Werror=format-security - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-Werror=format-security | |
-- Performing Test FLAG_AVAILABLE_CXX_-Werror=format-security - Success | |
-- Performing Test FLAG_AVAILABLE_C_-fstack-protector-strong | |
-- Performing Test FLAG_AVAILABLE_C_-fstack-protector-strong - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-fstack-protector-strong | |
-- Performing Test FLAG_AVAILABLE_CXX_-fstack-protector-strong - Success | |
-- Performing Test FLAG_AVAILABLE_C_-D_FORTIFY_SOURCE=2 | |
-- Performing Test FLAG_AVAILABLE_C_-D_FORTIFY_SOURCE=2 - Success | |
-- Performing Test FLAG_AVAILABLE_CXX_-D_FORTIFY_SOURCE=2 | |
-- Performing Test FLAG_AVAILABLE_CXX_-D_FORTIFY_SOURCE=2 - Success | |
Summary: | |
--->>> binding | |
Enabled dbus ( dbus-glib-1 found ) | |
Disabled python ( python libraries not found ) | |
Disabled win32 ( Default ) | |
--->>> font | |
Enabled freetype ( freetype found ) | |
--->>> graphics | |
Disabled android ( FreeType library not found ) | |
Disabled cocoa ( Default ) | |
Disabled egl ( Required library not found ) | |
Disabled gd ( FreeType library not found ) | |
Disabled gtk_drawing_area ( FreeType library not found ) | |
Enabled null ( Default ) | |
Disabled opengl ( FreeType library not found ) | |
Disabled qt5 ( Qt5 libraries not found ) | |
Enabled qt_qpainter ( Qt libraries found ) | |
Enabled sdl ( SDL/SDL_image libs found ) | |
Enabled svg_debug ( Glib found ) | |
--->>> gui | |
Disabled gtk ( GTK libs not found ) | |
Enabled internal ( Default ) | |
Enabled qml ( Qt Declarative found ) | |
Disabled qt5_qml ( Qt5 Declarative not found ) | |
--->>> map | |
Enabled binfile ( Default ) | |
Enabled csv ( Default ) | |
Enabled filter ( Default ) | |
Disabled garmin ( Garmin library not found ) | |
Enabled mg ( Default ) | |
Enabled shapefile ( Default ) | |
Enabled textfile ( Default ) | |
--->>> osd | |
Enabled core ( Default ) | |
--->>> plugin | |
Disabled j1850 ( Default ) | |
Disabled pedestrian ( Default ) | |
--->>> speech | |
Disabled android ( Default ) | |
Enabled cmdline ( system() call is available ) | |
Enabled dbus ( dbus-glib-1 found ) | |
Disabled espeak ( Default ) | |
Disabled iphone ( Default ) | |
Disabled qt5_espeak ( Qt5 multimedia not found ) | |
Disabled speech_dispatcher ( speech_dispatcher lib not found ) | |
--->>> support | |
Disabled espeak ( Default ) | |
Disabled ezxml ( native Glib found ) | |
Disabled gettext_intl ( native libintl found ) | |
Disabled glib ( native Glib found ) | |
Disabled libpng ( native libpng found ) | |
Enabled shapefile ( Default ) | |
Disabled wordexp ( native wordexp found ) | |
Disabled zlib ( native zlib found ) | |
--->>> traffic | |
Enabled dummy ( Default ) | |
Enabled null ( Default ) | |
Disabled traff_android ( Default ) | |
--->>> vehicle | |
Disabled android ( Default ) | |
Enabled demo ( Default ) | |
Enabled file ( Default ) | |
Disabled geoclue ( geoclue lib not found ) | |
Disabled gpsd ( gpsd lib not found ) | |
Enabled gpsd_dbus ( dbus-glib-1 found ) | |
Disabled gypsy ( gypsy lib not found ) | |
Disabled iphone ( Default ) | |
Disabled null ( Default ) | |
Disabled qt5 ( Qt5 libraries not found ) | |
Disabled wince ( Default ) | |
--->>> Features | |
Disabled BUILD_MAPTOOL ( maptool works only on 64 bit architectures ) | |
Disabled DBUS_USE_SYSTEM_BUS ( default ) | |
Disabled GUI_INTERNAL_VISUAL_DBG ( default ) | |
Disabled INTERNAL_ESPEAK_COMPLETE ( build complete internal libespeak ) | |
Enabled NETWORK_INFO ( ifaddrs.h found ) | |
Enabled SAMPLE_MAP ( downloading binary map because maptool compilation is disabled ) | |
Enabled SVG2PNG ( default ) | |
Enabled USE_NATIVE_LANGUAGE_SUPPORT ( Gettext found ) | |
Enabled USE_PLUGINS ( default ) | |
Enabled USE_ROUTING ( default ) | |
Enabled USE_SVG ( default ) | |
Enabled XSL_PROCESSING ( default ) | |
Processing XSLT files: NONE | |
See navit/xslt for available XSLT files, and put them into cache variable 'XSLTS' (without extension .xslt). | |
To configure your build use 'cmake -L' to find changeable variables and run cmake again with 'cmake -D <var-name>=<your value> ...'. | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit-build-arm | |
[linux-devkit]:~/Desktop/Projects/NAVIT-Malasia-Demo/navit-build-arm> make | |
Scanning dependencies of target fib | |
[ 0%] Building C object navit/fib-1.1/CMakeFiles/fib.dir/fib.c.o | |
[ 0%] Linking C static library libfib.a | |
[ 0%] Built target fib | |
Scanning dependencies of target navit_core | |
[ 0%] Building C object navit/CMakeFiles/navit_core.dir/announcement.c.o | |
[ 0%] Building C object navit/CMakeFiles/navit_core.dir/atom.c.o | |
[ 0%] Building C object navit/CMakeFiles/navit_core.dir/attr.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/cache.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/cache.c: In function 'cache_entry_destroy': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/cache.c:184:31: warning: cast increases required alignment of target type [-Wcast-align] | |
struct cache_entry *entry=(struct cache_entry *)((char *)data-cache->entry_size); | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/cache.c: In function 'cache_flush_data': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/cache.c:247:31: warning: cast increases required alignment of target type [-Wcast-align] | |
struct cache_entry *entry=(struct cache_entry *)((char *)data-cache->entry_size); | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/cache.c: In function 'cache_insert': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/cache.c:308:31: warning: cast increases required alignment of target type [-Wcast-align] | |
struct cache_entry *entry=(struct cache_entry *)((char *)data-cache->entry_size); | |
^ | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/callback.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/command.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/config_.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/coord.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/coord.c: In function 'coord_get': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/coord.c:43:23: warning: cast increases required alignment of target type [-Wcast-align] | |
struct coord *ret=(struct coord *)(*p); | |
^ | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/country.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/data_window.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/debug.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c: In function 'debug_malloc': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:507:10: warning: cast increases required alignment of target type [-Wcast-align] | |
tail=(struct malloc_tail *)((unsigned char *)head+size); | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c: In function 'debug_free': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:552:10: warning: cast increases required alignment of target type [-Wcast-align] | |
head=(struct malloc_head *)((unsigned char *)ptr-sizeof(*head)); | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:553:10: warning: cast increases required alignment of target type [-Wcast-align] | |
tail=(struct malloc_tail *)((unsigned char *)ptr+head->size); | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c: In function 'debug_malloc': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:499:29: warning: unsupported argument to '__builtin_return_address' | |
head->return_address[1]=__builtin_return_address(1); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:500:29: warning: unsupported argument to '__builtin_return_address' | |
head->return_address[2]=__builtin_return_address(2); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:501:29: warning: unsupported argument to '__builtin_return_address' | |
head->return_address[3]=__builtin_return_address(3); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:502:29: warning: unsupported argument to '__builtin_return_address' | |
head->return_address[4]=__builtin_return_address(4); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:503:29: warning: unsupported argument to '__builtin_return_address' | |
head->return_address[5]=__builtin_return_address(5); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:504:29: warning: unsupported argument to '__builtin_return_address' | |
head->return_address[6]=__builtin_return_address(6); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.c:505:29: warning: unsupported argument to '__builtin_return_address' | |
head->return_address[7]=__builtin_return_address(7); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/event.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/file.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/geom.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/graphics.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c: In function 'display_add_holes': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:1478:11: warning: cast increases required alignment of target type [-Wcast-align] | |
holes=(struct displayitem_poly_holes *) *p; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:1481:21: warning: cast increases required alignment of target type [-Wcast-align] | |
holes->ccount = (int *) *p; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:1483:21: warning: cast increases required alignment of target type [-Wcast-align] | |
holes->coords = (struct coord **)*p; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:1487:39: warning: cast increases required alignment of target type [-Wcast-align] | |
holes->coords[holes->count] = (struct coord *)*p; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c: In function 'display_add': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:1544:8: warning: cast increases required alignment of target type [-Wcast-align] | |
di=(struct displayitem *)p; | |
^ | |
In file included from /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:34:0: | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c: In function 'multiline_label_draw': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:2717:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 10 has type 'unsigned int' [-Wformat=] | |
dbg(lvl_warning,"Too many lines (%d) in label \"%s\", truncating to %lu", label_nblines, label, | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/debug.h:59:156: note: in definition of macro 'dbg' | |
f(level,dbg_module,strlen(dbg_module),__PRETTY_FUNCTION__, strlen(__PRETTY_FUNCTION__),1,__VA_ARGS__); } | |
^~~~~~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c: In function 'graphics_draw_itemgra': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/graphics.c:3104:8: warning: cast increases required alignment of target type [-Wcast-align] | |
di=(struct displayitem *)buffer; | |
^ | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/gui.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/item.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/layout.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/log.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/main.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/map.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/maps.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/linguistics.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/mapset.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/maptype.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/menu.c.o | |
[ 1%] Building C object navit/CMakeFiles/navit_core.dir/messages.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/bookmarks.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/navit.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/navit_nls.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/navigation.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/osd.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/param.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/phrase.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/plugin.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/popup.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/profile.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/profile_option.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/projection.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/roadprofile.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/route.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/route.c: In function 'route_path_add_line': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/route.c:1722:19: warning: cast increases required alignment of target type [-Wcast-align] | |
segment->data=(struct route_segment_data *)((char *)segment+seg_size); | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/route.c: In function 'route_path_add_item_from_graph': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/route.c:1825:19: warning: cast increases required alignment of target type [-Wcast-align] | |
segment->data=(struct route_segment_data *)((char *)segment+seg_size); | |
^ | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/script.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/search.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/speech.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/start_real.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/sunriset.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/transform.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/track.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/search_houseno_interpol.c.o | |
[ 2%] Building C object navit/CMakeFiles/navit_core.dir/traffic.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/traffic.c: In function 'traffic_message_restore_segments': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/traffic.c:3534:26: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
pitem->flags = flags; | |
~~~~~~~~~~~~~^~~~~~~ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/traffic.c:3533:25: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
pitem->type = type; | |
~~~~~~~~~~~~^~~~~~ | |
[ 3%] Building C object navit/CMakeFiles/navit_core.dir/util.c.o | |
[ 3%] Building C object navit/CMakeFiles/navit_core.dir/vehicle.c.o | |
[ 3%] Building C object navit/CMakeFiles/navit_core.dir/vehicleprofile.c.o | |
[ 3%] Building C object navit/CMakeFiles/navit_core.dir/xmlconfig.c.o | |
[ 3%] Building C object navit/CMakeFiles/navit_core.dir/event_glib.c.o | |
[ 3%] Linking C static library libnavit_core.a | |
[ 3%] Built target navit_core | |
Scanning dependencies of target navit_config_xml | |
[ 3%] Copy navit.dtd to /home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit-build-arm/navit/navit.dtd | |
[ 3%] Generating navit.xml | |
[ 3%] Generating navit_layout_car.xml | |
[ 3%] Generating navit_layout_car_dark.xml | |
[ 3%] Generating navit_layout_car_android.xml | |
[ 3%] Generating navit_layout_car_simple.xml | |
[ 3%] Generating navit_layout_bike.xml | |
[ 3%] Generating navit_layout_th.xml | |
[ 3%] Built target navit_config_xml | |
Scanning dependencies of target navit | |
[ 3%] Building C object navit/CMakeFiles/navit.dir/start.c.o | |
[ 3%] Linking C executable navit | |
[ 3%] Built target navit | |
Scanning dependencies of target support_shapefile | |
[ 3%] Building C object navit/support/shapefile/CMakeFiles/support_shapefile.dir/dbfopen.c.o | |
[ 3%] Building C object navit/support/shapefile/CMakeFiles/support_shapefile.dir/shpopen.c.o | |
[ 3%] Building C object navit/support/shapefile/CMakeFiles/support_shapefile.dir/shptree.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/support/shapefile/shptree.c: In function 'SHPTreeReadLibc': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/support/shapefile/shptree.c:1008:34: warning: cast increases required alignment of target type [-Wcast-align] | |
(FILE *) file ); | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/support/shapefile/shptree.c: In function 'SHPTreeSeekLibc': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/support/shapefile/shptree.c:1019:30: warning: cast increases required alignment of target type [-Wcast-align] | |
return (SAOffset) fseek( (FILE *) file, (long) offset, whence ); | |
^ | |
[ 3%] Linking C static library libsupport_shapefile.a | |
[ 3%] Built target support_shapefile | |
Scanning dependencies of target font_freetype | |
[ 3%] Building C object navit/font/freetype/CMakeFiles/font_freetype.dir/font_freetype.c.o | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c: In function 'font_freetype_glyph_get_shadow': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:529:37: warning: cast increases required alignment of target type [-Wcast-align] | |
unsigned char **dataptr=(unsigned char **)data; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:533:14: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)ps)[x]=bg; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:542:37: warning: cast increases required alignment of target type [-Wcast-align] | |
unsigned char **dataptr=(unsigned char **)data; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:549:18: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)psp)[1]=fg; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:550:18: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)ps)[0]=fg; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:551:18: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)ps)[1]=fg; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:552:18: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)ps)[2]=fg; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:553:18: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)psn)[1]=fg; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c: In function 'font_freetype_glyph_get_glyph': | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:579:37: warning: cast increases required alignment of target type [-Wcast-align] | |
unsigned char **dataptr=(unsigned char **)data; | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:586:18: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)ps)[0]= | |
^ | |
/home/futura/Desktop/Projects/NAVIT-Malasia-Demo/navit/navit/font/freetype/font_freetype.c:592:18: warning: cast increases required alignment of target type [-Wcast-align] | |
((unsigned int *)ps)[0]=tr; | |
^ | |
[ 3%] Linking C shared module .libs/libfont_freetype.so | |
[ 3%] Built target font_freetype | |
Scanning dependencies of target graphics_sdl | |
[ 3%] Building C object navit/graphics/sdl/CMakeFiles/graphics_sdl.dir/graphics_sdl.c.o | |
[ 3%] Building C object navit/graphics/sdl/CMakeFiles/graphics_sdl.dir/raster.c.o | |
[ 3%] Linking C shared module .libs/libgraphics_sdl.so | |
[ 3%] Built target graphics_sdl | |
[ 3%] Generating RenderArea.moc | |
Scanning dependencies of target graphics_qt_qpainter | |
[ 3%] Building CXX object navit/graphics/qt_qpainter/CMakeFiles/graphics_qt_qpainter.dir/RenderArea.cpp.o | |
/tmp/ccSvbQ1Y.s: Assembler messages: | |
/tmp/ccSvbQ1Y.s:702: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:703: Error: bad instruction `incl [r3]' | |
/tmp/ccSvbQ1Y.s:704: Error: bad instruction `setne r2' | |
/tmp/ccSvbQ1Y.s:738: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:739: Error: bad instruction `decl [r3]' | |
/tmp/ccSvbQ1Y.s:740: Error: bad instruction `setne r2' | |
/tmp/ccSvbQ1Y.s:807: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:808: Error: bad instruction `decl [r3]' | |
/tmp/ccSvbQ1Y.s:809: Error: bad instruction `setne r2' | |
/tmp/ccSvbQ1Y.s:1018: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:1019: Error: bad instruction `decl [r3]' | |
/tmp/ccSvbQ1Y.s:1020: Error: bad instruction `setne r2' | |
/tmp/ccSvbQ1Y.s:1185: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:1186: Error: bad instruction `decl [r3]' | |
/tmp/ccSvbQ1Y.s:1187: Error: bad instruction `setne r2' | |
/tmp/ccSvbQ1Y.s:1295: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:1296: Error: bad instruction `decl [r3]' | |
/tmp/ccSvbQ1Y.s:1297: Error: bad instruction `setne r2' | |
/tmp/ccSvbQ1Y.s:1597: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:1598: Error: bad instruction `decl [r3]' | |
/tmp/ccSvbQ1Y.s:1599: Error: bad instruction `setne r2' | |
/tmp/ccSvbQ1Y.s:1643: Error: bad instruction `lock' | |
/tmp/ccSvbQ1Y.s:1644: Error: bad instruction `decl [r3]' | |
/tmp/ccSvbQ1Y.s:1645: Error: bad instruction `setne r2' | |
navit/graphics/qt_qpainter/CMakeFiles/graphics_qt_qpainter.dir/build.make:67: recipe for target 'navit/graphics/qt_qpainter/CMakeFiles/graphics_qt_qpainter.dir/RenderArea.cpp.o' failed | |
make[2]: *** [navit/graphics/qt_qpainter/CMakeFiles/graphics_qt_qpainter.dir/RenderArea.cpp.o] Error 1 | |
CMakeFiles/Makefile2:533: recipe for target 'navit/graphics/qt_qpainter/CMakeFiles/graphics_qt_qpainter.dir/all' failed | |
make[1]: *** [navit/graphics/qt_qpainter/CMakeFiles/graphics_qt_qpainter.dir/all] Error 2 | |
Makefile:149: recipe for target 'all' failed | |
make: *** [all] Error 2 | |
These are the steps i followed these are the outputs for cmake ../navit & make steps .. | |
after cmake step i didn't get any file of navit.xml in navit-build-arm directory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment