Problems compiling and using isdn4bsd-kmod on FreeBSD 10.0-RELEASE

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems compiling and using isdn4bsd-kmod on FreeBSD 10.0-RELEASE

Martin Alt
Hi all,

I have been using the i4b kld module with FreeBSD9.1 and have now upgraded to
10.0-RELEASE using freebsd-update.

I have rebuilt the kernel module using the comms/isdn4bsd-kmod port (from
svn://svn.turbocat.net/i4b/trunk/ports/comms/isdn4bsd-kmod, rev 2974) and
installed them, but unfortunately I get the following error message when trying
to kldload i4b:

kldload: can't load i4b: Exec format error

Dmesg output is as follows:

link_elf_obj: symbol ihfc_filter_info_start undefined
linker_load_file: Unsupported file type

When building the port, there are quite a few warnings, therefore, I have
included the output of 'make all' below.

The card I am trying to use is an HFC based PCI card.

Any ideas about what is going wrong would be very much appreciated.

Thanks,
 Martin




===>  License BSD accepted by the user
===>  Found saved configuration for isdn4bsd-kmod-2.0.8
===>   isdn4bsd-kmod-2.0.8 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by isdn4bsd-kmod-2.0.8 for building
===>  Extracting for isdn4bsd-kmod-2.0.8
=> SHA256 Checksum OK for isdn4bsd-2.0.8.tar.bz2.
===>  Patching for isdn4bsd-kmod-2.0.8
===>   isdn4bsd-kmod-2.0.8 depends on shared library: capi20.1 - found
===>  Configuring for isdn4bsd-kmod-2.0.8
make HAVE_KMOD=YES -C /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8 -f /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile  KMODNAME="i4b"  KMODDIR="/boot/modules"  BINDIR="/usr/local/sbin"  LIBDIR="/usr/local/lib"  INCLUDEDIR="/usr/local/include"  MANDIR="/usr/local/man/man" HAVE_ISDN_HFC_DRIVER=YES HAVE_ISDN_LOOP_DRIVER=YES HAVE_MAN=YES configure
rm -f /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/include/capi20.h
touch /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
ln -s /usr/local/include/capi20.h /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/include/capi20.h
echo "KMODDIR=/boot/modules" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "KMODNAME=i4b" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "BINDIR=/usr/local/sbin" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "INCLUDEDIR=/usr/local/include" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "MANDIR=/usr/local/man/man" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "CFLAGS+= -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "CFLAGS+= -D_GNU_SOURCE" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "CFLAGS+= -L/usr/local/lib" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "MKLINT=no" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "WARNS=3" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "NO_WERROR=" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "NOGCCERROR=" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "NO_PROFILE=" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "WERROR=" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "HAVE_MAN=man" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "HAVE_ISDN_HFC_DRIVER=1" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
echo "HAVE_ISDN_LOOP_DRIVER=1" >> /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/Makefile.sub
===>  Building for isdn4bsd-kmod-2.0.8
--- all ---
===> module (all)
--- objwarn ---
--- @ ---
--- machine ---
--- x86 ---
--- objwarn ---
Warning: Object directory not changed from original /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module
--- opt_bus.h ---
--- @ ---
@ -> /usr/src/sys
--- machine ---
machine -> /usr/src/sys/amd64/include
--- opt_bus.h ---
:> opt_bus.h
--- opt_usb.h ---
--- x86 ---
x86 -> /usr/src/sys/x86/include
--- pci_if.h ---
--- usb_if.h ---
--- vnode_if_newproto.h ---
--- opt_usb.h ---
:> opt_usb.h
--- vnode_if_typedef.h ---
--- usb_if.h ---
awk -f @/tools/makeobjops.awk @/dev/usb/usb_if.m -h
--- vnode_if_newproto.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
--- pci_if.h ---
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
--- vnode_if_typedef.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
--- isa_if.h ---
awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h
--- bus_if.h ---
--- device_if.h ---
--- vnode_if.h ---
--- device_if.h ---
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
--- bus_if.h ---
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
--- vnode_if.h ---
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
--- dss1_l2fsm.o ---
--- i4b_capidrv.o ---
--- i4b_convert_xlaw.o ---
--- i4b_ctl.o ---
--- dss1_l2fsm.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/dss1/dss1_l2fsm.c
--- i4b_capidrv.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c
--- i4b_convert_xlaw.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_convert_xlaw.c
--- i4b_ctl.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/driver/i4b_ctl.c
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/driver/i4b_ctl.c:36:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_convert_xlaw.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_convert_xlaw.c:33:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_dtmf.o ---
--- i4b_echo_cancel.o ---
--- i4b_dtmf.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_dtmf.c
--- i4b_echo_cancel.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_echo_cancel.c
--- dss1_l2fsm.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/dss1/dss1_l2fsm.c:86:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_hdlc.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_hdlc.c
--- i4b_i4bdrv.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_i4bdrv.c
--- i4b_dtmf.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_dtmf.c:34:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_l1.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_l1.c
--- i4b_echo_cancel.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_echo_cancel.c:37:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_l4.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_l4.c
--- i4b_capidrv.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:45:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1178:27: warning: assigning to 'void *' from 'const u_int8_t (*)[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              connect_ind.BC.ptr = &bc_bprot_3_1_khz_alaw;
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1182:27: warning: assigning to 'void *' from 'const u_int8_t (*)[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              connect_ind.BC.ptr = &bc_bprot_3_1_khz_ulaw;
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1186:27: warning: assigning to 'void *' from 'const u_int8_t (*)[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              connect_ind.BC.ptr = &bc_bprot_3_1_khz_reserved;
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1191:24: warning: assigning to 'void *' from 'const u_int8_t (*)[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
          connect_ind.HLC.ptr = &hlc_bprot_none;
                              ^ ~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1201:27: warning: assigning to 'void *' from 'const u_int8_t (*)[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              connect_ind.BC.ptr = &bc_bprot_alaw;
                                 ^ ~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1205:27: warning: assigning to 'void *' from 'const u_int8_t (*)[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              connect_ind.BC.ptr = &bc_bprot_ulaw;
                                 ^ ~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1209:27: warning: assigning to 'void *' from 'const u_int8_t (*)[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              connect_ind.BC.ptr = &bc_bprot_reserved;
                                 ^ ~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1214:24: warning: assigning to 'void *' from 'const u_int8_t (*)[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
          connect_ind.HLC.ptr = &hlc_bprot_none;
                              ^ ~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1225:23: warning: assigning to 'void *' from 'const u_int8_t (*)[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
          connect_ind.BC.ptr = &bc_bprot_rhdlc;
                             ^ ~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_capidrv.c:1287:36: warning: assigning to 'void *' from 'const u_int8_t (*)[2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
            add_info.sending_complete.ptr = &sending_complete;
                                          ^ ~~~~~~~~~~~~~~~~~
11 warnings generated.
--- i4b_l4mgmt.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_l4mgmt.c
--- i4b_i4bdrv.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_i4bdrv.c:46:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_mbuf.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_mbuf.c
--- i4b_l1.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/i4b_l1.c:40:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- usb2_config_td.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/usb2_config_td.c
--- i4b_l4.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_l4.c:39:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_l4.c:706:6: warning: passing 'const u_int8_t (*)[3]' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                                 &progress_indicator, sizeof(progress_indicator));
                                 ^~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer4/i4b_l4.h:138:38: note: passing argument to parameter 'ptr' here
                             u_int16_t wInfoNumber, void *ptr, u_int16_t len);
                                                          ^
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_l4.c:741:9: warning: passing 'const u_int8_t (*)[2]' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                             &retrieve_indicator, sizeof(retrieve_indicator));
                             ^~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer4/i4b_l4.h:138:38: note: passing argument to parameter 'ptr' here
                             u_int16_t wInfoNumber, void *ptr, u_int16_t len);
                                                          ^
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_l4.c:775:9: warning: passing 'const u_int8_t (*)[2]' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                             &hold_indicator, sizeof(hold_indicator));
                             ^~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer4/i4b_l4.h:138:38: note: passing argument to parameter 'ptr' here
                             u_int16_t wInfoNumber, void *ptr, u_int16_t len);
                                                          ^
