[Klone-users] Cross compile Klone 2.1.0 for arm-linux

thomas fossati tho at koanlogic.com
Mon Sep 22 08:13:44 EDT 2008


Hi Carlos,

On Sep 22, 2008, at 12:37 PM, Carlos Santín Carballo wrote:
> I am trying to cross-compile Klone for a linux-arm environment. In  
> order to achieve this, I download the Makefile for the 2.1.0 version  
> and add the line:
>
> MAKL_PLATFORM = linux-arm
>
> then I run make and it ends with this strange following error when  
> compiling the libu:
>
> arm-linux-g++ -I/home/csantin/src/klone/klone-2.0.2/build/target/ 
> klone-core-2.0.2/libu/include -I/home/csantin/src/klone/klone-2.0.2/ 
> build/target/klone-core-2.0.2 -DHAVE_CONF_H   -O2   -I../../libu/ 
> include -o kloned server.o main.o entry.o ppc.o atom.o ppc_log_add.o  
> ppc_log_get.o ppc_nop.o child.o ppc_access_log.o ppc_fork_child.o - 
> Wl,--start-group ../libhttp/libhttp.a ../libutils/libutils.a ../ 
> libpage/libpage.a ../libbackend/libbackend.a ../libemb/libemb.a ../ 
> libio/libio.a ../libtls/libtls.a ../../site/libsite.a ../libcodec/ 
> libcodec.a ../libklog/libklog.a ../../webapp/libwebapp.a ../libhttp/ 
> libhttp.a ../libpage/libpage.a ../libutils/libutils.a ../libio/ 
> libio.a ../libtls/libtls.a ../libcodec/libcodec.a ../libpage/ 
> libpage.a ../libhook/libhook.a  ../../libu/srcs/libu.a -Wl,--end-group
> ../../site/libsite.a(pg_2cc3da97e110aefe2f9367222c408ec1.o)(.text 
> +0x90): In function `exec_page':
> : undefined reference to `u_io_unzip_copy'
> ../../site/libsite.a(pg_2cc3da97e110aefe2f9367222c408ec1.o)(.text 
> +0xb0): In function `exec_page':
> : undefined reference to `u_io_unzip_copy'
> ../../site/libsite.a(pg_2cc3da97e110aefe2f9367222c408ec1.o)(.text 
> +0xf0): In function `exec_page':
> : undefined reference to `u_io_unzip_copy'
> collect2: ld returned 1 exit status
>
> Do I have to modify anything apart from the top-level Makefile for  
> cross-compile Klone?

in principle, no.

Anyway, I see some strangeness in the output that you provided: you  
say you're using version 2.1.0 but I see version 2.0.2 of the klone  
core.  Could you please try with a fresh build ?

ciao, t.



More information about the klone-users mailing list