[Klone-users] fork() check failing on uClinux build

Steven Dorigotti dorigotti at koanlogic.com
Sun Jun 7 10:16:08 EDT 2009


Hello Eduardo,

   have you already seen the following thread? http://koanlogic.com/pipermail/klone-users/2008-April/000252.html

   It gives two solutions for building klone under uclinux: by using  
iterative server mode or by applying a patch to KLone 2.0.2 which uses  
vfork instead of fork.

   If you are still having trouble with the makl_checkfork function  
please try changing "fork" into "vfork" in the file ./build/ 
makl_checkfork, or at worst commenting the line starting with  
"makl_checkfork" in the ./configure script.

Let us know - cheers,
sd

On 07/giu/09, at 14:58, Eduardo Quiros wrote:

> Hello all,
>
> I am trying to build klone for uClinux, to run it in a ColdFire- 
> based board. I followed the instructions in http://wiki.koanlogic.com/doku.php?id=klone_on_uclinux 
> , but when i get to the 'make' step, the build fails with the  
> following error:
>
> ...
> checking for type pid_t
> checking for tm_gmtoff in struct tm
> checking for fork() support
> compilation failed
> build/makl_checkfork: line 33: [: =: unary operator expected
> [err] failed fork check!
>
> uClinux doesn't have fork(), and one of the usual porting changes is  
> to change fork calls to vfork. However, has anyone faced this  
> problem before, and can anyone give me a hint on how to remove this  
> check to have the make process go further?
>
> Any help appreciated.
>
> Regards,
>
> -- 
> Eduardo Quirós-Campos
> ----------------------------------------
> email:edoquiros at gmail.com
> ++(506)8842-2076
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20090607/ef361096/attachment.htm


More information about the klone-users mailing list