Am Mon, 19 Apr 1999 schrieb Bob Nielsen:
> You will probably have better luck with the ax25-utils rpm package from
> contrib.redhat.com.
It should be now problem, to compile this.
I got the ax25-utils glibc version, but got the same errors. You must
exchange all
#include <linux/socket.h>
to
#include <sys/socket.h>
in all of the files that won�t compile.
I know that it is difficult to become the sockets to work on all
systems. We had a lot of trouble while building TNT.
73
Matthias
> On Mon, 19 Apr 1999, Rein Mann wrote:
>
> > Linux (Redhat v 5.2 with kernel 2.0.36) has been running on my box for a
> > while without any problems. However to connect to my local packet BBS I
> > had to go to TPK on windows 95.
> > I decided it was time to take packet radio to linux.
> > After successfully recompiling the kernel to include the necessary ax25
> > stuff I got hold of the appropriate version of the ax25-utils package.
> > This is where my problem starts.
> > 'make config' makes config.h without reporting any problems.
> > 'make' starts off ok and bombs out. I have not much experience in
> > debugging such errors but I am keen enough to learn if somone can put me
> > on the right track. Here is an example of the type of errors which are
> > reported:
> >
> > /usr/include/linux/socket.h:91: warning: `MSG_OOB' redefined
> > /usr/include/socketbits.h:137: warning: this is the location of the
> > previous definition
> > /usr/include/linux/socket.h:92: warning: `MSG_PEEK' redefined
> > /usr/include/socketbits.h:139: warning: this is the location of the
> > previous definition
> > /usr/include/linux/socket.h:93: warning: `MSG_DONTROUTE' redefined
> > /usr/include/socketbits.h:141: warning: this is the location of the
> > previous definition
> > /usr/include/linux/socket.h:95: warning: `MSG_PROXY' redefined
> > /usr/include/socketbits.h:145: warning: this is the location of the
> > previous definition
> > In file included from /usr/include/linux/if.h:23,
> > from /usr/include/linux/netdevice.h:30,
> > from axconfig.c:14:
> > /usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
> > /usr/include/linux/socket.h:14: redefinition of `struct linger'
> > /usr/include/linux/socket.h:26: redefinition of `struct msghdr'
> > make[1]: *** [axconfig.o] Error 1
> > make[1]: Leaving directory `/usr/local/src/ax25-utils-2.1.42/lib'
> > make: *** [all] Error 2
> >
> > Any help most welcome.
> >
> > Rein.
> >
> > --
> > R & C Mann
> > [EMAIL PROTECTED]
> >
> >
> >
>
> ----
> Bob Nielsen Internet: [EMAIL PROTECTED]
> Tucson, AZ AMPRnet: [EMAIL PROTECTED]
> DM42nh http://www.primenet.com/~nielsen
--
_____ _____ _______________________________________
\ \ \ \ \ / WSPse / Matthias Hensler
\ \ \ \ \/ IRC:GANDALF2 ICQ:24719025
\ \ \ \ [EMAIL PROTECTED] - Look for Linux/C64 on
\ / \ / http://excelsior.kullen.rwth-aachen.de
\/ \/________________________________________