[rrd-users] cross-compiling: cannot find -lrrd

Sergey Kopylov copa at yandex.ru
Tue Feb 10 14:42:22 CET 2015


Yes, using '-L' in TARGET_LDFLAGS - this is the right solution. I changed the
row in Makefile

from: TARGET_LDFLAGS += -I./src/lib -I$(STAGING_DIR)/usr/lib
-I$(STAGING_DIR)/usr/lib/rrdtool-1.2/lib

to: TARGET_LDFLAGS += -L./src/lib -L$(STAGING_DIR)/usr/lib
-L$(STAGING_DIR)/usr/lib/rrdtool-1.2/lib


and my test program was compiled without errors. I have instaled this
program on my router - and it work! Dago and Steve - Thank you very much!
Without you I could not solve this problem!



--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/cross-compiling-cannot-find-lrrd-tp7582841p7582846.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list