Claudio Scordino ha scritto:
Hi all,

I cloned the latest version of sbox2 from git and I have the following error.

I have the following program:

#include <stdio.h>

int main (void)
{
   printf("Hello world!\n");
   return 0;
}


If i type

        sb2 host-gcc host.c

the program is compiled correctly, but Scratchbox gives me the following error:

Messages from sb2:
2009-10-21 15:38:28.769 (ERROR) host-gcc[1662] Internal error: fdpathdb needs absolute paths (but got 'host.c','host.c')
# exit 0 (0)

Any idea of what's happening ?

I found out that this behavior happens when mapped_path defined in fdpathdb_register_mapped_path() is a relative path instead of an absolute one.

This, in turn, happens when the mres_result_buf field of the mapping_results_s structure is relative.

However, according to the comment in the include/mapping.h file, this field "may be an empty string, or relative path after all in some situations.".

Therefore, I assume that it is not an important error, but just a warning.

Is this assumption right ? Should I care about this error ?

Any comment and suggestion will be very appreciated.

Many thanks,

               Claudio


_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to