Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena

Hi Stanislav,

My best guess that dpdk package is already installed in the system and 
that's why VPP is not compiling internal dpdk


Please uninstall dpdk installed package and re-run compilation. The 
dpdk/custom-config file is must


In case you want to use external dpdk please set 
CONFIG_RTE_CACHE_LINE_SIZE=128 in dpdk/config file


Regards,

Nitin


On Wednesday 18 July 2018 07:52 PM, Stanislav Chlebec wrote:


External Email

Ad 1

No such file exists

Ad 2

stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$ 
cat 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h


/** Autogenerated by Autotools **/

#ifndef included_clib_config_h

#define included_clib_config_h

#ifndef CLIB_LOG2_CACHE_LINE_BYTES

#define CLIB_LOG2_CACHE_LINE_BYTES  7

#endif

#endif

stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$

Thanks

Stanislav

*From:*Nitin Saxena [mailto:nitin.sax...@cavium.com]
*Sent:* Wednesday, July 18, 2018 4:02 PM
*To:* Stanislav Chlebec ; 
vpp-dev@lists.fd.io
*Subject:* Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: 
config.status: error: cannot find input file: `vlib/config.h.in'


Ideally this static assert shouldn't have happened on master branch 
unless you are using external dpdk.


can you please check

1) what is the value of CONFIG_RTE_CACHE_LINE_SIZE in file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/custom-config 



2) can you paste content of file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h

Regards,
Nitin

On Wednesday 18 July 2018 07:14 PM, Stanislav Chlebec wrote:

External Email

stanislav@contivvpp:~/work/vpp$ gcc --version

gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. 
There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

stanislav@contivvpp:~/work/vpp$

stanislav@contivvpp:~/work/vpp$ make build

make[1]: Entering directory '/home/stanislav/work/vpp/build-root'

 Arch for platform 'vpp' is native 

 Finding source for dpdk 

 Makefile fragment found in
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 

 Source found in /home/stanislav/work/vpp/dpdk 

 Arch for platform 'vpp' is native 

 Finding source for vpp 

 Makefile fragment found in
/home/stanislav/work/vpp/build-data/packages/vpp.mk 

 Source found in /home/stanislav/work/vpp/src 

 Configuring dpdk in
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

 Building dpdk in
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'

make check-deb







/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:
In function ‘dpdk_init’:


/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3:
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not
match with 1<mailto:nitin.sax...@cavium.com]
*Sent:* Wednesday, July 18, 2018 12:58 PM
*To:* vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
*Subject:* Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error:
    config.status: error: cannot find input file: `vlib/config.h.in'

Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2
compilation works on master branch.

Also I observed that following gerrit job running on Cavium's
ThunderX compiles src/vnet/ethernet/interface.c successfully.

https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on
Cavium's ThunderX. So I suggest

1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS
in build-data/platforms/vpp.mk and ignore warning

2) I am guessing problem with your GCC version? Which gcc version
you are using? Can you try using gcc 5.4.0/5.5.0

Thanks,

Nitin

On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:

External Email

I got

/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,
^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:
At top level:
cc1: error: unrecognized command line option
‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo'

Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
Ad 1
No such file exists
Ad 2
stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$ cat 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h
/** Autogenerated by Autotools **/
#ifndef included_clib_config_h
#define included_clib_config_h
#ifndef CLIB_LOG2_CACHE_LINE_BYTES
#define CLIB_LOG2_CACHE_LINE_BYTES  7
#endif
#endif
stanislav@contivvpp:~/work/vpp/build-root/build-vpp_debug-native/dpdk$

Thanks
Stanislav


From: Nitin Saxena [mailto:nitin.sax...@cavium.com]
Sent: Wednesday, July 18, 2018 4:02 PM
To: Stanislav Chlebec ; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: 
error: cannot find input file: `vlib/config.h.in'


Ideally this static assert shouldn't have happened on master branch unless you 
are using external dpdk.

can you please check

1) what is the value of CONFIG_RTE_CACHE_LINE_SIZE in file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/custom-config

2) can you paste content of file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h
Regards,
Nitin
On Wednesday 18 July 2018 07:14 PM, Stanislav Chlebec wrote:

External Email
stanislav@contivvpp:~/work/vpp$ gcc --version
gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

stanislav@contivvpp:~/work/vpp$


stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 
 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 
 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make check-deb



/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: In 
function ‘dpdk_init’:
/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3: 
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not match with 
1<mailto:nitin.sax...@cavium.com]
Sent: Wednesday, July 18, 2018 12:58 PM
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: 
error: cannot find input file: `vlib/config.h.in'


Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2 compilation 
works on master branch.

