Some questions about i4b
Reinhold Huber
Reinhold.Huber at muenchen-mail.de
Mon Apr 9 21:15:36 UTC 2007
Hello,
I tried to get my AVM Fritz!PCI 2.0 to work with FreeBSD 6.2, and keep
getting errors when compiling the drivers. A snippet of my kernel config
and the error messages are attached below.
As a information source for this config, I used "The care and feeding of
ISDN4BSD", which seems to be a little bit outdated.
I used this document after trying the options in
/usr/share/examples/isdn/KERNEL, this try yielded similar results.
- Is there any documentation I missed which helps me to set up i4b
for vanilla ISP dialin (PPP over ISDN)?
- Did I make obvious errors in i4b kernel configuration?
Any help/pointers are appreciated.
Thanks in advance and best regards,
Reinhold Huber
The ISDN section of my kernel conf reads:
-----8<----------------8<----------------8<-----------
device "ifpi2"
device "i4bq921"
#device "i4bq932"
device "i4b"
device "i4btrc"
device "i4bctl"
device "i4brbch"
device "i4btel"
device "i4bipr"
device "i4bisppp"
# Van Jacobsen (VJ) header compression, recommended for ipr<n>
# devices
#options IPR_VJ
options IPR_LOG=5
-----8<----------------8<----------------8<-----------
The error messages:
-----8<----------------8<----------------8<-----------
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -st
d=c99 -g -nostdinc -I- -I. -I../../.. -I../../../contrib/altq
-I../../../contri
b/ipfilter -I../../../contrib/pf -I../../../dev/ath
-I../../../contrib/ngatm -I.
./../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fn
o-common -finline-limit=8000 --param inline-unit-growth=100 --param
large-functi
on-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2
-mno-mmx -
mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror
../../../i4b/driver/i4b_tra
ce.c
../../../i4b/driver/i4b_trace.c:59: error: `NI4BTRC' undeclared here
(not in a f
unction)
../../../i4b/driver/i4b_trace.c:59: error: storage size of `trace_queue'
isn't k
nown
../../../i4b/driver/i4b_trace.c:61: error: storage size of
`device_state' isn't
known
../../../i4b/driver/i4b_trace.c:59: warning: 'trace_queue' defined but
not used
../../../i4b/driver/i4b_trace.c:61: warning: 'device_state' defined but
not used
*** Error code 1
Stop in /usr/src/sys/i386/compile/ZWERGWAL.
-----8<----------------8<----------------8<-----------
More information about the freebsd-isdn
mailing list