Re: Xfbb7.04h rpm install on Suse9.1 Pro
Joerg Reuter <[email protected]> Thu, 30 Sep 2004 17:04:56 +0200
| Newsgroups | gmane.linux.suse.ham |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 16, 2004 at 05:27:47AM -0700, Ron MacKay wrote:
> 1. Has anyone sucessfully installed fbb7.04h on
> Suse9.1 from the DVD/ftp rpm,
> fbbsrv-7.04h-316.i586.rpm ?
Yes, but not extensively tested. Unfortunately, the ham radio
stuff is just an add-on on the disks and I'm trying to at least
keep them building in my spare time. (Which also means that not
always the latest version of a program is available...)
> /usr/src/packages/SOURCES/fbbsrc.704h/src # make
> gcc -Wall -Wstrict-prototypes -O2 -g -funsigned-char
> -D__LINUX__ -DPROTOTYPES -I../include
> -I/usr/include/netax25 -c -o arbre.o arbre.c
> In file included from /usr/include/netax25/axlib.h:28,
> from ../include/fbb_serv.h:47,
> from ../include/serv.h:97,
> from arbre.c:32:
> /usr/include/netax25/ax25.h:74: error: conflicting
> types for `ax25_address'
> /usr/include/linux/ax25.h:47: error: previous
> declaration of `ax25_address'
> /usr/include/netax25/ax25.h:77: error: redefinition of
> `struct sockaddr_ax25'
> /usr/include/netax25/ax25.h:87: error: redefinition of
> `struct full_sockaddr_ax25'
Take a look at fbbsrc.704h.dif:
--- src/driver.c
+++ src/driver.c
@@ -624,9 +624,11 @@
#ifdef __LINUX__
#include <arpa/inet.h>
+#ifdef OLD_AX25
#include <linux/ax25.h>
#include <linux/netrom.h>
#include <linux/rose.h>
+#endif
#ifdef OLD_AX25
#include <ax25/axconfig.h>
#include <ax25/nrconfig.h>
I.e., fbbsrv (wrongly) includes the AX.25 kernel headers, even though
it also (properly) included the glibc headers net{ax25,netrom,rose}/*
earlier. Hint: there is a reason why we patch source code... ;-)
73,
--
Joerg Reuter DL1BKE http://yaina.de/jreuter
And I make my way to where the warm scent of soil fills the evening air.
Everything is waiting quietly out there.... (Anne Clark)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBXCCYXQh8bpcgulARAvmNAKCb2ZUasZjIb6xVGfjbMlPYgpl4AACfeYhe oqCxr1lTPtMmzEB8RQnAHzY= =cJ2U -----END PGP SIGNATURE-----