[Klone-users] Update 2.1.1rc0 to 2.1.1rc10 Error addr_t

Mickael Auger mickael.auger at gmail.com
Mon Oct 6 05:24:07 EDT 2008


Hi Thomas,

your "va_copy.patch" patch allow compiling the KLone server without personal
pages or libraries.

After this, I had my libraries and personals web pages to update my
application with 2.1.1rc0 KLone version to 2.1.1rc10.
But I have a library that uses the "addr_t" type and I have this compilation
error :
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
m68k-elf-gcc -I/opt/uClinux-dist/uClibc/include
-L/opt/uClinux-dist/uClibc/libc/ -L/opt/uClinux-dist/uClibc/libm/ -Os -m5307
-msep-data -D__UCLINUX__ -pipe -I ../include
-I/home/all_user/ug_ma/ug_web-v1.5x_2.1.1rc10/klone-2.1.1rc10/build/target/klone-core-2.1.1rc10
-I/home/all_user/ug_ma/ug_web-v1.5x_2.1.1rc10/klone-2.1.1rc10/build/target/klone-core-2.1.1rc10/libu/include
-c fctscommunes.c -o fctscommunes.o
fctscommunes.c: In function 'is_connecte':
fctscommunes.c:127: 'addr_t' undeclared (first use in this function)
...

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


I look the KLone source and I see that the redefinition of "addr_t" has been
replace by "kaddr_t".
So I replace "addr_t" word by "kaddr_t" in my source code (fctscommunes.c),
and I have this new compilation error (that I have not with the 2.1.1rc0
version) :
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
m68k-elf-gcc -I/opt/uClinux-dist/uClibc/include
-L/opt/uClinux-dist/uClibc/libc/ -L/opt/uClinux-dist/uClibc/libm/ -Os -m5307
-msep-data -D__UCLINUX__ -pipe
-I/home/all_user/ug_ma/ug_web-v1.5x_2.1.1rc10/klone-2.1.1rc10/build/target/klone-core-2.1.1rc10/libu/include
-I/home/all_user/ug_ma/ug_web-v1.5x_2.1.1rc10/klone-2.1.1rc10/build/target/klone-core-2.1.1rc10
-DHAVE_CONF_H  -I/usr/local/include -O2  -I/usr/local/include
-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
/home/all_user/ug_ma/ug_web-v1.5x_2.1.1rc10/lokiinifile/liblokiinifile.a
/home/all_user/ug_ma/ug_web-v1.5x_2.1.1rc10/fctscommunes/libfctscommunes.a
/home/all_user/ug_ma/ug_web-v1.5x_2.1.1rc10/base64/libbase64.a
../../libu/srcs/libu.a -Wl,--end-group -Wl,-elf2flt -lc -lgcc  -lz
-L/usr/local/lib -lcrypt
kloned.elf2flt: In function `__gexf2':
/home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/xfgnulib.c(.text+0x2aca4):
undefined reference to `strncat'
collect2: ld returned 1 exit status
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Here my checked tools :
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
checking for basic required tools
setting package name to klone
setting version to 2.1.1rc10
checking for header stdint
checking for header getopt
checking for header unistd
checking for header sys_select
checking for header sys_wait
checking for header sys_dir
checking for header sys_socket
checking for symbol SA_RESTART
checking for symbol TCP_NODELAY
adding optional lib dependency openssl
adding optional lib dependency openssl_psk
adding optional lib dependency z
checking for type pid_t
checking for basic required tools
setting package name to klone
setting version to 2.1.1rc10
checking for header stdint
checking for header getopt
checking for header unistd
checking for header sys_select
checking for header sys_wait
checking for header sys_dir
checking for header sys_socket
checking for symbol SA_RESTART
checking for symbol TCP_NODELAY
adding optional lib dependency openssl
adding optional lib dependency openssl_psk
adding optional lib dependency z
checking for type pid_t
checking for tm_gmtoff in struct tm
compilation failed
[wrn] failed check on optional struct elem tm_gmtoff
checking for fork() support
checking for function syslog
checking for function mkstemp
checking for function localtime_r
checking for inline keyword support
adding optional featx dependency doxygen
handling command-line arguments
checking dependencies
searching for optional lib feature openssl
searching for optional lib feature openssl_psk
searching for optional lib feature z
[wrn] could not find optional dependency 'openssl_psk'
searching for optional featx feature doxygen
[wrn] could not find optional dependency 'doxygen'
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


Are you an idea or a solution please ?
-- 
Mickaël AUGER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20081006/1faa3cfa/attachment.htm


More information about the klone-users mailing list