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

conflicting types in haiku : 'umode_t' #1

Open
mariuz opened this issue Apr 18, 2011 · 1 comment
Open

conflicting types in haiku : 'umode_t' #1

mariuz opened this issue Apr 18, 2011 · 1 comment

Comments

@mariuz
Copy link

mariuz commented Apr 18, 2011

In file included from /home/mariuz/work/haiku/headers/posix/sys/socket.h:11,
from /home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:7:
/home/mariuz/work/haiku/headers/posix/sys/types.h:42: error: conflicting types for 'umode_t'
/home/mariuz/work/lkl-linux-2.6/include/asm-generic/types.h:11: note: previous declaration of 'umode_t' was here
In file included from /home/mariuz/work/haiku/headers/posix/size_t.h:9,
from /home/mariuz/work/haiku/headers/posix/sys/types.h:56,
from /home/mariuz/work/haiku/headers/posix/sys/socket.h:11,
from /home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:7:
/home/mariuz/work/haiku/generated/cross-tools/lib/gcc/i586-pc-haiku/4.4.4/include/stddef.h:211: error: conflicting types for 'size_t'
/home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:4: note: previous declaration of 'size_t' was here
In file included from /home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:8:
/home/mariuz/work/lkl-linux-2.6/include/linux/in.h:184: error: expected specifier-qualifier-list before 'sa_family_t'
In file included from /home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:14:
/home/mariuz/work/haiku/headers/posix/string.h:31: error: conflicting types for 'strlen'
/home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c: In function 'set_sockaddr':
/home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:25: error: 'struct sockaddr_in' has no member named 'sin_family'
/home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:26: error: 'struct sockaddr_in' has no member named 'sin_addr'
/home/mariuz/work/lkl-linux-2.6/arch/lkl/envs//lib/net.c:27: error: 'struct sockaddr_in' has no member named 'sin_port'
make[2]: *** [arch/lkl/envs//lib/net.o] Error 1
make[1]: *** [lkl.a] Error 2
make: *** [sub-make] Error 2

@mariuz
Copy link
Author

mariuz commented Apr 21, 2011

i solved by removing net.c and the compilation progressed

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