Also I observed that following gerrit job running on Cavium's ThunderX compiles 
src/vnet/ethernet/interface.c successfully.

https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on Cavium's 
ThunderX. So I suggest

1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in 
build-data/platforms/vpp.mk and ignore warning

2) I am guessing problem with your GCC version? Which gcc version you are 
using? Can you try using gcc 5.4.0/5.5.0



Thanks,

Nitin
On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:

External Email
I got
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: 
error: self-comparison always evaluates to true [-Werror=tautological-compare]
vlib_validate_buffer_enqueue_x4 (vm, node, next_index,









 ^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: At top 
level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ 
[-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed





-=-=-=-=-=-=-=-=-=-=-=-

Links: Y

Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena
Ideally this static assert shouldn't have happened on master branch 
unless you are using external dpdk.


can you please check

1) what is the value of CONFIG_RTE_CACHE_LINE_SIZE in file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/custom-config 



2) can you paste content of file

/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/vppinfra/config.h

Regards,
Nitin

On Wednesday 18 July 2018 07:14 PM, Stanislav Chlebec wrote:


External Email

stanislav@contivvpp:~/work/vpp$ gcc --version

gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.


stanislav@contivvpp:~/work/vpp$

stanislav@contivvpp:~/work/vpp$ make build

make[1]: Entering directory '/home/stanislav/work/vpp/build-root'

 Arch for platform 'vpp' is native 

 Finding source for dpdk 

 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 


 Source found in /home/stanislav/work/vpp/dpdk 

 Arch for platform 'vpp' is native 

 Finding source for vpp 

 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 


 Source found in /home/stanislav/work/vpp/src 

 Configuring dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 


 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 


make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'

make check-deb







/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: 
In function ‘dpdk_init’:


/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3: 
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not 
match with 1<

STATIC_ASSERT (RTE_CACHE_LINE_SIZE == 1 << CLIB_LOG2_CACHE_LINE_BYTES,

^

/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: 
At top level:


cc1: error: unrecognized command line option 
‘-Wno-address-of-packed-member’ [-Werror]


cc1: all warnings being treated as errors

Makefile:3694: recipe for target 'dpdk/device/dpdk_plugin_la-init.lo' 
failed


make[5]: *** [dpdk/device/dpdk_plugin_la-init.lo] Error 1

make[5]: *** Waiting for unfinished jobs

make[5]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/plugins'


Makefile:2395: recipe for target 'all' failed

make[4]: *** [all] Error 2

make[4]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp/plugins'


Makefile:8363: recipe for target 'all-recursive' failed

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp'


Makefile:4243: recipe for target 'all' failed

make[2]: *** [all] Error 2

make[2]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/vpp'


Makefile:691: recipe for target 'vpp-build' failed

make[1]: *** [vpp-build] Error 2

make[1]: Leaving directory '/home/stanislav/work/vpp/build-root'

Makefile:333: recipe for target 'build' failed

make: *** [build] Error 2

*From:*Nitin Saxena [mailto:nitin.sax...@cavium.com]
*Sent:* Wednesday, July 18, 2018 12:58 PM
*To:* vpp-dev@lists.fd.io
*Subject:* Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: 
config.status: error: cannot find input file: `vlib/config.h.in'


Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2 
compilation works on master branch.


Also I observed that following gerrit job running on Cavium's ThunderX 
compiles src/vnet/ethernet/interface.c successfully.


https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on 
Cavium's ThunderX. So I suggest


1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in 
build-data/platforms/vpp.mk and ignore warning


2) I am guessing problem with your GCC version? Which gcc version you 
are using? Can you try using gcc 5.4.0/5.5.0


Thanks,

Nitin

On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:

External Email

I got

/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785:
error: self-comparison always evaluates to true
[-Werror=tautological-compare]
    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,
^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:
At top level:
cc1: error: unrecognized command line option
‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed




-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.

View/Reply Online (#9866):https://lis

Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
stanislav@contivvpp:~/work/vpp$ gcc --version
gcc (Ubuntu/Linaro 5.5.0-12ubuntu1~16.04) 5.5.0 20171010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

stanislav@contivvpp:~/work/vpp$


stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 
 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 
 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make check-deb



/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c: In 
function ‘dpdk_init’:
/home/stanislav/work/vpp/build-data/../src/plugins/dpdk/device/init.c:1743:3: 
error: static assertion failed: "DPDK RTE CACHE LINE SIZE does not match with 
1<mailto:nitin.sax...@cavium.com]
Sent: Wednesday, July 18, 2018 12:58 PM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: 
error: cannot find input file: `vlib/config.h.in'


Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2 compilation 
works on master branch.

Also I observed that following gerrit job running on Cavium's ThunderX compiles 
src/vnet/ethernet/interface.c successfully.

https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on Cavium's 
ThunderX. So I suggest

1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in 
build-data/platforms/vpp.mk and ignore warning

2) I am guessing problem with your GCC version? Which gcc version you are 
using? Can you try using gcc 5.4.0/5.5.0



