<div dir="ltr"><div><div><div><div><div><div>I need to access configurations files the for web server I am porting to rtems. <br><br></div>I create a tar archive , that contains the required folders and files , convert it into c source using rtems-bin2c , ( a header file and a c source ) and link them with my project. <br><br></div>In the init, I call <br><br>sc = Untar_FromMemory((void *)TARFILE_START, (size_t)TARFILE_SIZE);<br><br></div>where TARFILE_START is the macro with the name of the array , TARFILE_SIZE is the size of the array. <br><br></div>But when I run the program, I get errors of the form <br><br>"Untar: failed to create file <folder>/<filename>" <br></div><br>for all the files in the tar archive (there are about 10 files, 10 errors).<br><br></div>There are no build errors, and since my application recognizes files present in the tar archive, I think possibly I am missing to initialize something. <br><div><br></div><div>Help would be really appreciated. <br><br></div><div>Thanks and Regards,<br></div><div>Sujay Raj<br></div></div>