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

Gary Jennejohn <[email protected]> Mon, 27 Jan 2014 18:51:52 +0100
Newsgroups gmane.os.freebsd.devel.isdn
Message-ID <[email protected]>
On Sun, 26 Jan 2014 17:39:18 +0100
Martin Alt <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn
To unsubscribe, send any mail to "[email protected]"