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

can't compile on freebsd/i386 #35

Open
erikarn opened this issue Apr 17, 2015 · 0 comments
Open

can't compile on freebsd/i386 #35

erikarn opened this issue Apr 17, 2015 · 0 comments

Comments

@erikarn
Copy link

erikarn commented Apr 17, 2015

cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -O -gdwarf-2 -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-inline -Wcast-qual -Wno-pointer-sign -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-incompatible-library-redeclaration -Wno-builtin-requires-header -DUINET=1 -DHAS_NATIVE_TLS -fstack-protector -D__FreeBSD__ -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-builtin -I/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/override_include -I/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/api_include -undef -imacros filtered_predefined_macros.h -nostdinc -I. -I/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys -I/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/contrib/altq -I/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/contrib/pf -I./machine_include -I./opt -Werror /usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/i386/i386/in_cksum.c
/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/i386/i386/in_cksum.c:508:15: error: variable has incomplete type 'union q_util'
union q_util q_util;
^
/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/i386/i386/in_cksum.c:508:8: note: forward declaration of 'union q_util'
union q_util q_util;
^
/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/i386/i386/in_cksum.c:509:15: error: variable has incomplete type 'union l_util'
union l_util l_util;
^
/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/i386/i386/in_cksum.c:509:8: note: forward declaration of 'union l_util'
union l_util l_util;
^
/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/i386/i386/in_cksum.c:526:14: error: implicit declaration of function 'in_cksumdata' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
sum += in_cksumdata(addr, mlen) << 8;
^
/usr/home/adrian/git/github/pkelsey/libuinet/lib/libuinet/../../sys/i386/i386/in_cksum.c:533:2: error: use of undeclared identifier 'REDUCE16'
REDUCE16;
^
4 errors generated.
Makefile:349: recipe for target 'in_cksum.o' failed
gmake: *** [in_cksum.o] Error 1
adrian@lucy-11i386:~/git/github/pkelsey/libuinet/lib/libuinet %

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