Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2000 21:51:06 GMT
From:      reinoud@xs4all.nl (Reinoud van Leeuwen)
To:        freebsd-isdn@freebsd.org
Subject:   i4b in FreeBSD 4.1-RELASE does not build...
Message-ID:  <39cfc679.16039390@smtp.xs4all.nl>

next in thread | raw e-mail | index | archive | help
Hi,

I try to get mY Teles 16.3 BRI working on my freshly installed (from
CD) FreeBSD 4.1-RELASE.
Both the kernel and the i4b utilities do not build...

mir# diff GENERIC MIR_01=20
235a236,239
>=20
> # Added by Reinoud for teles ISDN card
> options       TEL_S0_16_3
> device                isic0   at isa? port 0xd80 irq 5 flags 3

so not much changed extra 2 extra lines (at the end)

so when I config th kernel, do a make depend and a make, I get this
after some time:

[.. some lines deleted, I sure you know how they look:-) ]

cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../conf/newvers.sh GENERIC=20
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi  -nostdinc -I- -I. -I../..
-I../../../include  -D_KERNEL -include opt_global.h -elf
-mpreferred-stack-boundary=3D2  vers.c
linking kernel
i4b_bchan.o: In function `isic_bchannel_setup':
i4b_bchan.o(.text+0x9a): undefined reference to `i4b_Bcleanifq'
i4b_bchan.o(.text+0xb0): undefined reference to `i4b_Bfreembuf'
i4b_bchan.o(.text+0xce): undefined reference to `i4b_Bcleanifq'
i4b_bchan.o(.text+0xe4): undefined reference to `i4b_Bfreembuf'
i4b_bchan.o: In function `isic_bchannel_start':
i4b_bchan.o(.text+0x36c): undefined reference to `i4b_Bfreembuf'
i4b_bchan.o: In function `isic_init_linktab':
i4b_bchan.o(.text+0x482): undefined reference to `ctrl_types'
i4b_bchan.o(.text+0x48c): undefined reference to `ctrl_types'
i4b_hscx.o: In function `isic_hscx_irq':
i4b_hscx.o(.text+0xf6): undefined reference to `i4b_Bfreembuf'
i4b_hscx.o(.text+0x24b): undefined reference to `i4b_Bgetmbuf'
i4b_hscx.o(.text+0x39e): undefined reference to `i4b_Bfreembuf'
i4b_hscx.o(.text+0x3d5): undefined reference to `i4b_Bgetmbuf'
i4b_hscx.o(.text+0x518): undefined reference to `i4b_Bfreembuf'
i4b_hscx.o(.text+0x532): undefined reference to `i4b_Bgetmbuf'
i4b_hscx.o(.text+0x7d6): undefined reference to `i4b_Bfreembuf'
i4b_isac.o: In function `isic_isac_irq':
i4b_isac.o(.text+0x147): undefined reference to `i4b_Dfreembuf'
i4b_isac.o(.text+0x1b1): undefined reference to `i4b_Dgetmbuf'
i4b_isac.o(.text+0x291): undefined reference to `ctrl_desc'
i4b_isac.o(.text+0x2b3): undefined reference to `i4b_Dfreembuf'
i4b_isac.o(.text+0x2e8): undefined reference to `i4b_Dfreembuf'
i4b_isac.o(.text+0x32b): undefined reference to `i4b_Dgetmbuf'
i4b_isac.o(.text+0x3c0): undefined reference to `i4b_Dfreembuf'
i4b_isac.o(.text+0x49c): undefined reference to `i4b_Dfreembuf'
i4b_l1.o: In function `ph_data_req':
i4b_l1.o(.text+0x15c): undefined reference to `i4b_Dfreembuf'
i4b_l1.o(.text+0x26e): undefined reference to `i4b_Dfreembuf'
i4b_l1.o(.data+0x20): undefined reference to `i4b_ph_data_ind'
i4b_l1.o(.data+0x24): undefined reference to `i4b_ph_activate_ind'
i4b_l1.o(.data+0x28): undefined reference to `i4b_ph_deactivate_ind'
i4b_l1.o(.data+0x34): undefined reference to `get_trace_data_from_l1'
i4b_l1.o(.data+0x38): undefined reference to `i4b_mph_status_ind'
i4b_l1fsm.o: In function `timer3_expired':
i4b_l1fsm.o(.text+0x88): undefined reference to `i4b_Dfreembuf'
i4b_l1fsm.o(.text+0xa9): undefined reference to `i4b_Dfreembuf'
i4b_l1fsm.o: In function `F_T3ex':
i4b_l1fsm.o(.text+0x21f): undefined reference to `ctrl_desc'
i4b_l1fsm.o: In function `F_AI8':
i4b_l1fsm.o(.text+0x3ac): undefined reference to `ctrl_desc'
i4b_l1fsm.o: In function `F_AI10':
i4b_l1fsm.o(.text+0x454): undefined reference to `ctrl_desc'
i4b_l1fsm.o: In function `F_I02':
i4b_l1fsm.o(.text+0x56b): undefined reference to `ctrl_desc'
i4b_l1fsm.o: In function `F_I03':
i4b_l1fsm.o(.text+0x5ff): undefined reference to `ctrl_desc'
*** Error code 1

Stop in /usr/src/sys/compile/MIR_01.

Something similar goes wrong when I try to do a make in
/usr/src/sys/i4b
make clean ; make gives:

[stuff deleted]
=3D=3D=3D> isdndebug
Warning: Object directory not changed from original
/usr/src/sys/i4b/isdndebug
cc -O -pipe -g -Wall  -c main.c
main.c: In function `main':
main.c:197: storage size of `cst' isn't known
main.c:203: `I4B_CTL_GET_CHIPSTAT' undeclared (first use in this
function)
main.c:203: (Each undeclared identifier is reported only once
main.c:203: for each function it appears in.)
main.c:211: `L1DRVR_ISIC' undeclared (first use in this function)
main.c:248: `L1DRVR_IWIC' undeclared (first use in this function)
main.c:252: `L1DRVR_IFPI' undeclared (first use in this function)
main.c:256: `L1DRVR_IHFC' undeclared (first use in this function)
main.c:260: `L1DRVR_IFPNP' undeclared (first use in this function)
main.c:212: warning: unreachable code at beginning of switch statement
main.c:197: warning: unused variable `cst'
*** Error code 1

Stop in /usr/src/sys/i4b/isdndebug.
*** Error code 1

Stop in /usr/src/sys/i4b.

The version is:
mir# grep Version README=20
                      beta Version 0.95.00 / August 2000

(as included in 4.1-RELASE)

__________________________________________________
"Nothing is as subjective as reality"
Reinoud van Leeuwen       reinoud@xs4all.nl
http://www.xs4all.nl/~reinoud
__________________________________________________


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isdn" in the body of the message




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