I wonder if someone can help me out from this problem. So the conclusion I have made from all this that make and configure can’t find these headers and to be aware the checking action for utime.h in configure gives the result “no” and the same thing with some other one which are not in the include of the parent directory but they are in or32-linux’s include. These two directories contain the bin, include, lib and all the directories in the parent one and after comparing between the include of or32-linux and the include of the parent I found that the first one contain most of the headers and files that asterisk use.Īfter changing the ascanary.c by replacing include by include “/opt/openrisc/or32-linux/include/linux/utime.h” the make continue but stopped in undeclared function first use in this file and this function is one of sys/types and time.h some other files included in ascanary.c The root file or the top directory of the toolchain in my case /opt/openrisc/ under this directory there is a bin, include, lib and the commons directories in all toolchains, but also there are an or32-elf and or32-linux directories. I found that the toolchain after compilation split this in manner: So after looking deeply and make some tests, I figure out the problem but I don’t know how to fix it: The configure file stops in ncurses (so I cross compile ncurses and mentioned the directory by using -with-ncurses).Īfter that the configuration stopped in libxml ( so I disabled this feature explicitly using -disable-xmldoc), after this change the configure file complete with success.īut after trying to execute make, the operation stopped by ascanary.c -> ascanary.o and says :" utime.h no such file or directory) so I followed the way of a blind and went to this file changed the by “utime.h” but the problem still. I found that cpu was listed in the cases in configure.sub but after trying to cross compile him I encountered these problems: I’ll appreciate if the answer came with some explanation about this too.I want to cross compile asterisk-1.8 to work on embedded linux running on the openrisc 1200 cpu from. I’m so confused how docker manage the permissions in volumes. So, my question is, how can I restore my volume without this permission issues? I already try to restore the volume using user and group tags (root) in docker command and in the untar command, but no sucess. I’m almost sure this problem is related to permission issues in the process of untar the volume. sudo docker run -rm -volume MY_VOLUME:/data -volume $(pwd):/backup ubuntu tar xvf /backup/MY_VOLUME.tar -C /data -p -strip 1 When I try to restore my volume with the command below, I’m getting the error message: “Cannot utime: Operation not permitted”. I sended this file to other machine that runs a linux based system. docker run -rm -volume MY_VOLUME:/data -volume %cd%:/backup ubuntu tar cvf /backup/MY_VOLUME.tar /data When I inspect the file using 7-zip, I can see that the files have no user assigned and root group assigned to them. I have made a backup to a tar file using the command below and all seeing to work. I have a docker volume created in a windows system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |