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

Radek radek.hnilica at gmail.com
Tue Oct 7 09:22:57 EDT 2008


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




More information about the klone-users mailing list