RE: ax25-tools-0.0.6 build failure

From: Arno Verhoeven (ELN) (hzkxotd@sunderland.gov.uk)
Date: Wed Mar 21 2001 - 10:09:39 EET

  • Next message: Peter: "call behind the node"

    Maybe these patches will help.
    I found this while cleaning up the mail-folder of the linux-ham list :-)

    73, Arno

    -----Original Message-----
    From: Barrett, Peter G [mailto:fqths.orjonzm@mailit.tunk.net]
    Sent: Tuesday, February 06, 2001 12:51 AM
    To: 'wqaw.ljhqmkupb@impsat.com.ar'
    Subject: ax25-tools-0.0.6 build failure

    I have installed RH 7.0 on a Toshiba 440 laptop and I'm trying to get some
    packet going on it.

    All modules compile and load and unload OK
    libax25 goes in no worries
    so does ax25-apps
    as does node

    The trouble starts with ax25-tools-0.0.6

    /configure seems to run ok
    then
    root@vk6pec ax25-tools-0.0.6#make

    In file included from bpqparms.c:29
    /usr/include/linux/timer.h:21 field "list" has incomplete type
    /usr/include/linux/timer.h: In function 'timer_pending':
    /usr/include/linux/timer.h:57: warning :control reaches end of non-void
    function

    make[2]: *** [bpqparms.o] error 1

    make[2]: leaving directory "/usr/local/src/ax25-tools-0.0.6/ax25"

    make[1]: *** [all-recursive] Error 1

    make[1]: leaving directory '/usr/local/src/ax25-tools-0.0.6'

    make: *** [all-recursive-am] Error 2

    These are the saddest words I know of.

    I tried fooling around with the makefile but I dont really know what I'm
    doing there. I thought ./configure looks after that.

    Any ideas?

    Peter Barrett
    Network Integrity
    Working with the civil construction industry to prevent damage
    to Telstra's underground assets

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to wpwygiwb.mrfdyvnh@kyoto-u.ac.jp


    attached mail follows:


    Hi Craig,

    This fixes some warnings with newer gcc's. It also removes the
    dependency of bpqparms.c on linux/timer.h, which causes compile
    failures. bpqparms does not seem to need this include?

    Keep well.
    -- Hans

    diff -u3Nr ax25-tools/ax25/beacon.c ax25-tools.new/ax25/beacon.c
    --- ax25-tools/ax25/beacon.c Wed May 3 04:41:26 2000
    +++ ax25-tools.new/ax25/beacon.c Sat Dec 16 19:11:40 2000
    @@ -1,10 +1,10 @@
    +#include <config.h>
     #include <unistd.h>
     #include <stdio.h>
     #include <stdlib.h>
     #include <syslog.h>
     #include <signal.h>
    -
    -#include <config.h>
    +#include <string.h>

     #include <sys/types.h>
     #include <sys/socket.h>
    diff -u3Nr ax25-tools/ax25/bpqparms.c ax25-tools.new/ax25/bpqparms.c
    --- ax25-tools/ax25/bpqparms.c Wed May 3 04:41:26 2000
    +++ ax25-tools.new/ax25/bpqparms.c Sat Dec 16 19:13:49 2000
    @@ -25,7 +25,6 @@
     #include <string.h>
     #include <ctype.h>
     #include <sys/ioctl.h>
    -#include <linux/timer.h>

     #include <sys/socket.h>
     #include <net/if.h>
    diff -u3Nr ax25-tools/kiss/net2kiss.c ax25-tools.new/kiss/net2kiss.c
    --- ax25-tools/kiss/net2kiss.c Wed May 3 04:41:34 2000
    +++ ax25-tools.new/kiss/net2kiss.c Sat Dec 16 19:15:16 2000
    @@ -30,6 +30,7 @@

     /*****************************************************************************/

    +#include <stdlib.h>
     #include <sys/types.h>
     #include <sys/time.h>
     #include <stdio.h>
    diff -u3Nr ax25-tools/user_call/user_io.c ax25-tools.new/user_call/user_io.c
    --- ax25-tools/user_call/user_io.c Wed May 3 04:41:38 2000
    +++ ax25-tools.new/user_call/user_io.c Sat Dec 16 19:24:39 2000
    @@ -1,4 +1,5 @@
     #include <stdlib.h>
    +#include <string.h>
     #include <errno.h>
     #include <sys/time.h>
     #include <sys/types.h>

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to terhi.victor@logonet.com

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to biytm.elzxbpwugb@omnieng.co.uk



    This archive was generated by hypermail 2b30 : Wed Mar 21 2001 - 10:13:32 EET