From nobody@FreeBSD.org  Tue Sep 18 14:38:16 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BE83116A41B
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Sep 2007 14:38:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A69B013C4EE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Sep 2007 14:38:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8IEcGvG032865
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Sep 2007 14:38:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l8IEcG9A032864;
	Tue, 18 Sep 2007 14:38:16 GMT
	(envelope-from nobody)
Message-Id: <200709181438.l8IEcG9A032864@www.freebsd.org>
Date: Tue, 18 Sep 2007 14:38:16 GMT
From: Alexander Pyhalov <alp@rsu.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: crash building FreeBSD 7.0 with NO_CRYPT (wpa_supplicant)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         116439
>Category:       kern
>Synopsis:       [wpa_supplicant]: crash building FreeBSD 7.0 with NO_CRYPT (wpa_supplicant)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 18 14:40:01 GMT 2007
>Closed-Date:    Mon Oct 15 18:52:36 UTC 2007
>Last-Modified:  Tue Oct 16 14:00:03 UTC 2007
>Originator:     Alexander Pyhalov
>Release:        7.0
>Organization:
>Environment:
FreeBSD 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5
>Description:
I have problem compiling FreeBSD 7 on FreeBSD 6.2-RELEASE-p5, using NO_CRYPT=       true in /etc/make.conf. During make world I get 
cc -O2 -pipe -march=athlon-mp -I/usr/src/usr.sbin/wpa/wpa_supplicant -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_TERMINATE_ONLASTIF -g -DCONFIG_BACKEND_FILE -DIEEE8021X_EAPOL   -o wpa_supplicant config.o eloop.o common.o md5.o rc4.o sha1.o aes_wrap.o wpa_supplicant.o events.o wpa.o preauth.o pmksa_cache.o ctrl_iface.o ctrl_iface_unix.o l2_packet.o main.o drivers.o driver_ndis.o Packet32.o driver_freebsd.o os_unix.o config_file.o base64.o eapol_sm.o eap.o eap_methods.o tls_none.o -lpcap
md5.o(.text+0xc3): In function `hmac_md5_vector':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/md5.c:78: undefined reference to `md5_vector'
md5.o(.text+0x142):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/md5.c:91: undefined reference to `md5_vector'
md5.o(.text+0x16e):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/md5.c:49: undefined reference to `md5_vector'
sha1.o(.text+0xc3): In function `hmac_sha1_vector':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/sha1.c:78: undefined reference to `sha1_vector'
sha1.o(.text+0x142):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/sha1.c:91: undefined reference to `sha1_vector'
sha1.o(.text+0x16e):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/sha1.c:50: undefined reference to `sha1_vector'
aes_wrap.o(.text+0x7b): In function `aes_128_cbc_decrypt':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:454: undefined reference to `aes_decrypt_init'
aes_wrap.o(.text+0xe4):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:462: undefined reference to `aes_decrypt'
aes_wrap.o(.text+0x12c):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:468: undefined reference to `aes_decrypt_deinit'
aes_wrap.o(.text+0x182): In function `aes_unwrap':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:112: undefined reference to `aes_decrypt_init'
aes_wrap.o(.text+0x1f4):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:130: undefined reference to `aes_decrypt'
aes_wrap.o(.text+0x22b):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:136: undefined reference to `aes_decrypt_deinit'
aes_wrap.o(.text+0x26b): In function `aes_128_cbc_encrypt':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:421: undefined reference to `aes_encrypt_init'
aes_wrap.o(.text+0x2df):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:430: undefined reference to `aes_encrypt'
aes_wrap.o(.text+0x30b):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:434: undefined reference to `aes_encrypt_deinit'
aes_wrap.o(.text+0x33e): In function `aes_128_ctr_encrypt':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:256: undefined reference to `aes_encrypt_init'
aes_wrap.o(.text+0x38d):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:262: undefined reference to `aes_encrypt'
aes_wrap.o(.text+0x3d4):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:276: undefined reference to `aes_encrypt_deinit'
aes_wrap.o(.text+0x406): In function `aes_128_encrypt_block':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:228: undefined reference to `aes_encrypt_init'
aes_wrap.o(.text+0x427):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:231: undefined reference to `aes_encrypt'
aes_wrap.o(.text+0x42f):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:232: undefined reference to `aes_encrypt_deinit'
aes_wrap.o(.text+0x458): In function `omac1_aes_128':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:184: undefined reference to `aes_encrypt_init'
aes_wrap.o(.text+0x4f0):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:198: undefined reference to `aes_encrypt'
aes_wrap.o(.text+0x55c):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:210: undefined reference to `aes_encrypt'
aes_wrap.o(.text+0x567):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:211: undefined reference to `aes_encrypt_deinit'
aes_wrap.o(.text+0x587):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:193: undefined reference to `aes_encrypt'
aes_wrap.o(.text+0x5ed): In function `aes_wrap':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:56: undefined reference to `aes_encrypt_init'
aes_wrap.o(.text+0x65a):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:72: undefined reference to `aes_encrypt'
aes_wrap.o(.text+0x691):/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/aes_wrap.c:79: undefined reference to `aes_encrypt_deinit'
eap.o(.text+0x1bec): In function `eap_sm_step':
/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa_supplicant/eap.c:1071: undefined reference to `md5_vector'
*** Error code 1

Stop in /usr/src/usr.sbin/wpa/wpa_supplicant.
*** Error code 1

Stop in /usr/src/usr.sbin/wpa.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sam 
Responsible-Changed-By: remko 
Responsible-Changed-When: Thu Sep 27 16:39:55 UTC 2007 
Responsible-Changed-Why:  
Hello Sam, would this be something for you to look at? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116439 
State-Changed-From-To: open->analyzed 
State-Changed-By: sam 
State-Changed-When: Fri Sep 28 04:08:36 UTC 2007 
State-Changed-Why:  
I can reproduce it; fix coming 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116439 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/116439: commit references a PR
Date: Fri, 28 Sep 2007 15:52:34 +0000 (UTC)

 sam         2007-09-28 15:52:28 UTC
 
   FreeBSD src repository
 
   Modified files:
     usr.sbin/wpa/wpa_supplicant Makefile 
   Log:
   fix building with NO_CRYPT=true
   
   PR:             116439
   Approved by:    re (gnn)
   
   Revision  Changes    Path
   1.11      +3 -0      src/usr.sbin/wpa/wpa_supplicant/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: sam 
State-Changed-When: Mon Oct 15 18:52:08 UTC 2007 
State-Changed-Why:  
fix committed; no feedback from submitter 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116439 

From: Alexander Pyhalov <alp@rsu.ru>
To: bug-followup@FreeBSD.org, alp@rsu.ru
Cc:  
Subject: Re: kern/116439: [wpa_supplicant]: crash building FreeBSD 7.0 with
	NO_CRYPT (wpa_supplicant)
Date: Tue, 16 Oct 2007 17:39:47 +0400

 I've tested the last version (with new Makefile).  Still have the same
 error... 
 -- 
 Best regards, 
 Alexander Pyhalov, 
 system administrator of Computer Center of South Federal University
 
>Unformatted:
