On Friday, December 26, 2014 09:28:42 PM Shankari Vaidyalingam wrote:
> Hi
> 
> Thanks for the response.
> 
> I installed the devel files of libpthread - libpthread-stubs0-dev and then
> 
> built DPDK and then tried executing make in OVS but getting the same error.

I read your message again and spot an extra space between -l and pthread
where it should have been just -lpthread.

Have you modified either dpdk or openvswitch or exported any flags?
fbl




> 
> Please help.
> 
> Regards
> 
> Shankari.V
> 
> 
> 
> On Thursday, December 25, 2014 03:47:35 PM Shankari Vaidyalingam wrote:
> >* Hi,
> *> >* I'm trying to install OVS with DPDK.
> *>* OVS version - 2.3.0
> *>* DPDK - 1.8
> *> > >* I''m getting the below error while executing make command in the OVS
> *>* directory:
> *> >* mv -f $depbase.Tpo $depbase.Po
> *>* /bin/bash ./libtool  --tag=CC   --mode=link gcc -Wstrict-prototypes -Wall
> *>* -Wextra -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement
> *>* -Wformat-security -Wno-format-zero-length -Wswitch-enum -Wunused-parameter
> *>* -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes
> *>* -Wmissing-field-initializers  -g -O2    -o utilities/ovs-appctl
> *>* utilities/ovs-appctl.o lib/libopenvswitch.la
> <http://libopenvswitch.la> -lusb-1.0 -l pthread
> *>* libtool: link: gcc -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare
> *>* -Wpointer-arith -Wdeclaration-after-statement -Wformat-security
> *>* -Wno-format-zero-length -Wswitch-enum -Wunused-parameter -Wstrict-aliasing
> *>* -Wbad-function-cast -Wcast-align -Wmissing-prototypes
> *>* -Wmissing-field-initializers -g -O2 -o utilities/ovs-appctl
> *>* utilities/ovs-appctl.o pthread  lib/.libs/libopenvswitch.a -lssl -lcrypto
> *>* -lusb-1.0 -l
> *>* gcc: error: pthread: No such file or directory
> *
> You need to install the devel files of libpthread in order to be able to link.
> 
> fbl

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to