Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redefinition of 'struct in6_addr' #7

Open
M3hd1R opened this issue Apr 20, 2021 · 0 comments
Open

redefinition of 'struct in6_addr' #7

M3hd1R opened this issue Apr 20, 2021 · 0 comments

Comments

@M3hd1R
Copy link

M3hd1R commented Apr 20, 2021

Hi
I want to compile clickos. I do this with the following command and environment variables:

./configure --enable-minios --with-xen=$XEN_ROOT
make minios
export MINIOS_ROOT=pwd/mini-os
export XEN_ROOT=/root/xen/
export NEWLIB_ROOT=pwd/toolchain/x86_64-root/x86_64-xen-elf
export LWIP_ROOT=pwd/toolchain/x86_64-root/x86_64-xen-elf

and when I first do it I get the following error:
can not find xenstore.h: no such a file or directory
In order to resolve above error I checkout to 'stable-4.1' branch of xen project, and run compile commands again
then my error changes to the following error:

In file included from /root/mini-os/include/posix/netinet/in.h:7,
from /root/clickos/include/click/glue.hh:71,
from /root/clickos/include/click/hashcontainer.hh:3,
from /root/clickos/include/click/hashtable.hh:20,
from /root/clickos/include/click/lexer.hh:4,
from /root/clickos/minios/click.cc:42:
/root/mini-os/include/posix/netinet/in6.h:91:8: error: redefinition of 'struct in6_addr'
struct in6_addr {

how cat I resolve this problem?
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant