[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:
Felix Ruess
2013-04-05 00:23:01 +02:00
parent 580cd4d8aa
commit 563ce358f7
+1 -1
View File
@@ -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 $@