Messages in this thread | | | From | Herbert Rosmanith <> | Subject | 1.3.80 & compiling appl. programs | Date | Mon, 1 Apr 1996 01:48:41 +0200 (MET DST) |
| |
fyi,
when compiling, (my own program, *not* the kernel), linux 1.3.80 gives me the following error:
> root@ferkel # make > cc -Wall -O6 -c slip.c -o slip.o > In file included from /usr/include/net/if_arp.h:1, > from slip.c:10: > /usr/include/linux/if_arp.h:118: `MAX_ADDR_LEN' undeclared here (not in a function) > make: *** [slip.o] Error 1 > root@ferkel #
the program includes the follwoing files in the follwoing order:
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <ctype.h> #include <netinet/in.h> #include <arpa/inet.h> #include <net/if.h> #include <net/if_route.h> #include <net/if_arp.h> #include <netdb.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/stat.h> #include <signal.h> #include <fcntl.h> #include <termio.h> #include "config.h"
can you tell me, if there's an additionnal file needed now ? It was possible to compile it with 1.3.74 without the above error.
regards, herp herp@wildsau.idv.uni-linz.ac.at rosmanith@edvz.uni-linz.ac.at
| |