4 warnings generated.
--- i4b_ihfc2_drv.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_drv.c
--- i4b_l4mgmt.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_l4mgmt.c:41:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_ihfc2_pnp.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_pnp.c
--- i4b_mbuf.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer4/i4b_mbuf.c:36:
In file included from @/net/if.h:543:
In file included from @/net/if_var.h:82:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_ihfc2_dev.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_dev.c
--- usb2_config_td.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/usb2_config_td.c:29:
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_ihfc2.h:47:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_ihfc2_l1if.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_l1if.c
--- i4b_ihfc2_drv.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_drv.c:48:
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_ihfc2.h:47:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b_ihfc2_end.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_end.c
--- iloop.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/iloop/iloop.c
--- i4b_ihfc2_dev.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_dev.c:32:
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_ihfc2.h:47:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_dev.c:313:30: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'u_int' (aka 'unsigned int') [-Wsign-compare]
                    if(ft->mbuf_dev->m_len < *(u_int *)data)
                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/include/i4b_controller.h:247:5: note: expanded from macro 'FIFO_TRANSLATOR_ACCESS'
    connected_code;                             \
    ^
2 warnings generated.
--- i4b_ihfc2_pnp.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_pnp.c:34:
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_ihfc2.h:47:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_pnp.c:226:
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_hfc1.h:624:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if(sc->sc_fifo[d1r].i_cmdr |=
           ~~~~~~~~~~~~~~~~~~~~~~~~^~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_hfc1.h:624:29: note: place parentheses around the assignment to silence this warning
        if(sc->sc_fifo[d1r].i_cmdr |=
                                   ^
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_hfc1.h:624:29: note: use '!=' to turn this compound assignment into an inequality comparison
        if(sc->sc_fifo[d1r].i_cmdr |=
                                   ^~
                                   !=
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_pnp.c:262:
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_tiger300_isac.h:533:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if(sc->sc_fifo[d1r].i_cmdr |=
     ~~~~~~~~~~~~~~~~~~~~~~~~^~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_tiger300_isac.h:533:30: note: place parentheses around the assignment to silence this warning
  if(sc->sc_fifo[d1r].i_cmdr |=
                             ^
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_tiger300_isac.h:533:30: note: use '!=' to turn this compound assignment into an inequality comparison
  if(sc->sc_fifo[d1r].i_cmdr |=
                             ^~
                             !=
3 warnings generated.
--- dss1_lite.o ---
--- dss1_lite_l1if.o ---
--- dss1_lite.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/dss1/dss1_lite.c
--- dss1_lite_l1if.o ---
cc -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -L/usr/local/lib -DFREEBSD_NO_ISA -DFREEBSD_NO_ISA -D_KERNEL -DKLD_MODULE -nostdinc  -I/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-
 int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-array-bounds -c /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/dss1/dss1_lite_l1if.c
--- i4b_ihfc2_l1if.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/ihfc3/i4b_ihfc2_l1if.c:37:
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/layer1/ihfc3/i4b_ihfc2.h:47:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- iloop.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/iloop/iloop.c:38:
In file included from @/sys/conf.h:44:
In file included from @/sys/eventhandler.h:34:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/iloop/iloop.c:69:14: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
        .set_ring = iloop_set_ring,
                    ^~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/layer1/iloop/iloop.c:68:2: note: previous initialization is here
        DSS1_LITE_DEFAULT_METHODS,
        ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/sys/i4b/dss1/dss1_lite.h:187:15: note: expanded from macro 'DSS1_LITE_DEFAULT_METHODS'
  .set_ring = (dss1_lite_set_ring_t *)&dss1_lite_default,               \
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
--- dss1_lite.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/dss1/dss1_lite.c:46:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- dss1_lite_l1if.o ---
In file included from /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/module/../src/sys/i4b/dss1/dss1_lite_l1if.c:45:
In file included from @/sys/mutex.h:40:
In file included from @/sys/pcpu.h:46:
@/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
--- i4b.ko ---
ld  -d -warn-common -r -d -o i4b.ko dss1_l2fsm.o i4b_capidrv.o i4b_convert_xlaw.o i4b_ctl.o i4b_dtmf.o i4b_echo_cancel.o i4b_hdlc.o i4b_i4bdrv.o i4b_l1.o i4b_l4.o i4b_l4mgmt.o i4b_mbuf.o usb2_config_td.o i4b_ihfc2_drv.o i4b_ihfc2_pnp.o i4b_ihfc2_dev.o i4b_ihfc2_l1if.o i4b_ihfc2_end.o iloop.o dss1_lite.o dss1_lite_l1if.o
:> export_syms
awk -f /sys/conf/kmod_syms.awk i4b.ko  export_syms | xargs -J% objcopy % i4b.ko
objcopy --strip-debug i4b.ko
===> src/usr.sbin (all)
--- all ---
===> src/usr.sbin/i4b (all)
--- all ---
===> src/usr.sbin/i4b/man (all)
--- objwarn ---
--- i4b.4.gz ---
--- i4bcapi.4.gz ---
--- i4bctl.4.gz ---
--- objwarn ---
Warning: Object directory not changed from original /var/cache/portshaker/i4b/comms/isdn4bsd-kmod/work/isdn4bsd-2.0.8/src/usr.sbin/i4b/man
--- i4bing.4.gz ---
--- i4bctl.4.gz ---
gzip -cn i4bctl.4 > i4bctl.4.gz
--- i4b.4.gz ---
gzip -cn i4b.4 > i4b.4.gz
--- i4bcapi.4.gz ---
gzip -cn i4bcapi.4 > i4bcapi.4.gz
--- i4bing.4.gz ---
gzip -cn i4bing.4 > i4bing.4.gz
--- i4bipr.4.gz ---
--- i4bisppp.4.gz ---
--- i4bdss1.4.gz ---
--- i4brbch.4.gz ---
--- i4bisppp.4.gz ---
gzip -cn i4bisppp.4 > i4bisppp.4.gz
--- i4bipr.4.gz ---
gzip -cn i4bipr.4 > i4bipr.4.gz
--- i4bdss1.4.gz ---
gzip -cn i4bdss1.4 > i4bdss1.4.gz
--- i4brbch.4.gz ---
gzip -cn i4brbch.4 > i4brbch.4.gz
--- i4btel.4.gz ---
--- i4btrc.4.gz ---
--- ihfc.4.gz ---
--- i4btel.4.gz ---
gzip -cn i4btel.4 > i4btel.4.gz
--- i4btrc.4.gz ---
gzip -cn i4btrc.4 > i4btrc.4.gz
--- ihfc.4.gz ---
gzip -cn ihfc.4 > ihfc.4.gz
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Problems compiling and using isdn4bsd-kmod on FreeBSD 10.0-RELEASE

Gary Jennejohn-6
On Sun, 26 Jan 2014 17:39:18 +0100
Martin Alt <[hidden email]> wrote:

> I have been using the i4b kld module with FreeBSD9.1 and have now upgraded to
> 10.0-RELEASE using freebsd-update.
>
> I have rebuilt the kernel module using the comms/isdn4bsd-kmod port (from
> svn://svn.turbocat.net/i4b/trunk/ports/comms/isdn4bsd-kmod, rev 2974) and
> installed them, but unfortunately I get the following error message when trying
> to kldload i4b:
>
> kldload: can't load i4b: Exec format error
>
> Dmesg output is as follows:
>
> link_elf_obj: symbol ihfc_filter_info_start undefined
> linker_load_file: Unsupported file type
>

This error is almost guaranteed to be caused by the kernel you're
running having been generated from other (e.g. older) sources
than the module.  The remedy is to make usre that the sources
are the same for both the kernel and the module.

> When building the port, there are quite a few warnings, therefore, I have
> included the output of 'make all' below.
>
> The card I am trying to use is an HFC based PCI card.
>
> Any ideas about what is going wrong would be very much appreciated.
>
[snip lots of build output]


--
Gary Jennejohn
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Problems compiling and using isdn4bsd-kmod on FreeBSD 10.0-RELEASE

Hans Petter Selasky-5
On 01/27/14 18:51, Gary Jennejohn wrote:

> On Sun, 26 Jan 2014 17:39:18 +0100
> Martin Alt <[hidden email]> wrote:
>
>> I have been using the i4b kld module with FreeBSD9.1 and have now upgraded to
>> 10.0-RELEASE using freebsd-update.
>>
>> I have rebuilt the kernel module using the comms/isdn4bsd-kmod port (from
>> svn://svn.turbocat.net/i4b/trunk/ports/comms/isdn4bsd-kmod, rev 2974) and
>> installed them, but unfortunately I get the following error message when trying
>> to kldload i4b:
>>
>> kldload: can't load i4b: Exec format error
>>
>> Dmesg output is as follows:
>>
>> link_elf_obj: symbol ihfc_filter_info_start undefined
>> linker_load_file: Unsupported file type
>>
>
> This error is almost guaranteed to be caused by the kernel you're
> running having been generated from other (e.g. older) sources
> than the module.  The remedy is to make usre that the sources
> are the same for both the kernel and the module.

Hi,

It turns out I should use "sys/linker_set.h" instead of my own
hand-rolled linker sets. I've updated the port and it should now load on
FreeBSD-10 and FreeBSD-11.

Thanks to everyone using and supporting ISDN4BSD.

--HPS

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn
To unsubscribe, send any mail to "[hidden email]"