From owner-freebsd-isdn@FreeBSD.ORG Mon Jan 27 17:51:57 2014 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9290B7A1 for ; Mon, 27 Jan 2014 17:51:57 +0000 (UTC) Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 27322109C for ; Mon, 27 Jan 2014 17:51:57 +0000 (UTC) Received: by mail-ee0-f53.google.com with SMTP id t10so2381827eei.26 for ; Mon, 27 Jan 2014 09:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=FbryQSnu1+sZWQG5KyhgKSSNKH/gYQ4qhla6UZQzTGw=; b=B02h9UXCn4dEtx0ZW1WCTmoyQpLPOuyxwqzLaC6Xxv8S0gxn++kT1jRdzE/gwQ8m7X w8pdK8b0mL0dS735XvmDUo934uPmp9XarFNpbccQmJ+5oyL2iksLVboMyG0FnHetCTCQ 3FH2073D+qh0kNFH93RvwWaPaR109yRB0BLYoTu4oa8xljjBVoikd1qRgSYZc7IJ073i Hh0o446YF+Jc8wNzF1tALpFeocA6q+hk8Rt38S4/UP0y+8eUqPxl2IGL/tphrKzlonEK PaK1mWf/n9KRbuJ973BoKn3ZE5uWj/ECWxVYWfHH7eu/SLJYBRQepCGaTX6wCTxAWTpr 47bw== X-Received: by 10.14.199.199 with SMTP id x47mr22444157een.78.1390845115613; Mon, 27 Jan 2014 09:51:55 -0800 (PST) Received: from ernst.home (p578E2862.dip0.t-ipconnect.de. [87.142.40.98]) by mx.google.com with ESMTPSA id j42sm45002597eep.21.2014.01.27.09.51.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 27 Jan 2014 09:51:54 -0800 (PST) Date: Mon, 27 Jan 2014 18:51:52 +0100 From: Gary Jennejohn To: Martin Alt Subject: Re: Problems compiling and using isdn4bsd-kmod on FreeBSD 10.0-RELEASE Message-ID: <20140127185152.4b13632f@ernst.home> In-Reply-To: <20140126163918.GA35814@zeus.home.anwaltskanzlei-alt.de> References: <20140126163918.GA35814@zeus.home.anwaltskanzlei-alt.de> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.17; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-isdn@freebsd.org X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: gljennjohn@gmail.com List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 17:51:57 -0000 On Sun, 26 Jan 2014 17:39:18 +0100 Martin Alt 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