[Klone-users] Problems with migrating from 2.1.0 to 2.1.1

Stefano Barbato barbato at koanlogic.com
Tue Oct 7 11:05:02 EDT 2008


Hello Radek,

addr_t has been renamed to kaddr_t to avoid a name clash when  
compiling on Cygwin.

Try to use kaddr_t instead of addr_t in your is_addr_on_lan() function.

bye!
s



On 07/ott/08, at 15:22, Radek wrote:

> When I compile my application 2.1.0 it works.
> But when I try to chenge:
>
> KLONE_VERSION ?= 2.1.1
>
> and comment out
>
> ### Aplied patches
> #KLONE_TARGET_PATCH_FILE = $(CURDIR)/patch/2.1.0-ssl.patch
>
> The compilation fails.  But the fail is very confusing.  It says that
> the error is in my source.
>
> ==> making subdir /home/radek/firma/lekarna/src/sawi/src/lib
> make[4]: Entering directory `/home/radek/firma/lekarna/src/sawi/src/ 
> lib'
> gcc -pipe -I ../include
> -I/home/radek/firma/lekarna/src/sawi/src/klone-2.1.1/build/target/ 
> klone-core-2.1.1
> -I/home/radek/firma/lekarna/src/sawi/src/klone-2.1.1/build/target/ 
> klone-core-2.1.1/libu/include
> -c sawi.c -o sawi.o
> In file included from ../include/sawi.h:12,
>                 from sawi.c:7:
> ../include/network.h:14: error: expected ')' before '*' token
> make[4]: *** [sawi.o] Error 1
>
> The network ho contains:  (line 1-5 is comment)
>  6 #ifndef _NETWORK_H_
>  7 #define _NETWORK_H_
>  8
>  9 #include <dumbnet.h>
> 10
> 11 /*
> 12  * Function prototypes
> 13  */
> 14 int is_addr_on_lan(addr_t *addr); /* Check if addres is on
> connected networks */
> 15 const char *loc_iface_name(void);
>
> -- 
> Radek
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>





More information about the klone-users mailing list