Thanks,

Nitin
On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:

External Email
I got
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: 
error: self-comparison always evaluates to true [-Werror=tautological-compare]
vlib_validate_buffer_enqueue_x4 (vm, node, next_index,









 ^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: At top 
level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ 
[-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed




-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.



View/Reply Online (#9866): https://lists.fd.io/g/vpp-dev/message/9866

Mute This Topic: https://lists.fd.io/mt/23669223/675191

Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=2214648

Group Owner: vpp-dev+ow...@lists.fd.io<mailto:vpp-dev+ow...@lists.fd.io>

Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  
[nitin.sax...@cavium.com<mailto:nitin.sax...@cavium.com>]

-=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9877): https://lists.fd.io/g/vpp-dev/message/9877
Mute This Topic: https://lists.fd.io/mt/23669223/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena

Hi Stanislav,

Unfortunately I do not have access to ThunderX but my ThunderX2 
compilation works on master branch.


Also I observed that following gerrit job running on Cavium's ThunderX 
compiles src/vnet/ethernet/interface.c successfully.


https://jenkins.fd.io/job/vpp-arm-verify-master-ubuntu1604/1404/console

So I am guessing you are compiling VPP master branch natively on 
Cavium's ThunderX. So I suggest


1) Either remove -Werror from vpp_TAG_CFLAGS/vpp_debug/TAG_CFLAGS in 
build-data/platforms/vpp.mk and ignore warning


2) I am guessing problem with your GCC version? Which gcc version you 
are using? Can you try using gcc 5.4.0/5.5.0



Thanks,

Nitin

On Wednesday 18 July 2018 03:47 PM, Stanislav Chlebec wrote:


External Email

I got
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: 
error: self-comparison always evaluates to true 
[-Werror=tautological-compare]

    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,
^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: 
At top level:
cc1: error: unrecognized command line option 
‘-Wno-address-of-packed-member’ [-Werror]

cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9866): https://lists.fd.io/g/vpp-dev/message/9866
Mute This Topic: https://lists.fd.io/mt/23669223/675191
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=2214648
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [nitin.sax...@cavium.com]
-=-=-=-=-=-=-=-=-=-=-=-


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9868): https://lists.fd.io/g/vpp-dev/message/9868
Mute This Topic: https://lists.fd.io/mt/23669223/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
I got
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c:529:785: 
error: self-comparison always evaluates to true [-Werror=tautological-compare]
    vlib_validate_buffer_enqueue_x4 (vm, node, next_index,









 ^
/home/stanislav/work/vpp/build-data/../src/vnet/ethernet/interface.c: At top 
level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ 
[-Werror]
cc1: all warnings being treated as errors
Makefile:7307: recipe for target 'vnet/ethernet/interface.lo' failed
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9866): https://lists.fd.io/g/vpp-dev/message/9866
Mute This Topic: https://lists.fd.io/mt/23669223/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Nitin Saxena

Hi Stan,

I prefer you should use master branch and not v1804 for ThunderX.

Also "make bootstrap" is not required anymore. From the logs look like 
problem with Autoconf tools.


Thanks,

Nitin



On Wednesday 18 July 2018 02:24 PM, Stanislav Chlebec wrote:


External Email

Hello

I am trying to build VPP on Cavium ThunderX
git clone https://gerrit.fd.io/r/vpp
cd vpp/
git checkout v18.04

stanislav@contivvpp:~/work/vpp$ git status
HEAD detached at v18.04
nothing to commit, working directory clean

make install-dep
make bootstrap
make build

