Package: netapplet Version: 1.0.0-1 Severity: serious Tags: patch When building 'netapplet' on unstable, I get the following error:
netdaemon.c: In function 'netdaemon_do_get_accesspoints': netdaemon.c:788: warning: implicit declaration of function 'iw_pr_ether' netdaemon.c: In function 'netdaemon_do_change_essid_debian': netdaemon.c:860: warning: unused parameter 'channel' x86_64-linux-gnu-gcc -Wall -g -O2 -o netdaemon netcommon.o netdaemon.o -lglib-2.0 -liw netdaemon.o: In function `netdaemon_do_get_accesspoints': /netapplet-1.0.0/src/netdaemon.c:788: undefined reference to `iw_pr_ether' netdaemon.o: In function `netdaemon_do_get_wireless': /netapplet-1.0.0/src/netdaemon.c:1077: undefined reference to `iw_pr_ether' collect2: ld returned 1 exit status make[3]: *** [netdaemon] Error 1 make[3]: Leaving directory `/netapplet-1.0.0/src' With the attached patch 'netapplet' can be compiled on unstable. Regards Andreas Jochens diff -urN ../tmp-orig/netapplet-1.0.0/src/netdaemon.c ./src/netdaemon.c --- ../tmp-orig/netapplet-1.0.0/src/netdaemon.c 2005-09-07 12:31:44.000000000 +0000 +++ ./src/netdaemon.c 2005-09-07 12:31:26.000000000 +0000 @@ -785,7 +785,7 @@ char ap_addr[128]; memset (ap_addr, 0, 128); - iw_pr_ether (ap_addr, wrq.u.ap_addr.sa_data); + iw_ether_ntop (wrq.u.ap_addr.sa_data, ap_addr); if (!is_valid_ap_address (ap_addr)) { error = TRUE; @@ -1074,7 +1074,7 @@ char ap_addr[128]; memset (ap_addr, 0, 128); - iw_pr_ether (ap_addr, wrq.u.ap_addr.sa_data); + iw_ether_ntop (wrq.u.ap_addr.sa_data, ap_addr); if (!is_valid_ap_address (ap_addr)) { /* This is kind of ugly... */ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]