From 563ce358f7d824ea4440bac299880c0906b22a18 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Fri, 5 Apr 2013 00:23:01 +0200 Subject: [PATCH] [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 --- sw/logalizer/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/logalizer/Makefile b/sw/logalizer/Makefile index 61fbc6e9e6..33d00f0ed9 100644 --- a/sw/logalizer/Makefile +++ b/sw/logalizer/Makefile @@ -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 $@