then I got this error message:
config.status: error: cannot find input file: `vlib/config.h.in'
Makefile:640: recipe for target 'vpp-configure' failed
make[1]: *** [vpp-configure] Error 1
make[1]: Leaving directory '/home/stanislav/work/vpp/build-root'
Makefile:317: recipe for target 'build' failed
make: *** [build] Error 2

Plese could you help me to solve that?
Thanks
Stanislav




stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 

 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 

 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk: nothing to do 
 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 

make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
==
Building DPDK from source. Consider installing development
package by invoking 'make dpdk-install-dev' from the
top level directory
==
make config
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent 
make rule.
  % Total    % Received % Xferd  Average Speed   Time Time Time  
Current
 Dload  Upload   Total Spent    Left  
Speed
100  9.9M  100  9.9M    0 0  2335k  0  0:00:04  0:00:04 
--:--:-- 2335k

--- extracting dpdk-18.02.1.tar.xz ---
--- generating custom config from 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1/config/defconfig_arm64-thunderx-linuxapp-gcc 
---
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'

Configuration done using custom-config
make[4]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'

make[3]: Leaving directory '/home/stanislav/work/vpp/dpdk'
make[2]: Leaving directory '/home/stanislav/work/vpp/dpdk'
 Installing dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make install
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'

Configuration done using custom-config
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
  SYMLINK-FILE include/rte_compat.h
== Build lib/librte_eal/common
  SYMLINK-FILE include/rte_branch_prediction.h
  SYMLINK-FILE include/rte_common.h
  SYMLINK-FILE include/rte_debug.h
  SYMLINK-FILE include/rte_eal.h
  SYMLINK-FILE include/rte_eal_interrupts.h
  SYMLINK-FILE include/rte_errno.h
  SYMLINK-FILE include/rte_launch.h
  SYMLINK-FILE include/rte_lcore.h
  SYMLINK-FILE include/rte_log.h
  SYMLINK-FILE include/rte_memory.h
  SYMLINK-FILE include/rte_memzone.h
  SYMLINK-FILE include/rte_per_lcore.h
  SYMLINK-FILE include/rte_random.h
  SYMLINK-FILE include/rte_tailq.h
  SYMLINK-FILE include/rte_interrupts.h
  SYMLINK-FILE include/rte_alarm.h
  SYMLINK-FILE include/rte_string_fns.h
  SYMLINK-FILE include/rte_version.h
  SYMLINK-FILE include/rte_eal_memconfig.h
  SYMLINK-FILE include/rte_malloc_heap.h
  SYMLINK-FILE include/rte_hexdump.h
  SYMLINK-FILE include/rte_devargs.h
  SYMLINK-FILE include/rte_bus.h
  SYMLINK-FILE include/rte_dev.h
  SYMLINK-FILE include/rte_pci_dev_feature_defs.h
  SYMLINK-FILE include/rte_pci_dev_features.h
  SYMLINK-FILE include/rte_malloc.h
  SYMLINK-FILE include/rte_keepalive.h
  SYMLINK-FILE include/rte_time.h
  SYMLINK-FILE include/rte_service.h
  SYMLINK-FILE include/rte_service_component.h
  SYMLINK-FILE include/rte_bitmap.h
  SYMLINK-FILE include/rte_vfio.h
  SYMLINK-FILE include/rte_hypervisor.h
  SYMLINK-FILE include/rte_test.h
  SYMLINK-FILE include/rte_reciprocal.h
  SYMLINK-FILE include/rte_atomic.h
  SYMLINK-FILE include/rte_atomic_32.h
  SYMLINK-FILE include/rte_atomic_64.h
  SYMLINK-FILE include/rte_byteorder.h
  SYMLINK-FILE include/rte_cpuflags.h
  SYMLINK-FILE include/rte_cpuflags_32.h
  SYMLINK-FILE 

[vpp-dev] #vpp Cavium ThunderX (ARM64) Build error: config.status: error: cannot find input file: `vlib/config.h.in'

2018-07-18 Thread Stanislav Chlebec
Hello

I am trying to build VPP on Cavium ThunderX
git clone https://gerrit.fd.io/r/vpp
cd vpp/
git checkout v18.04

stanislav@contivvpp:~/work/vpp$ git status
HEAD detached at v18.04
nothing to commit, working directory clean

make install-dep
make bootstrap
make build
 
