PCMCIA B1 and M2: undefined reference to `i4b_Bfreembuf'
Alexander Farber
Alexander.Farber at t-online.de
Tue Dec 30 15:59:08 PST 2003
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
More information about the freebsd-isdn
mailing list