From owner-freebsd-questions@FreeBSD.ORG Sun Apr 6 15:10:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B46A41065675 for ; Sun, 6 Apr 2008 15:10:59 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.185]) by mx1.freebsd.org (Postfix) with ESMTP id 542098FC29 for ; Sun, 6 Apr 2008 15:10:59 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by rn-out-0910.google.com with SMTP id s46so817169rnb.3 for ; Sun, 06 Apr 2008 08:10:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=SqpUcNL3TGIoGNCYD9qskuCX/24bodwxHnpVk4HPKwI=; b=Z+W7fbGfIgUEaHfJQnxHAAT0EV9NQuxOT02UPtSdzayibijptM78RDu6kJh/aOSVSRJa0e9eZEBAS9Ypb+ah6PBM6eSdjhYaTcTytTsRsjWQzvA7u9GQykAO8RBowST/wIugc7TfXtlOiOGsQRMdN8+driLhJwZ649gdsZmIhZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=xjLJdMW13BKc/6y1FM6AIinDezQEvg1z6CaTGl4Nb+jB2KmPFSVJ54HvcRgf6NR41na7fhw4tB/fliAaGRbgdUu/b0+m5lSZhiwfbCE1XreJhdi67nCTLUbi/hebFF+SSV6qZD8+fmmW9CLTpkrT6B954zvKAddBzzXaZo2to+E= Received: by 10.150.97.6 with SMTP id u6mr1831499ybb.33.1207494657314; Sun, 06 Apr 2008 08:10:57 -0700 (PDT) Received: by 10.150.186.14 with HTTP; Sun, 6 Apr 2008 08:10:57 -0700 (PDT) Message-ID: <20def4870804060810q4342157fhe462d356a2cff571@mail.gmail.com> Date: Sun, 6 Apr 2008 18:10:57 +0300 From: "Mr Y" To: "Lowell Gilbert" In-Reply-To: <443aq32d1l.fsf@be-well.ilk.org> MIME-Version: 1.0 References: <20def4870804010907n320956f1o5e0e56962a64e0fd@mail.gmail.com> <44k5jg1iwn.fsf@be-well.ilk.org> <20def4870804020801w2fbaed96led264c3189cc1a35@mail.gmail.com> <443aq32d1l.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: kldload: unexpected relocation type 10 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2008 15:10:59 -0000 > > >> > I really don't know how to get rid of this message.. > >> > > >> > I get millions of these during kldload of a driver: > >> > > >> > kldload: unexpected relocation type 10 > >> > > >> > can't see anything wrong with my Makefile, like the google threads > say, > >> so > >> > PLEASE HELP. > >> > >> The kernel module was built along with the kernel? > > > > > > No, seperately. > > > > > >> > >> Does it matter which module, or are you getting this with any loadable > >> module? > >> > > > > didn't try any other module, this driver is my first work with FreeBSD.. > > I see. I had not understood that the module was something you were > writing. > > You might want to try freebsd-hackers. I'm a bit out of date on > kernel coding (in fact, I thought that relocations weren't needed any > more, at least on new platforms). > I suddenly noticed that this message appears only when I'm compiling in debug mode, meaning I'm adding the -g flag plus some -DMY_OWN_DEBUG_DEFINES to the compilation.