mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 03:57:45 +08:00
[logalizer][fix] add pcre lib to plotprofile, weird...
Very weird stuff: works here on several Ubuntu 12.04 machines without explictly adding -lpcre For Pranay it only works with explicitly adding it gcc ... --verbose outputs _exactly_ the same stuff as on my machine, but he gets: /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libglibivy.a(ivybind.o):function IvyBindingCompile: error: undefined reference to 'pcre_compile' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libglibivy.a(ivybind.o):function IvyBindingCompile: error: undefined reference to 'pcre_study' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libglibivy.a(ivybind.o):function IvyBindingCompile: error: undefined reference to 'pcre_fullinfo' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libglibivy.a(ivybind.o):function IvyBindingFree: error: undefined reference to 'pcre_free' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libglibivy.a(ivybind.o):function IvyBindingFree: error: undefined reference to 'pcre_free' /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libglibivy.a(ivybind.o):function IvyBindingExec: error: undefined reference to 'pcre_exec' collect2: ld returned 1 exit status
This commit is contained in:
@@ -132,7 +132,7 @@ disp3d: disp3d.c
|
||||
|
||||
plotprofile: plotprofile.c
|
||||
@echo CC $@
|
||||
$(Q)$(CC) $(IVY_C_LIBRARYS) $(IVY_C_INCLUDES) -g -O2 -Wall `pkg-config glib-2.0 --cflags` -o $@ $^ `pkg-config glib-2.0 --libs` -lglibivy
|
||||
$(Q)$(CC) $(IVY_C_LIBRARYS) $(IVY_C_INCLUDES) -g -O2 -Wall `pkg-config glib-2.0 --cflags` -o $@ $^ `pkg-config glib-2.0 --libs` -lglibivy -lpcre
|
||||
|
||||
test1: test1.c
|
||||
@echo CC $@
|
||||
|
||||
Reference in New Issue
Block a user