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

Build failure on recent FreeBSD current #12

Closed
wxsBSD opened this issue Aug 2, 2014 · 1 comment
Closed

Build failure on recent FreeBSD current #12

wxsBSD opened this issue Aug 2, 2014 · 1 comment

Comments

@wxsBSD
Copy link

wxsBSD commented Aug 2, 2014

Trying to build libuinet under a fairly recent FreeBSD current (11.0-CURRENT FreeBSD 11.0-CURRENT #23 r269088) fails with the following:

cc -c -O2 -pipe -fno-strict-aliasing  -std=c99 -ggdb -O0 -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -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   -fstack-protector -I. -I/usr/home/wxs/dev/libuinet/lib/libuinet/api_include  -Werror  uinet_host_interface.c
In file included from uinet_host_interface.c:82:
In file included from /usr/home/wxs/dev/libuinet/lib/libuinet/api_include/uinet_api.h:36:
/usr/home/wxs/dev/libuinet/lib/libuinet/api_include/uinet_api_types.h:449:11: error: 
      expected ';' at end of declaration list
        uint64_t        ifi_epoch;              /* uptime at attach or s...
                        ^
/usr/include/net/if.h:107:30: note: expanded from macro 'ifi_epoch'
#define ifi_epoch       __ifi_epoch.tt
                                   ^
1 error generated.
gmake: *** [uinet_host_interface.o] Error 1
wxs@ack libuinet % 
@wxsBSD
Copy link
Author

wxsBSD commented Aug 2, 2014

Oops, somehow submitted twice. Closing.

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