Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2003 00:58:15 +0100
From:      Alexander.Farber@t-online.de (Alexander Farber)
To:        freebsd-isdn@freebsd.org
Subject:   Re: PCMCIA B1 and M2: undefined reference to `i4b_Bfreembuf'
Message-ID:  <20031230235815.GA42046@newhope.my.domain>
In-Reply-To: <200312301013.hBUADjUk001319@peedub.jennejohn.org>
References:  <20031230033813.GA6726@newhope.my.domain> <200312301013.hBUADjUk001319@peedub.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 30, 2003 at 11:13:45AM +0100, Gary Jennejohn wrote:
> Alexander Farber writes:
> > pseudo-device   "i4bcapi"       2
> > device          iavc
> > pseudo-device   "i4bq921"
> > pseudo-device   "i4bq931"
> > pseudo-device   "i4b"
> > #pseudo-device  "i4btrc"        4
> > pseudo-device   "i4bctl"
> > pseudo-device   "i4brbch"       4
> > pseudo-device   "i4btel"        2
> > pseudo-device   "i4bipr"        4
> > #options        IPR_VJ
> > #options        IPR_LOG=32
> > pseudo-device   "i4bisppp"      4
> > 
> 
> garyj:peedub:mail:bash:4> grep i4b_mbuf.c /sys/conf/*
> /sys/conf/files:i4b/layer2/i4b_mbuf.c           optional i4btrc
> 
> You need i4btrc for that.

Thanks, but I still don't understand: do I have to
include some passive ISDN card in my kernle config file, 
even though I'm going to use just the active B1?

Because I first added just "iavc" and "i4bcapi" and
then followed your method and kept looking at the
linking errors I get and /sys/conf/files and files.i386
and so I've ended up with:

    device          iavc
    device          "i4bcapi"
    device          "i4bq921"
    device          "i4bq931"
    device          "i4b"
    device          "i4btrc"        4

which complains about missing (low-level?) functions
i4b_l1_debug and i4b_l1l2_func (the full error message
is listed at the bottom). Those functions are found in
layer1/i4b_l1dmux.c which leads to:

newhope:conf {523} grep -r i4b_l1dmux.c .
./files.i386:i4b/layer1/i4b_l1dmux.c            optional        isic
./files.i386:i4b/layer1/i4b_l1dmux.c            optional        iwic
./files.i386:i4b/layer1/i4b_l1dmux.c            optional        ifpi
./files.i386:i4b/layer1/i4b_l1dmux.c            optional        ifpi2
./files.i386:i4b/layer1/i4b_l1dmux.c            optional        ihfc
./files.i386:i4b/layer1/i4b_l1dmux.c            optional        ifpnp
./files.i386:i4b/layer1/i4b_l1dmux.c            optional        itjc

But I'm not sure now, which of those passive cards to take?

Regards
Alex

linking kernel
i4b_l2.o: In function `i4b_ph_activate_ind':
i4b_l2.o(.text+0x18f): undefined reference to `i4b_l1_debug'
i4b_l2.o: In function `i4b_ph_deactivate_ind':
i4b_l2.o(.text+0x1cf): undefined reference to `i4b_l1_debug'
i4b_l2.o: In function `i4b_mph_status_ind':
i4b_l2.o(.text+0x332): undefined reference to `i4b_l1_debug'
i4b_l2.o: In function `i4b_mdl_command_req':
i4b_l2.o(.text+0x4c6): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_sabme':
i4b_uframe.o(.text+0x40a): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_dm':
i4b_uframe.o(.text+0x456): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_disc':
i4b_uframe.o(.text+0x4a2): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_ua':
i4b_uframe.o(.text+0x4ee): undefined reference to `i4b_l1l2_func'
i4b_uframe.o(.text+0x53d): more undefined references to `i4b_l1l2_func' follow
*** Error code 1






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031230235815.GA42046>