[asterisk-dev] $1000USD for fix of Asterisk g726-32 codec
Steve Underwood
steveu at coppice.org
Wed May 24 05:41:09 MST 2006
Hi Daniel,
These patches keep failing, becasue the Makefiles are enlessly changing.
Unless you want to install the FAX applications, there is no need to
mess about with the apps directory. Just patch the Makefile in the
codecs dircectory and rebuild.
Steve
Daniel Silaro wrote:
> Still no go. Here is the Makefile.rej:
>
>
> [root at pbx apps]# more Makefile.rej
> ***************
> *** 104,119 ****
> rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
>
> app_curl.so: app_curl.o
> $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
>
> - app_rxfax.so : app_rxfax.o
> - $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
> -
> - app_txfax.so : app_txfax.o
> - $(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff
> -
> app_sql_postgres.o: app_sql_postgres.c
> $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o
> app_sql_postgres.o app_sql_postgres.c
>
> app_sql_postgres.so: app_sql_postgres.o
> $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}
> -L/usr/local/pgsql/lib -lpq
> --- 100,109 ----
> rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
>
> app_curl.so: app_curl.o
> $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
>
> app_sql_postgres.o: app_sql_postgres.c
> $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o
> app_sql_postgres.o app_sql_postgres.c
>
> app_sql_postgres.so: app_sql_postgres.o
> $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}
> -L/usr/local/pgsql/lib -lpq
> [root at pbx apps]#
>
>
> On 5/24/06, Greg Boehnlein <damin at nacs.net> wrote:
>
>> On Wed, 24 May 2006, Daniel Silaro wrote:
>>
>> > Steve,
>> >
>> > I have gone to install spandsp and while patching against Asterisk
>> > 1.2.7.1 I get:
>> >
>> > [root at pbx apps]# patch <apps_Makefile.patch
>> > patching file Makefile
>> > Hunk #2 FAILED at 104.
>> > 1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
>> > [root at pbx apps]# cd /usr/src/asterisk
>> >
>> > Any ideas where I may be going wrong?
>>
>> Try this and let me know if it works:
>>
>> patch -F 3 < apps_Makefile.patch
>>
>> That will increase the "fuzz factor" for the patch and may help it apply
>> cleanly.
>>
>> You can also look at the .rej file and see what didn't get patched.
>>
>> --
>> Vice President of N2Net, a New Age Consulting Service, Inc. Company
>> http://www.n2net.net Where everything clicks into place!
>> KP-216-121-ST
>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list