|
|
发表于 2006-5-7 08:45:09
|
显示全部楼层
用xsupplicant-0.6.0版编译时却可以通过(没有补丁)
但是在谁证出现问题:
#./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking build system type... i386-unknown-openbsd3.9
checking host system type... i386-unknown-openbsd3.9
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for bison... no
checking for byacc... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking Operating System... OpenBSD
checking for openssl (required package)... /usr/lib/
checking for libpcap (required package)... standard installation
checking for libdnet (required package)... /usr/local
checking for eth_ntoa in -ldnet... yes
checking for OS specific tweaks... none
checking for wireless extensions... found for BSDish systems
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating etc/Makefile
config.status: creating drivers/Makefile
config.status: linking ./src/wireless/bsd/os_wireless_ext.c to src/os_wireless_e
xt.c
config.status: executing depfiles commands
#make
Making all in src
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f '1xdriver.c' || echo './'`1xdriver.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f '1xdaemon.c' || echo './'`1xdaemon.c
1xdaemon.c: In function `process_message':
1xdaemon.c:113: warning: control reaches end of non-void function
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'eapol.c' || echo './'`eapol.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -
o eaptls.o `test -f 'auth_methods/tls/eaptls.c' || echo './'`auth_methods/tls/ea
ptls.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'eap.c' || echo './'`eap.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBDNET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'userconf.c' || echo './'`userconf.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -
o eapcrypt.o `test -f 'auth_methods/tls/eapcrypt.c' || echo './'`auth_methods/tl
s/eapcrypt.c
auth_methods/tls/eapcrypt.c: In function `eapcrypt_PRF':
auth_methods/tls/eapcrypt.c:254: warning: assignment discards qualifiers from po
inter target type
auth_methods/tls/eapcrypt.c:270: warning: assignment discards qualifiers from po
inter target type
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'configparse.c' || echo './'`configparse.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'dot1x_globals.c' || echo './'`dot1x_globals.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -
o os_generic.o `test -f 'frame_handlers/generic/os_generic.c' || echo './'`frame
_handlers/generic/os_generic.c
frame_handlers/generic/os_generic.c: In function `setup_pcap':
frame_handlers/generic/os_generic.c:103: warning: unused variable `errbuf'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -
o eapmd5.o `test -f 'auth_methods/md5/eapmd5.c' || echo './'`auth_methods/md5/ea
pmd5.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -
o eapmschapv2.o `test -f 'auth_methods/mschapv2/eapmschapv2.c' || echo './'`auth
_methods/mschapv2/eapmschapv2.c
auth_methods/mschapv2/eapmschapv2.c: In function `decode_error':
auth_methods/mschapv2/eapmschapv2.c:346: warning: assignment makes pointer from
integer without a cast
auth_methods/mschapv2/eapmschapv2.c:351: warning: assignment makes pointer from
integer without a cast
auth_methods/mschapv2/eapmschapv2.c:366: warning: assignment makes pointer from
integer without a cast
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -
o desport.o `test -f 'auth_methods/mschapv2/desport.c' || echo './'`auth_methods
/mschapv2/desport.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -o deskey.o `test -f 'auth_methods/mschapv2/deskey.c' || echo './'`auth_methods/m
schapv2/deskey.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'logging.c' || echo './'`logging.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'os_wireless_ext.c' || echo './'`os_wireless_ext.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c -
o auth_tools.o `test -f 'auth_methods/auth_tools.c' || echo './'`auth_methods/au
th_tools.c
yacc -d -d `test -f 'config_grammar.y' || echo './'`config_grammar.y
sed '/^#/ s|y\.tab\.c|config_grammar.c|' y.tab.c >config_grammar.c
rm -f y.tab.c
if test -f y.tab.h; then to=`echo "config_grammar_H" | sed -e 'y/abcdefghijklm
nopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/
_/g'`; sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >config_grammar.ht; rm -f y.tab.h;
if cmp -s config_grammar.ht config_grammar.h; then rm -f config_grammar.ht ; el
se mv config_grammar.ht config_grammar.h; fi; fi
if test -f y.output; then mv y.output config_grammar.output; fi
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBDNET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'config_grammar.c' || echo './'`config_grammar.c
flex `test -f config_lex.l || echo './'`config_lex.l
sed '/^#/ s|lex.yy\.c|config_lex.c|' lex.yy.c >config_lex.c
rm -f lex.yy.c
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -D__BSD__=1 -DOPENBSD=1 -DHAVE_OPENSSL=1 -DHAVE_LIBD
NET=1 -I. -I. -I/usr/include/openssl -I/usr/local/include -g -O2 -Wall -c
`test -f 'config_lex.c' || echo './'`config_lex.c
config_lex.c:1203: warning: `yyunput' defined but not used
gcc -g -O2 -Wall -o xsupplicant 1xdriver.o 1xdaemon.o eapol.o eaptls.o eap.
o userconf.o eapcrypt.o configparse.o dot1x_globals.o os_generic.o eapmd5.o e
apmschapv2.o desport.o deskey.o logging.o os_wireless_ext.o auth_tools.o confi
g_grammar.o config_lex.o -lpcap -L/usr/local/lib -ldnet -lfl -lcrypto -lssl -l
dnet
1xdriver.o(.text+0x108): In function `main':
/tmp/xsupplicant/src/1xdriver.c:201: warning: strcpy() is almost always misused,
please use strlcpy()
os_generic.o(.text+0x116): In function `setup_pcap':
frame_handlers/generic/os_generic.c:120: warning: sprintf() is often misused, pl
ease use snprintf()
1xdriver.o(.text+0x2e6): In function `main':
/tmp/xsupplicant/src/1xdriver.c:277: warning: strcat() is almost always misused,
please use strlcat()
Making all in etc
Making all in tools
Making all in doc
Making all in drivers
认证时出现的问题
#xsupplicant -i bce0 -u sllrechardd15 -p 12345678 -w
Username override! Using username sll4029409701c
Password passed in from command line! (This isn't very secure!)
Setup on device bce0 complete
This connection has been forced to a wired connection! The network name will be 'default'
Done with init.
Server Socket Initialized.
到这里停住,没有显示认证成功信息。认证不成功。 |
|