From: David K. <dk...@sh...> - 2006-10-11 15:25:45
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello all, I'm new to the gumstix world and am trying to build asterisk for the gumstix. I've noticed it is in the package listing and so just checked it in make menuconfig, however I'm getting assembler errors when it tries to build the gsm codec. <paste> ... src/k6opt.s:572: Error: bad instruction `movl %eax,lv_u_top(%ebp)' src/k6opt.s:573: Error: bad instruction `movl pm_s(%ebp),%edx' src/k6opt.s:574: Error: bad instruction `movl pm_kn(%ebp),%eax' src/k6opt.s:575: Error: bad instruction `leal (%edx,%eax,2),%eax' src/k6opt.s:576: Error: bad instruction `movl %eax,lv_s_top(%ebp)' src/k6opt.s:577: Error: bad instruction `cmpl %eax,%edx' src/k6opt.s:578: Error: bad instruction `jae .L179' src/k6opt.s:581: Error: bad instruction `leal lv_rp(%ebp),%esi' src/k6opt.s:582: Error: bad instruction `movl pm_u0(%ebp),%edi' src/k6opt.s:583: Error: ARM register expected -- `movw (%edx),%ax' src/k6opt.s:584: Error: bad instruction `roll $16,%eax' src/k6opt.s:585: Error: ARM register expected -- `movw (%edx),%ax' ... </paste> I'm not quite sure what I need to do here... Anyone got some advice? Thanks much, David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQGVAwUBRS0NDMnf+vRw63ObAQpB4Qv+LuAk5/dhf0A0+1rT31ofbIw/7Y/Z6zHY 2JMAtIwFph6rf8ekaHlceo6pBF53hDPWuZkCYHbLtdQ2QuU24n8cEsnpKPoz1OeB eQS6uU+R6+B7aenK8NtVeHy8tKNdGeZQD88vQKXO5Lak1+eV0It0ddRCpq3KRLkl kWDYW+RX6DbnSb50v5cSqe/jIXZYvzXJymslnCbtyQqtJvTplhQzPPchhzbwsYQz UbPcixuiLgvSRy1FhrACzom9yxrQZvztpY1d0MjmoDNELUc7F6g45NHBaoHFqnAc QxAErNsU/NPZElw4hZ3y5wMNmggBKOLK6uo/NCYGbjg+jU3WaaXjCqn1TajKuNXR 7zLQoF91ftgWogqqM4hXHQyQjf7vzFvL5kfqa65scXm+yyyta2dDhOCSR9hRJVAM iruGTQZ48t2bA5OEvx4kq3boNl29GvZMOQMYgWe8sDuF9Q0L6yAelB0i32qTWnVE H4lMpQgkCL0F0L9pUMQxURs62cut2xru =aYP6 -----END PGP SIGNATURE----- |
From: Dave H. <dhy...@gm...> - 2006-10-11 15:29:59
|
Hi David, > I'm new to the gumstix world and am trying to build asterisk for the > gumstix. I've noticed it is in the package listing and so just checked > it in make menuconfig, however I'm getting assembler errors when it > tries to build the gsm codec. > <paste> > ... > src/k6opt.s:572: Error: bad instruction `movl %eax,lv_u_top(%ebp)' > src/k6opt.s:573: Error: bad instruction `movl pm_s(%ebp),%edx' This looks very much like x86 assembler. So you'll need to find an ARM version or a C version. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: David K. <dk...@sh...> - 2006-10-11 15:38:15
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Dave Hylands wrote: > Hi David, > >> I'm new to the gumstix world and am trying to build asterisk for the >> gumstix. I've noticed it is in the package listing and so just checked >> it in make menuconfig, however I'm getting assembler errors when it >> tries to build the gsm codec. >> <paste> >> ... >> src/k6opt.s:572: Error: bad instruction `movl %eax,lv_u_top(%ebp)' >> src/k6opt.s:573: Error: bad instruction `movl pm_s(%ebp),%edx' > > This looks very much like x86 assembler. So you'll need to find an ARM > version or a C version. > I was pretty sure that was the issue... Is it something on my box's toolchain that cannot do ARM assembly generation? Or is it simply the gsm codec source itself that's got x86 assembly in it? This is the package that's in gumstix's svn repository. I didn't download anything. Just checked the box in menuconfig, so I would assume that it works. Or is that assumption not safe? Thanks, David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iQGVAwUBRS0P6Mnf+vRw63ObAQrZzwv9HOA1a6dVmjfzFOMEtiQQPd5HhNywWftu ho5G+h0bREaabSsncP9t6YGcObSMgafO2zmM6m+SihlQSItLwLgEcdojBsfEkEfd MBiMcFob9mhZA6GDNFGdFMotH8nY7M76KEJbLp11LmaDdeGagfZnHiYIQpnE8yRW 6ZQu1DuJVyBA5D+64fe2kzXmeea8wgIIor9+AmGGao6tewNPuAgXxDUpEKh7Accn Y/JbkrwboNaFLr1K9hhRda1pfqUrte+tmCjE8gF8z7bQSFAVRCRa2ztiRrb8qo9U qf2vpWM/M83XThUe+dLH1E9o1n01Y+g0sx/KqqumDS0n/4mR1BACCmbTsKDwMEer aNsQteMb0TpXWl0JJD6zslPHmq3crtWwlGiKcHJHRtYxr6yFnUnmhh8EVmz3aAeM +3bNrHl+WyRkiQ07khN1Zoav69KF9Zf5JHpxsUEtEU5nX3hk1tmmvYPdGBZNzU35 sCjuhqQ8hEcpAkrRFaKUD256hJ7bsKQV =Atw8 -----END PGP SIGNATURE----- |
From: David K. <dk...@sh...> - 2006-10-11 16:03:41
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 David Kowis wrote: > Dave Hylands wrote: >> Hi David, > >>> I'm new to the gumstix world and am trying to build asterisk for the >>> gumstix. I've noticed it is in the package listing and so just checked >>> it in make menuconfig, however I'm getting assembler errors when it >>> tries to build the gsm codec. >>> <paste> >>> ... >>> src/k6opt.s:572: Error: bad instruction `movl %eax,lv_u_top(%ebp)' >>> src/k6opt.s:573: Error: bad instruction `movl pm_s(%ebp),%edx' >> This looks very much like x86 assembler. So you'll need to find an ARM >> version or a C version. > > I was pretty sure that was the issue... Is it something on my box's toolchain that > cannot do ARM assembly generation? Or is it simply the gsm codec source itself > that's got x86 assembly in it? Well, damn. It's got x86 assembly in it. So the options are to not include the gsm codec by patching the build process to ignore the gsm codec, or to find a arm compatible or C based gsm codec. /me hunts the internetz0rs How would I submit these modifications, if I do manage to find appropriate modifications, to the gumstix svn repo? Thanks David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQGVAwUBRS0V8snf+vRw63ObAQrvLwv/Vuajl9wbcny9eNU3vXVFTwRhYEU1tCqY HRTRCqTI3WCXiDWxP8rASm8prJ5XKfKKvg/6GFAJBftPlmXIbGzelykzn+VzoOW4 mMOpp/YZlGe8siuwXLYhG9NKQmtCgXbXC98Ki7yBLl4lHkiygTQ3sqp57SQwiMAY Frs663gBM7irHsgSR9pV/gDkTpXvknebx1Tz02k1yC//49SL5MgUTvT8cQKssxbg CRhDJVVs2hWOVwsQynAiMy6yY7aMwYeJKF4W3rH3HVos5RDq/8hfiw+9vLRZMjm+ MRjkNdJBODNRoOXcMbU/pE6lxx1WKKTVO7hEL3awNuMg4C2zkgxPHellvdMtUBE2 vODXi3/CAD2aQpPEKfqk3Jw0RA0X+v0xPwvye4/HHkkBvNig/mliU4bP1yv/AQp7 8dNz7l7Yr0Eu6YkoZl9Fd6cRAkvRAwoeG1OVlEeUrfcIeZZ4IlQxUqheeaVP9kaD 7Boogpo1to+NulUCzEZaaNFC0IFvpYwt =zuYc -----END PGP SIGNATURE----- |
From: Marc N. <gee...@gm...> - 2006-10-11 16:42:25
|
I'm not sure what's in the Gumstix SVN, but have you considered grabbing the latest TinyPBX tarball from here: http://misc.krisk.org/tinypbx/ I'm about to embark on also getting Asterisk running on my Gumstix...maybe we can go through the pain together ;-) -marc On 10/11/06, David Kowis <dk...@sh...> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > David Kowis wrote: > > Dave Hylands wrote: > >> Hi David, > > > >>> I'm new to the gumstix world and am trying to build asterisk for the > >>> gumstix. I've noticed it is in the package listing and so just checked > >>> it in make menuconfig, however I'm getting assembler errors when it > >>> tries to build the gsm codec. > >>> <paste> > >>> ... > >>> src/k6opt.s:572: Error: bad instruction `movl %eax,lv_u_top(%ebp)' > >>> src/k6opt.s:573: Error: bad instruction `movl pm_s(%ebp),%edx' > >> This looks very much like x86 assembler. So you'll need to find an ARM > >> version or a C version. > > > > I was pretty sure that was the issue... Is it something on my box's > toolchain that > > cannot do ARM assembly generation? Or is it simply the gsm codec source > itself > > that's got x86 assembly in it? > Well, damn. It's got x86 assembly in it. So the options are to not > include the gsm codec by patching the build process to ignore the gsm > codec, or to find a arm compatible or C based gsm codec. > > /me hunts the internetz0rs > > How would I submit these modifications, if I do manage to find > appropriate modifications, to the gumstix svn repo? > > Thanks > David > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > > iQGVAwUBRS0V8snf+vRw63ObAQrvLwv/Vuajl9wbcny9eNU3vXVFTwRhYEU1tCqY > HRTRCqTI3WCXiDWxP8rASm8prJ5XKfKKvg/6GFAJBftPlmXIbGzelykzn+VzoOW4 > mMOpp/YZlGe8siuwXLYhG9NKQmtCgXbXC98Ki7yBLl4lHkiygTQ3sqp57SQwiMAY > Frs663gBM7irHsgSR9pV/gDkTpXvknebx1Tz02k1yC//49SL5MgUTvT8cQKssxbg > CRhDJVVs2hWOVwsQynAiMy6yY7aMwYeJKF4W3rH3HVos5RDq/8hfiw+9vLRZMjm+ > MRjkNdJBODNRoOXcMbU/pE6lxx1WKKTVO7hEL3awNuMg4C2zkgxPHellvdMtUBE2 > vODXi3/CAD2aQpPEKfqk3Jw0RA0X+v0xPwvye4/HHkkBvNig/mliU4bP1yv/AQp7 > 8dNz7l7Yr0Eu6YkoZl9Fd6cRAkvRAwoeG1OVlEeUrfcIeZZ4IlQxUqheeaVP9kaD > 7Boogpo1to+NulUCzEZaaNFC0IFvpYwt > =zuYc > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: David K. <dk...@sh...> - 2006-10-11 16:44:12
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Marc Nicholas wrote: > I'm not sure what's in the Gumstix SVN, but have you considered grabbing > the latest TinyPBX tarball from here: > > http://misc.krisk.org/tinypbx/ > > I'm about to embark on also getting Asterisk running on my > Gumstix...maybe we can go through the pain together ;-) > heh :) I found this http://www.cayennegraphics.com/asterisk770/ The nokia 770 is an ARM based device as well, so I'm going to try applying the patches listed there to the build process, if I can get past the GSM Codec issue I think it might work. I'll post again when I've gotten it done, currently it is time for teh lumch! <Mouth full>, David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iQGVAwUBRS0fX8nf+vRw63ObAQqY8AwAs6VnwaLGpNpDj7/FLOnfSdRJnzCG4KcI 15O0GxUwkO5rH14MshlZToCghBUOTjHtG3zRvDsUEZ7FW89r5MRffaHvgXpRvEtT YpsBaFQpD1t9UwdXSutUfOs/DFyhH6ImujsZ5d/q7ApX6HFP9FpY484mGV6EyHlF EwZ5pjNRsE+MQpSMEsq03V0NiC0tCwpseNtUeGtw3BCzkKy1nmorceQFmKHNG+mD mYh8kbDu6jt/qqAjsPdrLDgjPxOl6tWoToYKbIkfNbR6tnBlWWrRaPPpIz0aJCr3 pK23mgL3zq2YXDGunnhTfYEbxSrmm3QHhKot6YuwPEaRDS2lzOufG09HymdjWTzc X3pZOWvsQtyO3eqQGlBsadnFadrX2/Ypkl4CjcN5pp/tpkSgszqBaAeXNe89s9IH Hc7MuRatjp6oZ3hg3yFmP7lt2vNqE8Ym4FGQgWiMo5GR3TzheH1d11SnG5mFyl6a 9zS9a0QvUJIP8uBojSqDq89JM9NCcqQz =c6tS -----END PGP SIGNATURE----- |
From: Marc N. <gee...@gm...> - 2006-10-11 17:13:42
|
If you look at the diff file, it only seems to comment out including K6 options? I reckon if you uncomment the same, you'll suddenly find the GSM codec is pure C. I could be completely wrong, however [and often am]. :-) -marc On 10/11/06, David Kowis <dk...@sh...> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Marc Nicholas wrote: > > I'm not sure what's in the Gumstix SVN, but have you considered grabbing > > the latest TinyPBX tarball from here: > > > > http://misc.krisk.org/tinypbx/ > > > > I'm about to embark on also getting Asterisk running on my > > Gumstix...maybe we can go through the pain together ;-) > > > > heh :) > > I found this http://www.cayennegraphics.com/asterisk770/ > The nokia 770 is an ARM based device as well, so I'm going to try applying > the > patches listed there to the build process, if I can get past the GSM Codec > issue I > think it might work. I'll post again when I've gotten it done, currently > it is > time for teh lumch! > > <Mouth full>, > David > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (MingW32) > > iQGVAwUBRS0fX8nf+vRw63ObAQqY8AwAs6VnwaLGpNpDj7/FLOnfSdRJnzCG4KcI > 15O0GxUwkO5rH14MshlZToCghBUOTjHtG3zRvDsUEZ7FW89r5MRffaHvgXpRvEtT > YpsBaFQpD1t9UwdXSutUfOs/DFyhH6ImujsZ5d/q7ApX6HFP9FpY484mGV6EyHlF > EwZ5pjNRsE+MQpSMEsq03V0NiC0tCwpseNtUeGtw3BCzkKy1nmorceQFmKHNG+mD > mYh8kbDu6jt/qqAjsPdrLDgjPxOl6tWoToYKbIkfNbR6tnBlWWrRaPPpIz0aJCr3 > pK23mgL3zq2YXDGunnhTfYEbxSrmm3QHhKot6YuwPEaRDS2lzOufG09HymdjWTzc > X3pZOWvsQtyO3eqQGlBsadnFadrX2/Ypkl4CjcN5pp/tpkSgszqBaAeXNe89s9IH > Hc7MuRatjp6oZ3hg3yFmP7lt2vNqE8Ym4FGQgWiMo5GR3TzheH1d11SnG5mFyl6a > 9zS9a0QvUJIP8uBojSqDq89JM9NCcqQz > =c6tS > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: David K. <dk...@sh...> - 2006-10-11 17:22:13
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Marc Nicholas wrote: > If you look at the diff file, it only seems to comment out including K6 > options? I reckon if you uncomment the same, you'll suddenly find the > GSM codec is pure C. > > I could be completely wrong, however [and often am]. :-) > Well on line 300 of the codecs/gsm/Makefile it appears to be missing the logic to detect if the PROC is ARM, it's got it in a different spot, so it might be an actual bug :) I'll verify that my little hack of the make file works and then perhaps file it with asterisk. :) David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQGVAwUBRS0oWMnf+vRw63ObAQqwigv/cu4VDUih2J+L/1nWePOGZ5bR8yJ3wEnO YOJ/shGqjOmLfzfgObLvAn3yTLifqAJO+O21Vgwb3KBFOIQNb8lGoWQFOTPejKDv +QnH+zDzv7ICzW14u20CVTvdu5BgGxoVsUsh8K+Toj4D+YCGK7deCTZwkDrrCt5H 3zY3ljPWBAU0K/9uenb8OAdzb0tEqugflrtOnLTeydvgIG5rGO0Nsaxf7hnLyaSX HmkCLBlGKuqfY8UNBaajsGF0GgrcbpVsHa56TRO9Jh/S723QOZE1PX2kgElQHE1t 9JbSHPHAFBgcQEzkdWzLlpQdhXN2NFyCU+5NDc6QvQwFQx+o1kMOEWUQEdoy/ukL ol7qt09Q/uSbxf4eCkunDKEwdORZbwyw4llFI9Az20SW4gUdxk9+qna3X3sRO0x1 XfFTvDkihM8/AUpSfJT19Tu4C75MTqp4MwXNwwRZtWuoGvm228EY843y70vYKzMT 4pxWmQyWk8RG6hH4+cnMNjb87pW+xOfm =IxHS -----END PGP SIGNATURE----- |
From: David K. <dk...@sh...> - 2006-10-11 17:23:32
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 David Kowis wrote: > Marc Nicholas wrote: >> If you look at the diff file, it only seems to comment out including K6 >> options? I reckon if you uncomment the same, you'll suddenly find the >> GSM codec is pure C. > >> I could be completely wrong, however [and often am]. :-) > > > Well on line 300 of the codecs/gsm/Makefile it appears to be missing the > logic to detect if the PROC is ARM, it's got it in a different spot, so > it might be an actual bug :) I'll verify that my little hack of the make > file works and then perhaps file it with asterisk. :) > David w00t! That makes it work. I'll be filing a bug with asterisk, then :) David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQGVAwUBRS0oq8nf+vRw63ObAQre9Av/UE1721V0kWLv6VngwBRHYkeSZ0FYzPeZ vcBQhZMugX//22QJnrWovVPqzxu2PqPuzxbj+J9tpeThb3lX3wFBPYuZaYY8Mnfb 2HOs+DX3eNVE5e92TnOhj4GhYeJYbWDhLARm1MMvtJ5AjaObJQ0nUuyZt7TPgdJw OxTqXtL62NSDGUKBLFy4zh7/qtzHY7Hxt8ATJmjkAkXipRWufaPd+zx2D9KHoaS8 7sIqX9w7g1ur6bQJAzgAT7ZlZVwfrnXda17kfBSB0Dhgh2ZlWkFuaA4Fw9DMx/TA gtjkuD1BkPpkBqIXcGX812REnUxKJkBOgCPDF15FDTcL1khMi6D8yP/GYMRa7xgv djgCeP0awf8GFKuaipBzGVAFqm4ILuP9rqY9joZD8Ie9EFnoIrWDakh2zS6ZI5qP Y4LVFBui2XiP4fdDLi5EAP2cc8tPKkmm3GlzC7g98ey+0gU/bcaxo5LyY0FKAZjZ +KctX/XQwjWCcWhn8Ibz7PT4NnUh+Lqx =FXAc -----END PGP SIGNATURE----- |
From: David K. <dk...@sh...> - 2006-10-11 17:26:07
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 David Kowis wrote: >> Well on line 300 of the codecs/gsm/Makefile it appears to be missing the >> logic to detect if the PROC is ARM, it's got it in a different spot, so >> it might be an actual bug :) I'll verify that my little hack of the make >> file works and then perhaps file it with asterisk. :) >> David > > w00t! That makes it work. I'll be filing a bug with asterisk, then :) > Well, no I won't. The latest makefile in svn is much cleaner and does better checking for those optimizations :) David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQGVAwUBRS0pRcnf+vRw63ObAQqvSgv/eUXgpyXp6AuqAbHw9PP1p7r3DfbP8soF xSH9+1+LgoY8uOF+ePE5VAT5NpCB1s40K0n1Nk4a8mNBFlRMV7U26C2YhizsVw+J jaYRjFZhZG8ouNeYTzJA0r1Jcim+WzhuU7W48smx4Hm2Hk+bcCjBI5EmltRetF5Z BDCNYUyJ/ZsQxszOkLfaaCwA80UdXMKXfbQhiKxWhvVQA1N/G5o85Cp2Q0llfakz 5mqN7IVYEagOpE9KdXFkv8c0tkf0miPpUzq0OFd6F6Yri8cZu3Pvdg8EbGndL+cz IK7IRxJ7pMbJvQ+f7q0tyQZHVRQc1OPzZXmKsodWSO3S5Jx3aT5M0nifrErqCTph DfRDvUgG/wnbW4607KWaso9KGhD4rvnO2A83Gm9WiT0O9ZjjBsTzP4wToGKTHmf6 sxOp6U/V5SxlXUPIKgDMd9uRrewAQ/GrU6jzw+bNB5REEoe7W7rxKqZsnY3+qmAl Ndd1en9QrEXyCQ30Xl5jlNWTMwBpT12h =bp8Q -----END PGP SIGNATURE----- |
From: David K. <dk...@sh...> - 2006-10-11 18:39:11
Attachments:
signature.asc
asterisk.patch
|
David Kowis wrote: > David Kowis wrote: >>> Well on line 300 of the codecs/gsm/Makefile it appears to be missing the >>> logic to detect if the PROC is ARM, it's got it in a different spot, so >>> it might be an actual bug :) I'll verify that my little hack of the make >>> file works and then perhaps file it with asterisk. :) >>> David >> w00t! That makes it work. I'll be filing a bug with asterisk, then :) Here's a patch for the gumstix svn buildroot package entry for asterisk. It brings it up to the latest version (1.2.12.1) and applies a patch to make the gsm codec build. I've built it, but am working through other issues in the build root :) |
From: Craig H. <cr...@gu...> - 2006-10-12 18:43:30
|
Does anyone out there by any chance use OSX's mail.app and know how to make it show text/plain attachments as attachments instead of stupidly inlining them so that it's next to impossible to extract an attached patch without having to switch to a different mail reader? C On Oct 11, 2006, at 11:39 AM, David Kowis wrote: > David Kowis wrote: >> David Kowis wrote: >>>> Well on line 300 of the codecs/gsm/Makefile it appears to be >>>> missing the >>>> logic to detect if the PROC is ARM, it's got it in a different >>>> spot, so >>>> it might be an actual bug :) I'll verify that my little hack of >>>> the make >>>> file works and then perhaps file it with asterisk. :) >>>> David >>> w00t! That makes it work. I'll be filing a bug with asterisk, >>> then :) > > Here's a patch for the gumstix svn buildroot package entry for > asterisk. > It brings it up to the latest version (1.2.12.1) and applies a > patch to > make the gsm codec build. I've built it, but am working through other > issues in the build root :) > diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ > asterisk-gsm-codec.patch gumstix-buildroot/package/asterisk/ > asterisk-gsm-codec.patch > --- gumstix-oldbuildroot/package/asterisk/asterisk-gsm-codec.patch > 1969-12-31 18:00:00.000000000 -0600 > +++ gumstix-buildroot/package/asterisk/asterisk-gsm-codec.patch > 2006-10-11 13:05:00.000000000 -0500 > @@ -0,0 +1,18 @@ > +--- Makefile.old 2006-10-11 12:57:35.000000000 -0500 > ++++ asterisk-1.2.12.1/codecs/gsm/Makefile 2006-10-11 > 12:58:10.000000000 -0500 > +@@ -310,6 +310,7 @@ > + ifneq ($(shell uname -m), armv4l) > + ifneq ($(shell uname -m), parisc) > + ifneq ($(shell uname -m),s390) > ++ifneq (${PROC},arm) > + GSM_OBJECTS+= $(SRC)/k6opt.o > + endif > + endif > +@@ -321,6 +322,7 @@ > + endif > + endif > + endif > ++endif > + > + TOAST_OBJECTS = $(SRC)/toast.o \ > + $(SRC)/toast_lin.o \ > diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ > asterisk-uclibc-compat.patch gumstix-buildroot/package/asterisk/ > asterisk-uclibc-compat.patch > --- gumstix-oldbuildroot/package/asterisk/asterisk-uclibc- > compat.patch 2006-10-11 13:35:00.000000000 -0500 > +++ gumstix-buildroot/package/asterisk/asterisk-uclibc-compat.patch > 2006-10-11 13:00:35.000000000 -0500 > @@ -1,5 +1,5 @@ > ---- asterisk-1.2.4/Makefile.orig 2006-02-24 09:31:16.000000000 -0800 > -+++ asterisk-1.2.4/Makefile 2006-02-24 09:31:32.000000000 -0800 > +--- asterisk-1.2.12.1/Makefile.orig 2006-02-24 09:31:16.000000000 > -0800 > ++++ asterisk-1.2.12.1/Makefile 2006-02-24 09:31:32.000000000 -0800 > @@ -345,16 +345,6 @@ > netsock.o slinfactory.o ast_expr2.o ast_expr2f.o \ > cryptostub.o > diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ > asterisk-utils-getloadavg.patch gumstix-buildroot/package/asterisk/ > asterisk-utils-getloadavg.patch > --- gumstix-oldbuildroot/package/asterisk/asterisk-utils- > getloadavg.patch 2006-10-11 13:35:00.000000000 -0500 > +++ gumstix-buildroot/package/asterisk/asterisk-utils- > getloadavg.patch 2006-10-11 13:00:49.000000000 -0500 > @@ -1,5 +1,5 @@ > ---- asterisk-1.2.4/utils.c.orig 2006-02-24 09:48:45.000000000 -0800 > -+++ asterisk-1.2.4/utils.c 2006-02-24 09:49:00.000000000 -0800 > +--- asterisk-1.2.12.1/utils.c.orig 2006-02-24 09:48:45.000000000 > -0800 > ++++ asterisk-1.2.12.1/utils.c 2006-02-24 09:49:00.000000000 -0800 > @@ -842,7 +842,6 @@ > } > #endif /* !HAVE_STRTOQ */ > diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ > asterisk.mk gumstix-buildroot/package/asterisk/asterisk.mk > --- gumstix-oldbuildroot/package/asterisk/asterisk.mk 2006-10-11 > 13:35:00.000000000 -0500 > +++ gumstix-buildroot/package/asterisk/asterisk.mk 2006-10-11 > 13:22:29.000000000 -0500 > @@ -3,7 +3,7 @@ > # asterisk > # > ############################################################## > -ASTERISK_VERSION := 1.2.4 > +ASTERISK_VERSION := 1.2.12.1 > ASTERISK_SOURCE := asterisk-$(ASTERISK_VERSION).tar.gz > ASTERISK_SITE := ftp://ftp.digium.com/pub/asterisk > ASTERISK_DIR := $(BUILD_DIR)/asterisk-$(ASTERISK_VERSION) > @@ -25,6 +25,7 @@ > $(MAKE1) -C $(ASTERISK_DIR) CROSS_ARCH=Linux CROSS_COMPILE=$ > (TARGET_CROSS) CROSS_COMPILE_BIN=$(STAGING_DIR)/bin/ > CROSS_COMPILE_TARGET=$(STAGING_DIR) CROSS_PROC=$(OPTIMIZE_FOR_CPU) > OPTIMIZE="$(TARGET_OPTIMIZATION)" OPTIONS=-DLOW_MEMORY DEBUG= $ > (TARGET_CONFIGURE_OPTS) > > $(TARGET_DIR)/$(ASTERISK_TARGET_BINARY): $(ASTERISK_DIR)/$ > (ASTERISK_BINARY) > + mkdir -p $(TARGET_DIR)/usr/lib/asterisk/modules > $(MAKE) -C $(ASTERISK_DIR) CROSS_ARCH=Linux CROSS_COMPILE=$ > (TARGET_CROSS) CROSS_COMPILE_BIN=$(TARGET_CC) CROSS_COMPILE_TARGET=$ > (STAGING_DIR) CROSS_PROC=$(OPTIMIZE_FOR_CPU) OPTIMIZE="$ > (TARGET_OPTIMIZATION)" OPTIONS=-DLOW_MEMORY DEBUG= $ > (TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) install > $(STRIP) $(TARGET_DIR)/usr/sbin/asterisk > $(STRIP) $(TARGET_DIR)/usr/sbin/stereorize > diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ > asterisk_no_res_ninit.patch gumstix-buildroot/package/asterisk/ > asterisk_no_res_ninit.patch > --- gumstix-oldbuildroot/package/asterisk/ > asterisk_no_res_ninit.patch 2006-10-11 13:35:00.000000000 -0500 > +++ gumstix-buildroot/package/asterisk/asterisk_no_res_ninit.patch > 2006-10-11 13:01:13.000000000 -0500 > @@ -1,6 +1,6 @@ > diff -ur /tmp/asterisk-1.2.0-beta1/dns.c asterisk-1.2.0-beta1/dns.c > --- /tmp/asterisk-1.2.0-beta1/dns.c 2005-08-14 04:23:33.000000000 > +0200 > -+++ asterisk-1.2.0-beta1/dns.c 2005-08-31 09:42:36.000000000 +0200 > ++++ asterisk-1.2.12.1/dns.c 2005-08-31 09:42:36.000000000 +0200 > @@ -157,7 +157,7 @@ > return 0; > } > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: David K. <dk...@sh...> - 2006-10-12 18:46:14
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Craig Hughes wrote: > Does anyone out there by any chance use OSX's mail.app and know how > to make it show text/plain attachments as attachments instead of > stupidly inlining them so that it's next to impossible to extract an > attached patch without having to switch to a different mail reader? > > C > As a temporary solution to your problem: http://shlrm.org/asterisk.patch :) David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iQGVAwUBRS6Nfcnf+vRw63ObAQp8qgv8D7iwUZPLG/iCM4FRf1UUfks/0+WWMvN4 9Bf3EYnO8F4afOAosFh/nua0ZBcVfdtdYjannzjYC01lJPuyDFdR79PGjbq62Uga zEVvly4hBkz+9GK3gjkp6mNeG0fJ2EvoQCJL5rpkAGZ6eRYDxUtyKirtsH9sxWgw m4HAa9uxCq/5mZAsiv3wfndxoBbr/7tEeJls+JJIaxV0WALpohhV0AdTUrNJzfms I25JT9eBCe6PgKg8IjTW24DQSDDAsn4YJtoBdo5iDTtguFEKtqKB/JG13sx4QCHc ftlbL1C+h074gdwXBeZ/bIiy8kVmhdH9NE32lL5pHHmTlGxzgsPYhoXFkJJWPTF8 2fdpFX6LA93iaBvEdYbsGezXApqyXBJevsr4oSRugf3p8Y5CS1odyPC48ds+6DOo WUGqSj5DyFd17pegtMrCTg6U3NaI/XDJ5epWJ+PvJdfkCla4Hqeg6F8kOMIVOnFU yD7SgIbtfQBHfVPj6N5fhkOd/2nzCQGX =VPFt -----END PGP SIGNATURE----- |
From: G E. <gel...@gm...> - 2006-10-12 18:49:36
|
hi craig, there's a blue pill button under the header labeled "Save" that does what you want. since i cant send an image, it looks like this: Subject: Blah From: Greg Date: Oct 11, 2006 > 1 Attachment, 0.6 KB [Save] greg On Oct 12, 2006, at 11:43 AM, Craig Hughes wrote: > Does anyone out there by any chance use OSX's mail.app and know how > to make it show text/plain attachments as attachments instead of > stupidly inlining them so that it's next to impossible to extract an > attached patch without having to switch to a different mail reader? > > C > > On Oct 11, 2006, at 11:39 AM, David Kowis wrote: > >> David Kowis wrote: >>> David Kowis wrote: >>>>> Well on line 300 of the codecs/gsm/Makefile it appears to be >>>>> missing the >>>>> logic to detect if the PROC is ARM, it's got it in a different >>>>> spot, so >>>>> it might be an actual bug :) I'll verify that my little hack of >>>>> the make >>>>> file works and then perhaps file it with asterisk. :) >>>>> David >>>> w00t! That makes it work. I'll be filing a bug with asterisk, >>>> then :) >> >> Here's a patch for the gumstix svn buildroot package entry for >> asterisk. >> It brings it up to the latest version (1.2.12.1) and applies a >> patch to >> make the gsm codec build. I've built it, but am working through other >> issues in the build root :) >> diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ >> asterisk-gsm-codec.patch gumstix-buildroot/package/asterisk/ >> asterisk-gsm-codec.patch >> --- gumstix-oldbuildroot/package/asterisk/asterisk-gsm-codec.patch >> 1969-12-31 18:00:00.000000000 -0600 >> +++ gumstix-buildroot/package/asterisk/asterisk-gsm-codec.patch >> 2006-10-11 13:05:00.000000000 -0500 >> @@ -0,0 +1,18 @@ >> +--- Makefile.old 2006-10-11 12:57:35.000000000 -0500 >> ++++ asterisk-1.2.12.1/codecs/gsm/Makefile 2006-10-11 >> 12:58:10.000000000 -0500 >> +@@ -310,6 +310,7 @@ >> + ifneq ($(shell uname -m), armv4l) >> + ifneq ($(shell uname -m), parisc) >> + ifneq ($(shell uname -m),s390) >> ++ifneq (${PROC},arm) >> + GSM_OBJECTS+= $(SRC)/k6opt.o >> + endif >> + endif >> +@@ -321,6 +322,7 @@ >> + endif >> + endif >> + endif >> ++endif >> + >> + TOAST_OBJECTS = $(SRC)/toast.o \ >> + $(SRC)/toast_lin.o \ >> diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ >> asterisk-uclibc-compat.patch gumstix-buildroot/package/asterisk/ >> asterisk-uclibc-compat.patch >> --- gumstix-oldbuildroot/package/asterisk/asterisk-uclibc- >> compat.patch 2006-10-11 13:35:00.000000000 -0500 >> +++ gumstix-buildroot/package/asterisk/asterisk-uclibc-compat.patch >> 2006-10-11 13:00:35.000000000 -0500 >> @@ -1,5 +1,5 @@ >> ---- asterisk-1.2.4/Makefile.orig 2006-02-24 09:31:16.000000000 -0800 >> -+++ asterisk-1.2.4/Makefile 2006-02-24 09:31:32.000000000 -0800 >> +--- asterisk-1.2.12.1/Makefile.orig 2006-02-24 09:31:16.000000000 >> -0800 >> ++++ asterisk-1.2.12.1/Makefile 2006-02-24 09:31:32.000000000 -0800 >> @@ -345,16 +345,6 @@ >> netsock.o slinfactory.o ast_expr2.o ast_expr2f.o \ >> cryptostub.o >> diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ >> asterisk-utils-getloadavg.patch gumstix-buildroot/package/asterisk/ >> asterisk-utils-getloadavg.patch >> --- gumstix-oldbuildroot/package/asterisk/asterisk-utils- >> getloadavg.patch 2006-10-11 13:35:00.000000000 -0500 >> +++ gumstix-buildroot/package/asterisk/asterisk-utils- >> getloadavg.patch 2006-10-11 13:00:49.000000000 -0500 >> @@ -1,5 +1,5 @@ >> ---- asterisk-1.2.4/utils.c.orig 2006-02-24 09:48:45.000000000 -0800 >> -+++ asterisk-1.2.4/utils.c 2006-02-24 09:49:00.000000000 -0800 >> +--- asterisk-1.2.12.1/utils.c.orig 2006-02-24 09:48:45.000000000 >> -0800 >> ++++ asterisk-1.2.12.1/utils.c 2006-02-24 09:49:00.000000000 -0800 >> @@ -842,7 +842,6 @@ >> } >> #endif /* !HAVE_STRTOQ */ >> diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ >> asterisk.mk gumstix-buildroot/package/asterisk/asterisk.mk >> --- gumstix-oldbuildroot/package/asterisk/asterisk.mk 2006-10-11 >> 13:35:00.000000000 -0500 >> +++ gumstix-buildroot/package/asterisk/asterisk.mk 2006-10-11 >> 13:22:29.000000000 -0500 >> @@ -3,7 +3,7 @@ >> # asterisk >> # >> ############################################################## >> -ASTERISK_VERSION := 1.2.4 >> +ASTERISK_VERSION := 1.2.12.1 >> ASTERISK_SOURCE := asterisk-$(ASTERISK_VERSION).tar.gz >> ASTERISK_SITE := ftp://ftp.digium.com/pub/asterisk >> ASTERISK_DIR := $(BUILD_DIR)/asterisk-$(ASTERISK_VERSION) >> @@ -25,6 +25,7 @@ >> $(MAKE1) -C $(ASTERISK_DIR) CROSS_ARCH=Linux CROSS_COMPILE=$ >> (TARGET_CROSS) CROSS_COMPILE_BIN=$(STAGING_DIR)/bin/ >> CROSS_COMPILE_TARGET=$(STAGING_DIR) CROSS_PROC=$(OPTIMIZE_FOR_CPU) >> OPTIMIZE="$(TARGET_OPTIMIZATION)" OPTIONS=-DLOW_MEMORY DEBUG= $ >> (TARGET_CONFIGURE_OPTS) >> >> $(TARGET_DIR)/$(ASTERISK_TARGET_BINARY): $(ASTERISK_DIR)/$ >> (ASTERISK_BINARY) >> + mkdir -p $(TARGET_DIR)/usr/lib/asterisk/modules >> $(MAKE) -C $(ASTERISK_DIR) CROSS_ARCH=Linux CROSS_COMPILE=$ >> (TARGET_CROSS) CROSS_COMPILE_BIN=$(TARGET_CC) CROSS_COMPILE_TARGET=$ >> (STAGING_DIR) CROSS_PROC=$(OPTIMIZE_FOR_CPU) OPTIMIZE="$ >> (TARGET_OPTIMIZATION)" OPTIONS=-DLOW_MEMORY DEBUG= $ >> (TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) install >> $(STRIP) $(TARGET_DIR)/usr/sbin/asterisk >> $(STRIP) $(TARGET_DIR)/usr/sbin/stereorize >> diff --exclude=.svn -Nuar gumstix-oldbuildroot/package/asterisk/ >> asterisk_no_res_ninit.patch gumstix-buildroot/package/asterisk/ >> asterisk_no_res_ninit.patch >> --- gumstix-oldbuildroot/package/asterisk/ >> asterisk_no_res_ninit.patch 2006-10-11 13:35:00.000000000 -0500 >> +++ gumstix-buildroot/package/asterisk/asterisk_no_res_ninit.patch >> 2006-10-11 13:01:13.000000000 -0500 >> @@ -1,6 +1,6 @@ >> diff -ur /tmp/asterisk-1.2.0-beta1/dns.c asterisk-1.2.0-beta1/dns.c >> --- /tmp/asterisk-1.2.0-beta1/dns.c 2005-08-14 04:23:33.000000000 >> +0200 >> -+++ asterisk-1.2.0-beta1/dns.c 2005-08-31 09:42:36.000000000 +0200 >> ++++ asterisk-1.2.12.1/dns.c 2005-08-31 09:42:36.000000000 +0200 >> @@ -157,7 +157,7 @@ >> return 0; >> } >> --------------------------------------------------------------------- >> - >> --- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642_____________________________ >> _ >> _________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Craig H. <cr...@gu...> - 2006-10-12 20:09:04
|
On Oct 12, 2006, at 11:49 AM, G Elliott wrote: > hi craig, > > there's a blue pill button under the header labeled "Save" that =20 > does what you want. > > since i cant send an image, it looks like this: > > Subject: Blah > From: Greg > Date: Oct 11, 2006 > > 1 Attachment, 0.6 KB [Save] ...except that "1 Attachment" is David's PGP signature of type =20 application/pgp-signature, not the patch file: =EF=BF=BC |
From: G E. <gel...@gm...> - 2006-10-12 20:30:08
|
lame. i guess you could have people rename the file to a bogus extension before sending. =( On Oct 12, 2006, at 1:08 PM, Craig Hughes wrote: > On Oct 12, 2006, at 11:49 AM, G Elliott wrote: > >> hi craig, >> >> there's a blue pill button under the header labeled "Save" that >> does what you want. >> >> since i cant send an image, it looks like this: >> >> Subject: Blah >> From: Greg >> Date: Oct 11, 2006 >> > 1 Attachment, 0.6 KB [Save] > > ...except that "1 Attachment" is David's PGP signature of type > application/pgp-signature, not the patch file: > > > <Mail001.png> > > <Mail001.png> > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Marc N. <gee...@gm...> - 2006-10-11 17:14:43
|
If you look at the diff file, it only seems to comment out including K6 options? I reckon if you uncomment the same, you'll suddenly find the GSM codec is pure C. I could be completely wrong, however [and often am]. :-) -marc On 10/11/06, David Kowis <dk...@sh...> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Marc Nicholas wrote: > > I'm not sure what's in the Gumstix SVN, but have you considered grabbing > > the latest TinyPBX tarball from here: > > > > http://misc.krisk.org/tinypbx/ > > > > I'm about to embark on also getting Asterisk running on my > > Gumstix...maybe we can go through the pain together ;-) > > > > heh :) > > I found this http://www.cayennegraphics.com/asterisk770/ > The nokia 770 is an ARM based device as well, so I'm going to try applying > the > patches listed there to the build process, if I can get past the GSM Codec > issue I > think it might work. I'll post again when I've gotten it done, currently > it is > time for teh lumch! > > <Mouth full>, > David > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (MingW32) > > iQGVAwUBRS0fX8nf+vRw63ObAQqY8AwAs6VnwaLGpNpDj7/FLOnfSdRJnzCG4KcI > 15O0GxUwkO5rH14MshlZToCghBUOTjHtG3zRvDsUEZ7FW89r5MRffaHvgXpRvEtT > YpsBaFQpD1t9UwdXSutUfOs/DFyhH6ImujsZ5d/q7ApX6HFP9FpY484mGV6EyHlF > EwZ5pjNRsE+MQpSMEsq03V0NiC0tCwpseNtUeGtw3BCzkKy1nmorceQFmKHNG+mD > mYh8kbDu6jt/qqAjsPdrLDgjPxOl6tWoToYKbIkfNbR6tnBlWWrRaPPpIz0aJCr3 > pK23mgL3zq2YXDGunnhTfYEbxSrmm3QHhKot6YuwPEaRDS2lzOufG09HymdjWTzc > X3pZOWvsQtyO3eqQGlBsadnFadrX2/Ypkl4CjcN5pp/tpkSgszqBaAeXNe89s9IH > Hc7MuRatjp6oZ3hg3yFmP7lt2vNqE8Ym4FGQgWiMo5GR3TzheH1d11SnG5mFyl6a > 9zS9a0QvUJIP8uBojSqDq89JM9NCcqQz > =c6tS > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |