Add it to sample.am:

sample_plugin_la_LIBADD = [or +=, depending] -lconfig 


-----Original Message-----
From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Sara Gittlin
Sent: Wednesday, March 14, 2018 8:10 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Adding new lib to makefile

Hello All
in my plugin i'm using libconfig to read/parse configuration file.
VPP  fails  when calling to my-plugin-int because this lib is not linked. 
[/usr/bin/vpp: symbol lookup error:
/usr/lib/vpp_plugins/sample_plugin.so: undefined symbol: config_init]

which Makefile  should  i add this new lib libconfig ?

Thank you in advance
-Sara




-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8541): https://lists.fd.io/g/vpp-dev/message/8541
View All Messages In Topic (4): https://lists.fd.io/g/vpp-dev/topic/14625821
Mute This Topic: https://lists.fd.io/mt/14625821/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to