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

Carlos Santín Carballo csantin at wonesys.com
Mon Sep 22 06:37:22 EDT 2008


Hi to all members of the list

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?

Thanks in advance

Carlos Santín

-- 
Carlos Santín Carballo
W-onesys, SL
WDM Optical NEtworks SYStems
C/ Orient, 78-84
08172 Sant Cugat del Valles (Barcelona) - SPAIN
Tel. + 34 93 590 11 49
fax  + 34 93 590 11 57
www.w-onesys.com





More information about the klone-users mailing list