Re: APRSd with kernel 2.0.31 ?

From: Henk de Groot (xbwydnz@mail.dy.fi)
Date: Tue Mar 05 2002 - 22:45:14 EET

  • Next message: Bernard Pidoux: "Re: PCISCC4 patch for kernel 2.4.17"

    At 18:45 5-3-02 +0200, Tomi Manninen wrote:
    >> Or perhaps a different binary format? The old systems used the a.out
    >> binary format instead of ELF format. If there is no support for the
    >> binary type of the executable than its degraded to just another data
    >> file...
    >
    >The binary was ELF, at least according to 'file'. Good point anyway.

    Question is, if 2.0.31 was already using ELF? I tried to look it up in my old RedHat 5.2 manual but all that states is "Old Linux system used a format for programs and shared libraries called a.out while newer ones use the ELF format.". It doesn't say when the changeover was made. RedHat 5.2 was using the 2.0.36 kernel.

    Another posibility is that the traget 2.0.31 system still uses libc 5 (as RedHat 2.0 up to 4.2, inclusive, did). A glibc (libc 6) application may not run on a libc 5 system perhaps?

    I think the best bet is to recompile APRSD using the ax25-utils-2.1.42a libs, where you have to edit some of the sources to rename functions back to the names used by the old utilities. I don't know which calls APRSD is using but I guess its the same ones as DIGI_NED does. In the DIGI_NED source you can find both flavours in the file mac_if.c, search for "#ifdef NEW_AX25". Then you know what to change to what in APRSD. It shouln't be hard to do. You can also compare the headerfiles of the old and the new tools to find the similar functions.

    Unfortunatly I do not have a running RedHat 5.2 system anymore, otherwise I could have given you a patchfile. I don't think the new libs work on an old 2.0.31 kernel but I could be wrong. Good luck.

    Kind regards,

    Henk.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to cyjk.qyjf@orhs.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Tue Mar 05 2002 - 22:47:24 EET