paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] problem compiling ant_track_pmm


From: hendrixgr .
Subject: [Paparazzi-devel] problem compiling ant_track_pmm
Date: Sat, 19 Mar 2016 00:41:15 +0200

Hi.
Now that i have everything up and running on version 5.8 stable i found one last problem.
I can't compile the ant_track_pmm program found at paparazzi/sw/ground_segment/cockpit/
There is a chance that my ubuntu 14.04 LTS installation is a bit messed up so if you can't reproduce this error on other machines please let me know
The error i get is this:

address@hidden:~/paparazzi/sw/ground_segment/cockpit$ make
DEPEND .depend
gcc -g -O2 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz   -fPIC  -g -o ant_track_pmm ant_track_pmm.c -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype   -s -lglibivy 
/usr/bin/ld: /tmp/ccAPx7EJ.o: undefined reference to symbol 'sqrt@@GLIBC_2.0'
//lib/i386-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [ant_track_pmm] Error 1
address@hidden:~/paparazzi/sw/ground_segment/cockpit$

Now this means if i am not mistaken that the compiler cannot find the sqrt function
so i added  -lm to the linker flags.
This time i got this error:

address@hidden:~/paparazzi/sw/ground_segment/cockpit$ make
DEPEND .depend
gcc -g -O2 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz   -fPIC  -g -o ant_track_pmm ant_track_pmm.c -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lglib-2.0 -lfreetype   -lm -s -lglibivy 
/usr/bin/ld: /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libglib-2.0.so: undefined reference to symbol 'pcre_study'
//lib/i386-linux-gnu/libpcre.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [ant_track_pmm] Error 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]