Skip to contentSkip to conversation

#include error (userland)

DISCUSSION David Ford 2 participants 2 messages May 9, 2003

lore
Share & tools
lore

David Ford

author
#0 lore raw

In file included from /usr/include/netinet/igmp.h:26,

                from /usr/include/libnet.h:69,
                from killtcp.c:6:

/usr/include/linux/igmp.h:74:2: #error "Please fix <asm/byteorder.h>" make[1]: *** [killtcp.o] Error 1

What needs to be fixed?

David

#1 lore raw
Quoted 8 lines · David Ford

In file included from /usr/include/netinet/igmp.h:26,

                 from /usr/include/libnet.h:69,
                 from killtcp.c:6:

/usr/include/linux/igmp.h:74:2: #error "Please fix <asm/byteorder.h>" make[1]: *** [killtcp.o] Error 1

What needs to be fixed?

probably should have been #error "Dont include kernel headers in userspace" :)