From owner-freebsd-net@FreeBSD.ORG Sun Feb 17 08:19:32 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A07CEB4F for ; Sun, 17 Feb 2013 08:19:32 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD40DEA for ; Sun, 17 Feb 2013 08:19:32 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id t57so4006512wey.13 for ; Sun, 17 Feb 2013 00:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=P0/369d24UQKIPU6QGSx9UBhMSdEOuR6Nu25ZCS0tRk=; b=bllEXeRb9RDvJzAbwEZt7+iaQZghGxHT1dA3cWaTJiWHXwdlKs2gN+rFRUmI8SFiXw 0LIR6+k6w1gzLt8vipijCaw0nxdrKwWJB8ub5f3JmUZz7HRXWnb5qjGgjwoxNK9jDeXu k8Ji8hz6tPdJXPG+pM1OJsRLb98adTMLl2YYKWs6XQdWNGu/BkaFJtcAz68ZhbWYSVlt FEW5tpscVf3zBeV0yIGMlFX+4apkXy5Pr9+AiLfvv8KWRg50gHmoZKvZZl0FXwpOZ9Eo w+97FcozIFm4uQru/goYtddxR0HQFPdMSqmZc1sSgixMEbpvPN2vdey/gI1qu0db/PUU 0S3g== X-Received: by 10.180.92.129 with SMTP id cm1mr14093952wib.10.1361089170542; Sun, 17 Feb 2013 00:19:30 -0800 (PST) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.194.23.199 with HTTP; Sun, 17 Feb 2013 00:19:10 -0800 (PST) In-Reply-To: References: From: h bagade Date: Sun, 17 Feb 2013 11:49:10 +0330 X-Google-Sender-Auth: Y2ER0ismWJOXrdEgJ46AV-6xmKY Message-ID: Subject: Re: failed to use getifaddrs on geli code To: Kevin Oberman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 08:19:32 -0000 On Sat, Feb 16, 2013 at 10:23 PM, Kevin Oberman wrote: > On Sat, Feb 16, 2013 at 5:40 AM, h bagade wrote: > > Hi all, > > > > I need to change the geli code and I want to use "getifaddrs" function > > inside the code. I make and make install the code and it wasn't any > problem > > at all, but when I want to load the geom_eli.ko module, an error > occurred: > > kldload: can't load /boot/kernel/geom_eli.ko: Exec format error > > > > and in /var/log/messages, it stated: > > link_elf_obj: symbol getifaddrs undefined > > > > how can I solve this problem? > > Any hints or comments are really appreciated > > One possibility is that your sources from which you built the modified > geom_eli module are not the same as were used to build the kernel you > are running. > -- > R. Kevin Oberman, Network Engineer > E-mail: kob6558@gmail.com > I've build the kernel once again with the modified geli code and the error still exists!