Hi Chuan,

https://wiki.fd.io/view/VPP/Pulling,_Building,_Running,_Hacking_and_Pushing_VPP_Code#Pushing

Feel free to push a patch contributing a fix. :-)

--a

> On 25 Sep 2020, at 17:46, Chuan Han via lists.fd.io 
> <chuanhan=google....@lists.fd.io> wrote:
> 
> 
> Hi, vpp experts, 
> 
> I was building the latest vpp code on a debian testing based system. I hit 
> the following errors when running: make install-ext-deps
> 
> Package libelf was not found in the pkg-config search path.                   
>                                                                               
>                                                                   
> Perhaps you should add the directory containing `libelf.pc'                   
>                                                                               
>                                                                   
> to the PKG_CONFIG_PATH environment variable                                   
>                                                                               
>                                                                            No 
> package 'libelf' found                                                        
>                                                                               
>                                                          
> btf.c:17:10: fatal error: gelf.h: No such file or directory                   
>                                                                               
>                                                                   
>    17 | #include <gelf.h>                                                     
>                                                                               
>                                                                   
>       |          ^~~~~~~~                                                     
>                                                                               
>                                                                   
> compilation terminated.   
> 
> I have to install a missing package before I can build successfully.
> 
> sudo apt-get install libelf-dev
> 
> Does this mean vpp makefile shall be updated so that libelf-dev is installed 
> by default for all debian distributions?
> 
> https://github.com/FDio/vpp/blob/master/Makefile#L98
> 
> If so, can someone update the makefile? 
> 
> Thanks.
> Chuan
> 
> 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17517): https://lists.fd.io/g/vpp-dev/message/17517
Mute This Topic: https://lists.fd.io/mt/77082190/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to