On Sun, 9 Jan 2000, john Buxton wrote:
> Hi list,
> I now have RH6.0 with kernel 2.2.13.
> I have compiled and installed ax25-apps-0.0.4, ax25-tools-0.0.4 and
> libax25-0.0.7
>
> I am attempting to compile fbb7.01b and have struck the following:
>
> cc -Wall -Wstrict-prototypes -O2 -g -funsigned-char -D__LINUX__
> -DPROTOTYPES -I../include -I/usr/local/include -c drv_sock.c -o
> drv_sock.o
> drv_sock.c: In function `opn_sck':
> drv_sock.c:460: `SOL_AX25' undeclared (first use in this function)
> drv_sock.c:460: (Each undeclared identifier is reported only once
> drv_sock.c:460: for each function it appears in.)
> drv_sock.c: In function `sock_connect':
> drv_sock.c:1133: `SOL_AX25' undeclared (first use in this function)
> drv_sock.c: In function `sock_stat':
> drv_sock.c:1366: `SOL_AX25' undeclared (first use in this function)
> drv_sock.c: In function `sock_connexion':
> drv_sock.c:1561: `SOL_AX25' undeclared (first use in this function)
> make: *** [drv_sock.o] Error 1
The best would probably be downloading xd701i.tgz which seems to fix this.
It also has some new Y2K fixes.
A quick and dirty solution might be just adding
#define SOL_AX25 257
somewhere near the top of drv_sock.c.
--
Tomi Manninen Internet: [EMAIL PROTECTED]
OH2BNS AX.25: [EMAIL PROTECTED]
KP20ME04 Amprnet: [EMAIL PROTECTED]