then I got this error message:
config.status: error: cannot find input file: `vlib/config.h.in'
Makefile:640: recipe for target 'vpp-configure' failed
make[1]: *** [vpp-configure] Error 1
make[1]: Leaving directory '/home/stanislav/work/vpp/build-root'
Makefile:317: recipe for target 'build' failed
make: *** [build] Error 2

Plese could you help me to solve that?
Thanks
Stanislav

stanislav@contivvpp:~/work/vpp$ make build
make[1]: Entering directory '/home/stanislav/work/vpp/build-root'
 Arch for platform 'vpp' is native 
 Finding source for dpdk 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/dpdk.mk 
 Source found in /home/stanislav/work/vpp/dpdk 
 Arch for platform 'vpp' is native 
 Finding source for vpp 
 Makefile fragment found in 
/home/stanislav/work/vpp/build-data/packages/vpp.mk 
 Source found in /home/stanislav/work/vpp/src 
 Configuring dpdk: nothing to do 
 Building dpdk in 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
==
Building DPDK from source. Consider installing development
package by invoking 'make dpdk-install-dev' from the
top level directory
==
make config
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
  % Total    % Received % Xferd  Average Speed   Time    Time Time  Current
 Dload  Upload   Total   Spent    Left  Speed
100  9.9M  100  9.9M    0 0  2335k  0  0:00:04  0:00:04 --:--:-- 2335k
--- extracting dpdk-18.02.1.tar.xz ---
--- generating custom config from 
/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1/config/defconfig_arm64-thunderx-linuxapp-gcc
 ---
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'
Configuration done using custom-config
make[4]: Leaving directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'
make[3]: Leaving directory '/home/stanislav/work/vpp/dpdk'
make[2]: Leaving directory '/home/stanislav/work/vpp/dpdk'
 Installing dpdk 
make[2]: Entering directory '/home/stanislav/work/vpp/dpdk'
make install
make[3]: Entering directory '/home/stanislav/work/vpp/dpdk'
make[4]: Entering directory 
'/home/stanislav/work/vpp/build-root/build-vpp_debug-native/dpdk/dpdk-stable-18.02.1'
Configuration done using custom-config
== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
  SYMLINK-FILE include/rte_compat.h
== Build lib/librte_eal/common
  SYMLINK-FILE include/rte_branch_prediction.h
  SYMLINK-FILE include/rte_common.h
  SYMLINK-FILE include/rte_debug.h
  SYMLINK-FILE include/rte_eal.h
  SYMLINK-FILE include/rte_eal_interrupts.h
  SYMLINK-FILE include/rte_errno.h
  SYMLINK-FILE include/rte_launch.h
  SYMLINK-FILE include/rte_lcore.h
  SYMLINK-FILE include/rte_log.h
  SYMLINK-FILE include/rte_memory.h
  SYMLINK-FILE include/rte_memzone.h
  SYMLINK-FILE include/rte_per_lcore.h
  SYMLINK-FILE include/rte_random.h
  SYMLINK-FILE include/rte_tailq.h
  SYMLINK-FILE include/rte_interrupts.h
  SYMLINK-FILE include/rte_alarm.h
  SYMLINK-FILE include/rte_string_fns.h
  SYMLINK-FILE include/rte_version.h
  SYMLINK-FILE include/rte_eal_memconfig.h
  SYMLINK-FILE include/rte_malloc_heap.h
  SYMLINK-FILE include/rte_hexdump.h
  SYMLINK-FILE include/rte_devargs.h
  SYMLINK-FILE include/rte_bus.h
  SYMLINK-FILE include/rte_dev.h
  SYMLINK-FILE include/rte_pci_dev_feature_defs.h
  SYMLINK-FILE include/rte_pci_dev_features.h
  SYMLINK-FILE include/rte_malloc.h
  SYMLINK-FILE include/rte_keepalive.h
  SYMLINK-FILE include/rte_time.h
  SYMLINK-FILE include/rte_service.h
  SYMLINK-FILE include/rte_service_component.h
  SYMLINK-FILE include/rte_bitmap.h
  SYMLINK-FILE include/rte_vfio.h
  SYMLINK-FILE include/rte_hypervisor.h
  SYMLINK-FILE include/rte_test.h
  SYMLINK-FILE include/rte_reciprocal.h
  SYMLINK-FILE include/rte_atomic.h
  SYMLINK-FILE include/rte_atomic_32.h
  SYMLINK-FILE include/rte_atomic_64.h
  SYMLINK-FILE include/rte_byteorder.h
  SYMLINK-FILE include/rte_cpuflags.h
  SYMLINK-FILE include/rte_cpuflags_32.h
  SYMLINK-FILE include/rte_cpuflags_64.h
  SYMLINK-FILE include/rte_cycles.h
  SYMLINK-FILE include/rte_cycles_32.h
  SYMLINK-FILE include/rte_cycles_64.h
  SYMLINK-FILE include/rte_io.h
  SYMLINK-FILE include/rte_io_64.h
  SYMLINK-FILE include/rte_memcpy.h
  SYMLINK-FILE include/rte_memcpy_32.h
  SYMLINK-FILE