From owner-freebsd-net@FreeBSD.ORG Sat Feb 16 13:41:07 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3BCE4F09 for ; Sat, 16 Feb 2013 13:41:07 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-gh0-f171.google.com (mail-gh0-f171.google.com [209.85.160.171]) by mx1.freebsd.org (Postfix) with ESMTP id 00405AE0 for ; Sat, 16 Feb 2013 13:41:06 +0000 (UTC) Received: by mail-gh0-f171.google.com with SMTP id r17so286203ghr.30 for ; Sat, 16 Feb 2013 05:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=LANWjafXg/um1CwFWoSPHL1/KnHbMguz0+0hx4zlh/0=; b=iBWsoi26LAepFEMZxXyNUofcKU9L9jkfV5cVVIuAam/h6UR8V1CEXT68UHvHeRI1u/ Tf11GSIPQfEP63oaMzYhssfMKwmHniTxRf+HQFe7rXdseBCrxq4Pn/SPO5HWVsMTs9is heBhY5WmlSjL624U0qqn9t+VtTUYu8FXufgPp8F6HZ4XpCWWAW1UlL/KvT/yq/k011Y7 zotvMA6NkTJdRW5okoWL1KkbwVKjmI3TBWVs0pqmokK/KYSm/jvIklPhexPLZ+6Utxe6 wV828OFrZhix2Rpg0hBUicbWMyKJ6+UViGxNKaA3UnHzWpJGSGvOhNnLyKs9JFozcQK+ eJVA== X-Received: by 10.236.131.169 with SMTP id m29mr8132710yhi.114.1361022066299; Sat, 16 Feb 2013 05:41:06 -0800 (PST) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.101.143.27 with HTTP; Sat, 16 Feb 2013 05:40:46 -0800 (PST) From: h bagade Date: Sat, 16 Feb 2013 17:10:46 +0330 X-Google-Sender-Auth: VidLhjB1Lzcugedd9OHNs82MmVA Message-ID: Subject: failed to use getifaddrs on geli code To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Sat, 16 Feb 2013 13:41:07 -0000 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