Re: ax25tools compile-time error?

From: Tomi Manninen OH2BNS (vxuc@enternet.se)
Date: Thu Apr 26 2001 - 17:13:44 EEST

  • Next message: Wilbert Knol: "Re: ax25tools compile-time error?"

    On Thu, 26 Apr 2001, Craig Small wrote:

    > On Thu, Apr 26, 2001 at 01:28:25PM +0000, Wilbert Knol wrote:
    > > make[1]: Entering directory `/usr/local/src/ax25-tools-0.0.6/hdlcutil'
    > > gcc -I/usr/local/zlib/include -I/usr/local/libmpeg/include -I/usr/local/aalib/include -Wall -L/usr/local/lib -L/usr/local/zlib/lib -L/usr/local/libmpeg/lib -L/usr/local/aalib/lib -o sethdlc sethdlc.o hdrvcomm.o
    > > hdrvcomm.o: In function `hdrvc_diag':
    > > hdrvcomm.o(.text+0xab1): undefined reference to `hdrvc_sendmsg'
    > > hdrvcomm.o(.text+0xaca): undefined reference to `hdrvc_recvmsg'
    >
    > hdrvc_sendmsg and hdrvc_recvmsg are both in hdrvcomm.c
    > extern __inline__ void hdrvc_sendmsg(struct usersmmsg *msg, int len)
    >
    > I'm not sure why its complaining.

    Hmm. The above doesnt' show the actual compiling of hdrvcomm.c but maybe
    there is for some reason no -O (optimization) flag?

    Extern inlines are only compiled if optimization is enabled, otherwise gcc
    sees it only as a function declaration.

    -- 
    Tomi Manninen           Internet:  gfth.gczooxksy@sdbnieuws.nl
    OH2BNS                  AX.25:     jhjmm.dxdww@nhl.nl
    KP20ME04                Amprnet:   mrtaljn.mmlbfhce@newttidc.com
    

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



    This archive was generated by hypermail 2b30 : Thu Apr 26 2001 - 17:15:51 EEST