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

SOL_AX25 is defined in:
ax25.h:#define SOL_AX25 257
 in /usr/include/netax25 and
kernel_ax25.h:#define SOL_AX25  257
and /usr/local/include/netax25 installed by libax25-0.0.7
neither of which are included in drv_sock.c.
If I include either header I get a pile of warnings about redefinitions

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
In file included from drv_sock.c:42:
/usr/include/netax25/ax25.h:42: warning: `SIOCAX25GETUID' redefined
/usr/include/linux/ax25.h:26: warning: this is the location of the
previous definition
In file included from drv_sock.c:42:
/usr/include/netax25/ax25.h:69: conflicting types for `ax25_address'
/usr/include/linux/ax25.h:43: previous declaration of `ax25_address'
/usr/include/netax25/ax25.h:72: redefinition of `struct sockaddr_ax25'
/usr/include/netax25/ax25.h:82: redefinition of `struct
full_sockaddr_ax25'
/usr/include/netax25/ax25.h:89: redefinition of `struct
ax25_routes_struct'
/usr/include/netax25/ax25.h:98: redefinition of `struct ax25_ctl_struct'
/usr/include/netax25/ax25.h:108: redefinition of `struct
ax25_route_opt_struct'

[snip]  


Does anyone have any constructive ideas about this?

I did hope to have this finished this weekend so I could drop my old
FBB5 bbs off.

John

Reply via email to