Help on Fax on Asterisk 1.2


#1

Hey guyz! I got error when i patch my asterisk 1.2 with spandsp’s apps_makefile.patch .

Output::
linux:~/install/asterisk-1.2.0/apps # patch < apps_makefile.patch
patching file Makefile
Hunk #1 succeeded at 52 (offset 2 lines).
Hunk #2 FAILED at 98.
1 out of 2 hunks FAILED – saving rejects to file Makefile.rej

so i edted the Makefile and add the Line 98 with it …
Output :
app_rxfax.so : app_rxfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff

app_txfax.so : app_txfax.o
$(CC) $(SOLINK) -o $@ $< -lspandsp -ltiff

Then i ‘make’ asterisk and i got this error …
Output :
…/build_tools/mkdep -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I…/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC ls *.c
make[1]: Leaving directory /root/install/asterisk-1.2.0/pbx' make[1]: Entering directory/root/install/asterisk-1.2.0/apps’
Makefile:110: *** missing separator. Stop.
make[1]: Leaving directory `/root/install/asterisk-1.2.0/apps’
make: *** [depend] Error 1

Is my way of patch correct? or did i miss something? Thank You Guyz![/b]


#2

I solved it. edited the file and deleted the spaces in front of it and add a tab on it. hah. Nice.