I just installed RedHat 5.1 on my machine and tried to compile the latest
AX25 utils 2.0.42a for Glibc (according to the tar file)after having
patched my kernel with ax25-module-14h.
But, it doesn't compile.
These are the errors I get...
<bigger>
Could somebody please help me get up & running ?????????
/usr/include/linux/rose.h:10: warning: `PF_ROSE' redefined
/usr/include/socketbits.h:71: warning: this is the location of the
previous definition
gcc -Wall -Wstrict-prototypes -O2 -c -o procutils.o procutils.c
gcc -Wall -Wstrict-prototypes -O2 -c -o rsconfig.o rsconfig.c
In file included from rsconfig.c:17:
/usr/include/linux/rose.h:10: warning: `PF_ROSE' redefined
/usr/include/socketbits.h:71: warning: this is the location of the
previous definition
gcc -Wall -Wstrict-prototypes -O2 -c -o ttyutils.o ttyutils.c
gcc -Wall -Wstrict-prototypes -O2 -c -o version.o version.c
ar rcs libax25.a axutils.o axconfig.o daemon.o nrconfig.o procutils.o
rsconfig.o ttyutils.o version.o
make[1]: Leaving directory `/usr/local/src/ax25-utils-2.1.42a/lib'
make[1]: Entering directory `/usr/local/src/ax25-utils-2.1.42a/apps'
gcc -Wall -Wstrict-prototypes -O2 -I/usr/include/ncurses -I../lib -c
call.c
In file included from call.c:40:
/usr/include/linux/rose.h:10: warning: `PF_ROSE' redefined
/usr/include/socketbits.h:71: warning: this is the location of the
previous definition
call.c: In function `connect_to':
call.c:182: `AF_ROSE' undeclared (first use this function)
call.c:182: (Each undeclared identifier is reported only once
call.c:182: for each function it appears in.)
call.c:193: warning: unreachable code at beginning of switch statement
call.c:291: warning: unreachable code at beginning of switch statement
call.c: In function `main':
call.c:1904: `AF_ROSE' undeclared (first use this function)
call.c:1918: warning: unreachable code at beginning of switch statement
make[1]: *** [call.o] Error 1
make[1]: Leaving directory `/usr/local/src/ax25-utils-2.1.42a/apps'
make: *** [all] Error 2
</bigger>