user/ppp: FTBFS: fatal error: linux/ipx.h: No such file or directory
Found on x86_64:
...
gcc -O2 -ggdb -march=nocona -mtune=core2 -fno-omit-frame-pointer -mfpmath=sse -g -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -I/usr/include/openssl -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -Os -fomit-frame-pointer -c -o spinlock.o spinlock.c
sys-linux.c:134:10: fatal error: linux/ipx.h: No such file or directory
#include <linux/ipx.h>
^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: sys-linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mplscp.c:42:3: warning: initialization of ‘int (*)(fsm *, u_char *, int, int)’ {aka ‘int (*)(struct fsm *, unsigned char *, int, int)’} from incompatible pointer type ‘int (*)(fsm *, u_char *, int)’ {aka ‘int (*)(struct fsm *, unsigned char *, int)’} [-Wincompatible-pointer-types]
mplscp_nakci, /* NAK our Configuration Information */
^~~~~~~~~~~~
...