Messages in this thread | | | Date | Thu, 24 Dec 1998 10:55:16 -0600 (CST) | From | Adam Heath <> | Subject | 2.1.132 compile errors |
| |
make[2]: Entering directory `/root/kernel/linux/drivers/net' gcc -D__KERNEL__ -I/root/kernel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o auto_irq.o auto_irq.c auto_irq.c: In function `autoirq_setup': auto_irq.c:46: warning: implicit declaration of function `probe_irq_on' auto_irq.c: In function `autoirq_report': auto_irq.c:54: warning: implicit declaration of function `probe_irq_off' gcc -D__KERNEL__ -I/root/kernel/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o Space.o Space.c In file included from Space.c:33: /root/kernel/linux/include/linux/netlink.h:18: parse error before `sa_family_t' /root/kernel/linux/include/linux/netlink.h:18: warning: no semicolon at end of struct or union /root/kernel/linux/include/linux/netlink.h:20: parse error before `nl_pid' /root/kernel/linux/include/linux/netlink.h:20: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:21: parse error before `nl_groups' /root/kernel/linux/include/linux/netlink.h:21: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:26: parse error before `__u32' /root/kernel/linux/include/linux/netlink.h:26: warning: no semicolon at end of struct or union /root/kernel/linux/include/linux/netlink.h:27: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:28: parse error before `nlmsg_flags' /root/kernel/linux/include/linux/netlink.h:28: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:29: parse error before `nlmsg_seq' /root/kernel/linux/include/linux/netlink.h:29: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:30: parse error before `nlmsg_pid' /root/kernel/linux/include/linux/netlink.h:30: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:80: field `msg' has incomplete type /root/kernel/linux/include/linux/netlink.h:89: field `creds' has incomplete type/root/kernel/linux/include/linux/netlink.h:90: parse error before `__u32' /root/kernel/linux/include/linux/netlink.h:90: warning: no semicolon at end of struct or union /root/kernel/linux/include/linux/netlink.h:91: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:92: parse error before `dst_pid' /root/kernel/linux/include/linux/netlink.h:92: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:93: parse error before `dst_groups' /root/kernel/linux/include/linux/netlink.h:93: warning: data definition has no type or storage class /root/kernel/linux/include/linux/netlink.h:94: parse error before `eff_cap' /root/kernel/linux/include/linux/netlink.h:94: warning: data definition has no type or storage class
and so on.
In can figure out what include files to add, but why? netlink.h should include the files it needs, and not depend on the .c file to include the correct ones. I notice this error in other .h files as well.
Adam
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |