Re: problems with new libax25

From: Craig Small (ssg.wvsskioa@univ-tours.fr)
Date: Fri Sep 21 2001 - 04:20:11 EEST

  • Next message: Jeff Tranter: "Updated version of Linux AX.25 HOWTO available"

    On Wed, Sep 19, 2001 at 12:21:38AM +1000, Hamish Moffatt wrote:
    > The latest libax25 (0.0.9) seems to have rearranged some headers, and
    > lots of stuff won't compile any more. The simplest fix seems to be
    > to remove #include of <linux/ax25.h> and <linux/rose.h>, and just
    > #include <netax25/axlib.h> and <netax25/axconfig.h>, in that order.

    What includes linux/ax25.h? It is generally a bad idea to include
    anything from the linux directories and will cause problems.

    > However, AX25_MTU is only defined in <linux/ax25.h>, and you can't
    > include both <linux/ax25.h> and <netax25/axlib.h> at the same time,
    > as they have duplicate definitions of SIOCAX25GETUID and ..GETINFO.
    >
    > Any ideas? aprsdigi needs AX25_MTU.
    Definite it in one of your headers, or make it dynamic as Tomi said.

      - Craig

    -- 
    Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
    Eye-Net Consulting http://www.eye-net.com.au/        <jdxeit.tsxegkh@rele.tunk.net>
    MIEEE <terhi.victor@logonet.com>                 Debian developer <cxj.gnibf@vodafone.net>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to mqnemts.riurywh@udc.es
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    



    This archive was generated by hypermail 2b30 : Fri Sep 21 2001 - 04:26:16 EEST