[Klone-users] Compilation for elf m68k

Mickael Auger mickael.auger at gmail.com
Tue Apr 8 10:29:18 EDT 2008


Hi Thomas,

thank you for the good work. It has helped me for a better understanding of
KLone.

However the symbolic link "kloned" is invalid because the link
"klone-2.0.2/kloned" doesn't exists. But the real program
"klone-2.0.2/buil/target/klone-core-2.0.2/src/kloned/kloned" is present.

My mainly folder contains :

   - klone-2.0.2.tar.gz (from
http://koanlogic.com/download/klone/klone-2.0.2.tar.gz)
   - klapp.mk (from http://koanlogic.com/klone/klapp.mk)
   - makl.patch
   - Makefile
   - m68k-elf.tc

In mainly folder I only enter :

    make

and it's OK.

After upload the "kloned" program on my embedded system,
my new problem go with the execution on the embedded when I enter :
    ./kloned -F              or                ./kloned

indeed this execution print "daemon error" for the second command, because
'server.c' use the "fork()" function that is unvailable on my embedded. But
my embedded knows the "vfork()" function. My log file displays many time :

    [wrn][232:server.c:556:server_fork_child] fork error
    [wrn][232:server.c:561:server_fork_child] errno: 38 (Function not
implemented)
    [dbg][232:server.c:842:server_spawn_child] (rc = server_fork_child(s,
be)) < 0
    [dbg][232:server.c:885:server_spawn_children] server_spawn_child(s, be)
    [dbg][232:server.c:928:server_loop] server_spawn_children(s)

Can you have an idea ? Can I replace the fork() by vfork() ?

Thank you very much.

-- 
Mickaël AUGER
mickael.auger at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20080408/31aefbc9/attachment.html


More information about the klone-users mailing list