Summary:ASTERISK-07844: [patch] cross compilation on mips
Reporter:Yoann WALTHER (ywalther)Labels:
Date Opened:2006-09-29 16:41:34Date Closed:2006-11-01 16:54:25.000-0600
Versions:Frequency of
Environment:Attachments:( 0) mipsel_compil_new.patch
( 1) mipsel_compil.patch
Description:Cross compilation for mips was not supported. This patch enables it.
Comments:By: Yoann WALTHER (ywalther) 2006-09-29 16:44:32

see bug 7534.
I had managed to cross compile, but there were many segfaults, so compilation was wrong.
This time, with this patch is it ok.

By: Serge Vecher (serge-v) 2006-10-02 08:41:26

ywalther: in the future, please reopen a closed bug instead of opening a new one, if there are problem with it or something is not fixed. Thanks.

Comments on the patch. Please include only the relevant changes, not something needed only on your local system:
2) -#DESTDIR?=/tmp/asterisk
3) also, I'm not sure what's the deal with these changes?
+<<<<<<< .mine
+>>>>>>> .r44045

By: Yoann WALTHER (ywalther) 2006-10-02 11:17:16

ok sorry for opening a new bug and forgot to remove local stuff from the patch. About this section :
+<<<<<<< .mine
+>>>>>>> .r44045
I think it can be ignored, that's just svn stuff : 44045 is the number of the revision on trunk

By: Russell Bryant (russell) 2006-10-02 11:21:04

The sections that serge-v pointed out that are surrounded by ">>>>>" are actually patch conflicts.  That happens when you change something locally, do an "svn update", but the update conflicts with changes you have made.  It leaves those and you have to go back and choose whether to keep your changes, or to keep what is in svn.  Quite often it is some combination of the two, where you have to go back and find out what changed, and figure out how that applies to what you have changed.

I guarantee you that if you try to run "make" on a Makefile with those lines in it, it will not work.  :)

By: Yoann WALTHER (ywalther) 2006-10-02 11:32:17

ok thanks for the info. I'll take a look at it and generate a better patch

By: Yoann WALTHER (ywalther) 2006-10-02 11:57:37

this new patch is ok. I removed the local stuff and resolved svn conflicts

By: Yoann WALTHER (ywalther) 2006-10-02 14:28:00

new patch with SVN revision 44152

By: Russell Bryant (russell) 2006-11-01 16:54:24.000-0600

I have integrated your fixes into the 1.4 branch and trunk in revisions 46847 and 46848.  thanks!