Subject: wpa_cli compile errors
To: None <current-users@netbsd.org>
From: None <freedom.day@gmail.com>
List: current-users
Date: 06/11/2007 13:59:03
Hi,

I've grabbed latest sources for NetBSD-current as of writing, 
and tried to compile /usr.sbin/wpa/wpa_cli/ but I do get this error > 

#make USETOOLS=no cleandir dependall 


#   compile  wpa_cli/wpa_cli.o
cc -O2   -Werror   -DCONFIG_READLINE    -c    /usr/current/src/usr.sbin/wpa/wpa_cli/../../../dist/wpa_supplicant/wpa_cli.c
#   compile  wpa_cli/wpa_ctrl.o
cc -O2   -Werror   -DCONFIG_READLINE    -c    /usr/current/src/usr.sbin/wpa/wpa_cli/../../../dist/wpa_supplicant/wpa_ctrl.c
#      link  wpa_cli/wpa_cli
cc    -o wpa_cli  -Wl,-rpath-link,/lib:/usr/lib  -L/lib wpa_cli.o wpa_ctrl.o -ledit 
wpa_cli.o: In function `wpa_cli_completion':
wpa_cli.c:(.text+0x4c6): undefined reference to `rl_completion_matches'
wpa_cli.c:(.text+0x4d9): undefined reference to `rl_completion_matches'
*** Error code 1

Stop.
make: stopped in /usr/current/src/usr.sbin/wpa/wpa_cli
*** Error code 1

Stop.
make: stopped in /usr/current/src/usr.sbin/wpa/wpa_cli
*** Error code 1

Stop.
make: stopped in /usr/current/src/usr.sbin/wpa 


Am I doning sometihg wrong ?    
Thanks 
Pavel