patch for ax25tools and kernel 2.6
Quoted 4 lines · Brian
Greetings;
I see in last month's archives some questions were raised about the 2.6 series kernels, one was on MDK 10.1... but I saw no answers/replies about the subject.
I am working on the question of udev and kernel 2.6 I think I have a solution with /dev/ptmx and /dev/pts/0 ... 4 See ptmx manual (man ptmx for explanations).
By the way. I have just made a patch including my previous one and the patch taking into account the missing file soundmodem.h for ax25-tools-0.0.8 and kernel 2.6.
I thought it could be more convenient to have only one patch to apply on ax25-tool-0.0.8 in order to make compilation under kernel 2.6.8.x fine.
First, download ax25-tools-0.0.8.tar.gz from sourceforge.net or another mirror site into say, /usr/local/src/ax25 cd into this directory
Then tar xvfz ax25-tools-0.0.8.tar.gz
Then patch -p0 < ax25-tool-0.0.8-kernel-2.6.diff (the name of my attached patch)
an cd toax25-tools-0.0.8
./configure
make
make install
and you are done with all ax25 tools installed into /usr/local/sbin
73 de Bernard,f6bvp
ax25/axspawn.c +1 -1
@@ -124,7 +124,7 @@#include <paths.h> #include <errno.h> #include <syslog.h> -#include <time.h> +#include <sys/time.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h>
hdlcutil/hdrvcomm.c +0 -7
@@ -48,14 +48,7 @@#include "hdrvcomm.h" #include "usersmdiag.h" #include <net/if_arp.h> - -#ifdef __GLIBC__ -#include <net/ethernet.h> -#else #include <linux/if_ether.h> -#endif -#include <netinet/in.h> -#include <linux/if_packet.h> #ifndef SOL_PACKET #define SOL_PACKET 263
hdlcutil/hdrvcomm.h +1 -1
@@ -42,7 +42,7 @@#ifdef HDRVC_KERNEL #include <linux/hdlcdrv.h> -#include "soundmodem.h" +#include <linux/soundmodem.h> #include <linux/baycom.h> #endif /* HDRVC_KERNEL */
hdlcutil/soundmodem.h +0 -90
90 lines not on this page · raw message
kiss/net2kiss.c +0 -2
@@ -49,8 +49,6 @@#include <sys/socket.h> #include <net/if.h> -#include <netinet/in.h> -#ifdef __GLIBC__#include <net/ethernet.h> #else