On 8/17/21 10:21 AM, mythosmonkeyking wrote:
> Hi,
>     Because of this error, the scripts generated after compilation are empty, 
> such as OVS vsctl, OVS CTL, and so on.
>     In the previous email, I listed the relevant compilation commands, 
> software version and system environment. These are the same as the guidance 
> documents. I can't find what's wrong.

Hi.  That is a very weird issue.

The message "Something wrong with TOP_DIR" is not originated
in OVS sources.  Presumably, it goes from some of the python
libraries or from the python interpreter itself, but I have
no idea from where exactly.  I can't reproduce the issue.
I'd say that your python environment is messed up.

Can you reproduce on a different system?

Best regards, Ilya Maximets.


> | |
> mythosmonkeyking
> |
> |
> [email protected]
> |
> 签名由网易邮箱大师定制
> On 8/13/2021 15:58,mythosmonkeyking<[email protected]> wrote:
> Hi,
>     I made a new discovery, but I don't know why the script went wrong. why???
> 
> 
> [mythos@localhost build-gcc]$ pwd
> /home/mythos/github/ovs/build-gcc
> [mythos@localhost build-gcc]$ /usr/bin/python3 ../build-aux/soexpand.py -I.. 
> < ../utilities/ovs-test.in
> Something wrong with TOP_DIR, can't find:  ${TOP_DIR}/include
> [mythos@localhost build-gcc]$ 
> 
> 
> 
> 
> | |
> mythosmonkeyking
> |
> |
> [email protected]
> |
> 签名由网易邮箱大师定制
> On 8/13/2021 09:47,mythosmonkeyking<[email protected]> wrote:
> Hi,
>     I provided an error clue. The kernel version I used at compile time was 
> 4.9.188-35.el7.x86_ 64. Unfortunately, I have encountered this error and 
> haven't solved it yet. If you are interested in this problem, I can provide 
> more information.
> 
> 
> | |
> mythosmonkeyking
> |
> |
> [email protected]
> |
> 签名由网易邮箱大师定制
> On 8/12/2021 15:41,mythosmonkeyking<[email protected]> wrote:
> Hi,
>     Up to now, I still haven't found the reason for this problem. Who can 
> help me see it? Thank you very much.
> 
> 
> | |
> mythosmonkeyking
> |
> |
> [email protected]
> |
> 签名由网易邮箱大师定制
> On 8/12/2021 10:13,mythosmonkeyking<[email protected]> wrote:
> Hi,
>     When I compiled OVS, I found that ovs-ctl and other scripts were empty. I 
> listed my system information and what went wrong.
> The compilation command is as follows:
> 
> 
> ./boot.sh
> mkdir build-gcc && cd build-gcc
> ../configure --prefix=$PWD/tmp --enable-shared CFLAGS="-g -O2 -msse4.2 
> -mpopcnt -march=native -fsanitize=address -fno-omit-frame-pointer 
> -fno-common" --with-linux=/lib/modules/4.9.188-35.el7.x86_64/build 
> --enable-Werror
> cd ..
> make -C build-gcc
> 
> 
> but, I have the following problems, ovs-ctl script is empty, and other 
> scripts that start with "osv-" are also empty
> 
> 
> [mythos@localhost ovs]$ find . -name ovs-ctl
> ./build-gcc/utilities/ovs-ctl
> [mythos@localhost ovs]$ 
> [mythos@localhost ovs]$ cat ./build-gcc/utilities/ovs-ctl
> Something wrong with TOP_DIR, can't find:  ${TOP_DIR}/include
> [mythos@localhost ovs]$ 
> [mythos@localhost ovs]$ git branch 
> * master
> [mythos@localhost ovs]$ uname -r
> 3.10.0-1160.36.2.el7.x86_64
> [mythos@localhost ovs]$ lsb_release -a
> LSB 
> Version::core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
> Distributor ID:CentOS
> Description:CentOS Linux release 7.9.2009 (Core)
> Release:7.9.2009
> Codename:Core
> [mythos@localhost ovs]$ python --version
> Python 3.6.8
> [mythos@localhost ovs]$ gcc -v
> Using built-in specs.
> COLLECT_GCC=/usr/bin/gcc
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
> Target: x86_64-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
> --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
> --enable-bootstrap --enable-shared --enable-threads=posix 
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit 
> --disable-libunwind-exceptions --enable-gnu-unique-object 
> --enable-linker-build-id --with-linker-hash-style=gnu 
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin 
> --enable-initfini-array --disable-libgcj 
> --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install
>  
> --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install
>  --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 
> --build=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
> [mythos@localhost ovs]$ 
> 
> 
> 
> 
> | |
> mythosmonkeyking
> |
> |
> [email protected]
> |
> 签名由网易邮箱大师定制
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
> 

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to