hi,

i have to say again, that i never tried it by myself, but i would do the
following as ROOT-user:

1. change to your amr folder, that contains the following files. If you
can't extract the file on the server, its ok to create an other archive
or whatever and copy it to the server...

decoder.c     
interf_dec.h
interf_rom.h    
readme.txt  
sp_dec.c  
sp_enc.h
encoder.c     
interf_enc.c
makefile.gcc    
rom_dec.h   
sp_dec.h  
typedef.h
interf_dec.c  
interf_enc.h
makefile.win32  
rom_enc.h   
sp_enc.c

2. copy your patch-file (mbuni-amr-patch) into it, too
it should look like this:

decoder.c
interf_dec.h
interf_rom.h
readme.txt
sp_dec.c
sp_enc.h
encoder.c
interf_enc.c
makefile.gcc
rom_dec.h
sp_dec.h
typedef.h
interf_dec.c
interf_enc.h
makefile.win32
rom_enc.h
sp_enc.c
mbuni-amr-patch

3. now run the following command:
patch -p1 < mbuni-amr-patch
dependent on the folder you have to be ROOT!


4. now you should have your patched amr-software
which you can compile



On Mon, Jun 07, 2010 at 11:59:05AM -0400, Jin Ser wrote:
| thanks! I managed to solve the autoconf problem. Turns out my version was
| 2.10. I installed the latest version at 2.65 and that problem is resolved.
| 
| However, I am still unable to resolve the patch. I am in the amr folder and
| I did use the exact address of the patch file, which was ~/mbuni-amr-patch
| in my case.
| 
| I was unable to use zip in my server so I unzipped it on my computer and
| saved it as a .tgz file in order to tar it on the server. In the amr folder,
| there is another folder labeled '26104-520_ANSI_C_source_code.
| 
| Could it be something wrong with the patch itself? And by that I mean that I
| saved the file from the page:
| http://www.mbuni.org/downloads/mbuni-amr-patchwhich was given in the
| downloads section.
| 
| It also did not work when I saved the text as a RTF.
| 
| 
| On Sun, Jun 6, 2010 at 12:24 PM, <users-requ...@mbuni.org> wrote:
| 
| > Send Users mailing list submissions to
| >        users@mbuni.org
| >
| > To subscribe or unsubscribe via the World Wide Web, visit
| >        http://lists.mbuni.org/mailman/listinfo/users
| > or, via email, send a message with subject or body 'help' to
| >        users-requ...@mbuni.org
| >
| > You can reach the person managing the list at
| >        users-ow...@mbuni.org
| >
| > When replying, please edit your Subject line so it is more specific
| > than "Re: Contents of Users digest..."
| >
| >
| > Today's Topics:
| >
| >   1. Installation of 3GPP AMR encoder/decoder patch (Jin Ser)
| >   2. Re: Installation of 3GPP AMR encoder/decoder patch (Thomas Sieh)
| >
| >
| > ----------------------------------------------------------------------
| >
| > Message: 1
| > Date: Sun, 6 Jun 2010 00:29:29 -0400
| > From: Jin Ser <ser...@seas.upenn.edu>
| > Subject: [Users] Installation of 3GPP AMR encoder/decoder patch
| > To: users@mbuni.org
| > Message-ID:
| >        <aanlktimnot3utuosnb6xqvyzr1is9u8i6b2dqkpnl...@mail.gmail.com>
| > Content-Type: text/plain; charset="iso-8859-1"
| >
| > I'm having a problem with this installation with the command line:
| >
| > sudo patch -p1 < .../mbuni-amr-patch
| >
| > When running this, I get the following error:
| >
| > patching file decoder.c
| > Hunk #1 FAILED at 14.
| > Hunk #2 FAILED at 83.
| > 2 out of 2 hunks FAILED -- saving rejects to file decoder.c.rej
| > patching file encoder.c
| > Hunk #1 FAILED at 121.
| > 1 out of 1 hunk FAILED -- saving rejects to file encoder.c.rej
| > patching file makefile.gcc
| > Reversed (or previously applied) patch detected!  Assume -R? [n] n
| > Apply anyway? [n] y
| > Hunk #1 FAILED at 53.
| > Hunk #2 FAILED at 78.
| > Hunk #3 FAILED at 114.
| > 3 out of 3 hunks FAILED -- saving rejects to file makefile.gcc.rej
| >
| > I have saved the patch to a file before uploading it to my Ubuntu Lucid
| > server.
| >
| > Also, I have not successfully installed the gateway, as I get this error
| > when I run ./bootstrap:
| >
| > autoconf: configure.in: No such file or directory
| >
| > Can I get help with this? I do not have much experience setting up such
| > gateways.
| >
| > Thanks!
| > -------------- next part --------------
| > An HTML attachment was scrubbed...
| > URL:
| > 
http://lists.mbuni.org/pipermail/users/attachments/20100606/e2cb481d/attachment-0001.html
| >
| > ------------------------------
| >
| > Message: 2
| > Date: Sun, 6 Jun 2010 13:38:03 +0200
| > From: Thomas Sieh <ts...@gmx.de>
| > Subject: Re: [Users] Installation of 3GPP AMR encoder/decoder patch
| > To: users@mbuni.org
| > Message-ID: <20100606113803.gk20...@zecke.blacklist.selfip.org>
| > Content-Type: text/plain; charset="utf-8"
| >
| > hi,
| >
| > i have never installed it by myself, but i have an idea what could be
| > the problem.
| >
| > have you tried
| >
| > sudo patch -p1 < ../mbuni-amr-patch
| > instead of
| > sudo patch -p1 < .../mbuni-amr-patch
| >
| > are you in the correct directory?
| >
| >
| > is there no other output from ./bootstrap?
| > which version of autoconf do you use?
| > i don't know, but i suppose you have got an old autoconf installed,
| > that don't support the configure.ac from the source.
| > I expect that you try to install the latest release (mbuni-1.4.0.tar.gz)
| >
| >
| >
| >
| >
| > On Sun, Jun 06, 2010 at 12:29:29AM -0400, Jin Ser wrote:
| > | I'm having a problem with this installation with the command line:
| > |
| > | sudo patch -p1 < .../mbuni-amr-patch
| > |
| > | When running this, I get the following error:
| > |
| > | patching file decoder.c
| > | Hunk #1 FAILED at 14.
| > | Hunk #2 FAILED at 83.
| > | 2 out of 2 hunks FAILED -- saving rejects to file decoder.c.rej
| > | patching file encoder.c
| > | Hunk #1 FAILED at 121.
| > | 1 out of 1 hunk FAILED -- saving rejects to file encoder.c.rej
| > | patching file makefile.gcc
| > | Reversed (or previously applied) patch detected!  Assume -R? [n] n
| > | Apply anyway? [n] y
| > | Hunk #1 FAILED at 53.
| > | Hunk #2 FAILED at 78.
| > | Hunk #3 FAILED at 114.
| > | 3 out of 3 hunks FAILED -- saving rejects to file makefile.gcc.rej
| > |
| > | I have saved the patch to a file before uploading it to my Ubuntu Lucid
| > | server.
| > |
| > | Also, I have not successfully installed the gateway, as I get this error
| > | when I run ./bootstrap:
| > |
| > | autoconf: configure.in: No such file or directory
| > |
| > | Can I get help with this? I do not have much experience setting up such
| > | gateways.
| > |
| > | Thanks!
| >
| > | _______________________________________________
| > | Users mailing list
| > | Users@mbuni.org
| > | http://lists.mbuni.org/mailman/listinfo/users
| > -------------- next part --------------
| > A non-text attachment was scrubbed...
| > Name: not available
| > Type: application/pgp-signature
| > Size: 835 bytes
| > Desc: Digital signature
| > Url :
| > 
http://lists.mbuni.org/pipermail/users/attachments/20100606/031a797d/attachment-0001.bin
| >
| > ------------------------------
| >
| > _______________________________________________
| > Users mailing list
| > Users@mbuni.org
| > http://lists.mbuni.org/mailman/listinfo/users
| >
| >
| > End of Users Digest, Vol 44, Issue 2
| > ************************************
| >

| _______________________________________________
| Users mailing list
| Users@mbuni.org
| http://lists.mbuni.org/mailman/listinfo/users

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to