From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 1 23:00:56 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C69510656D4 for ; Wed, 1 Apr 2009 23:00:56 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id E56BE8FC18 for ; Wed, 1 Apr 2009 23:00:55 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n31N0tZ5002341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Apr 2009 16:00:55 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49D3F227.90606@freebsd.org> Date: Wed, 01 Apr 2009 16:00:55 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Daamn M References: <2f0131d50904011424l5f2e87aeu5cd48960e5dc98b8@mail.gmail.com> In-Reply-To: <2f0131d50904011424l5f2e87aeu5cd48960e5dc98b8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-hackers@freebsd.org Subject: Re: Compilation of hostapd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 23:00:56 -0000 Daamn M wrote: > Hi! > > I'm trying to set up wifi access point using my FreeBSD box and > hostapd deamon. My goal is running EAP-TTLS server. It seems that the > version shipped with base system isn't compiled with options allowing > to use EAP server (I'm using 7.0 version but the same is with the > latest 8.0 snapshot). I was suprised that some part of base system > requires nonstandard tool (gmake) (I changed it to be able to use > standard FreeBSD make). Besides, trying to compile it I get the > following error: > > preauth.o(.text+0x1b2): In function `rsn_preauth_send': > /usr/src/contrib/hostapd/preauth.c:263: undefined reference to `l2_packet_send' > preauth.o(.text+0x55c): In function `rsn_preauth_iface_deinit': > /usr/src/contrib/hostapd/preauth.c:148: undefined reference to > `l2_packet_deinit' > preauth.o(.text+0x660): In function `rsn_preauth_iface_init': > /usr/src/contrib/hostapd/preauth.c:119: undefined reference to `l2_packet_init' > gmake: *** [hostapd] Error 1 > > > This is ,,.config'' file I used (after this I pasted error I get if I > modify a bit config file): > cd /usr/src/usr.sbin/wpa/hostapd; make To enable functionality already supported by the Makefile you can add HOSTAPD_* options to your src.conf (or for testing just add them to make cmd line). Otherwise you might need to mod the Makefile in which case you can file a PR w/ the needed changes to get them included in svn. Sam