Hi all, we cannot declare nested loop functions with extern or static. Please refer http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Nested-Functions.html#Nested-Functions This clearly states how we should we deal with nested functions. This is mainly for gcc-4.x versions where it will make the build break. Please find the attached patch for the 'check_and_set' function in proto-srv.c Thanks -- Harshavardhana "Software gets slower faster as Hardware gets faster"