![]() |
������ wrote: > sorry! > where is libfaxutil.a file ? You probably are having the same problem as I am. My problem has been here for months unresolved. I have removed the hylafax4.0pl2 source directories and started all over again for many times trying to build everything (on gcc2.8.1, Linux 2.0.35 upgrade from Slackware). Both gcc-2.8.x.patch and configure have errors. Please also let me know how to solve the errors once you have sucessfully compiled all the executables. Thanks! CN ============= myserver:/usr/src# patch <gcc-2.8.x.patch Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |# gcc-2.8.x.patch |# Submitted by Robert Colquhoun |# |# For all versions of the GNU compiler gcc 2.8.0 and above, including egcs |# |# Instructions : cd to the directory *above* the source, and run the |# command 'patch < gcc-2.8.x.patch' | |diff -cr hylafax-v4.0pl2/hfaxd/FileSystem.c++ hylafax-v4.0pl2.new/hfaxd/FileSy+ |*** hylafax-v4.0pl2/hfaxd/FileSystem.c++ Sat Feb 14 21:50:01 1998 |--- hylafax-v4.0pl2.new/hfaxd/FileSystem.c++ Fri Feb 20 14:43:48 1998 -------------------------- Patching file hylafax-v4.0pl2/hfaxd/FileSystem.c++ using Plan A... Hunk #1 failed at 139. 1 out of 1 hunks failed--saving rejects to hylafax-v4.0pl2/hfaxd/FileSystem.c++j Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |diff -cr hylafax-v4.0pl2/hfaxd/OldProtocol.c++ hylafax-v4.0pl2.new/hfaxd/OldPr+ |*** hylafax-v4.0pl2/hfaxd/OldProtocol.c++ Sat Feb 14 21:50:07 1998 |--- hylafax-v4.0pl2.new/hfaxd/OldProtocol.c++ Fri Feb 20 14:33:30 1998 -------------------------- Patching file hylafax-v4.0pl2/hfaxd/OldProtocol.c++ using Plan A... Hunk #1 failed at 220. Hunk #2 failed at 604. Hunk #3 failed at 752. 3 out of 3 hunks failed--saving rejects to hylafax-v4.0pl2/hfaxd/OldProtocol.c+j Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |diff -cr hylafax-v4.0pl2/util/SendFaxClient.c++ hylafax-v4.0pl2.new/util/SendF+ |*** hylafax-v4.0pl2/util/SendFaxClient.c++ Sat Feb 14 21:47:24 1998 |--- hylafax-v4.0pl2.new/util/SendFaxClient.c++ Thu Feb 19 22:32:01 1998 -------------------------- Patching file hylafax-v4.0pl2/util/SendFaxClient.c++ using Plan A... Hunk #1 failed at 457. 1 out of 1 hunks failed--saving rejects to hylafax-v4.0pl2/util/SendFaxClient.cj Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |diff -cr hylafax-v4.0pl2/util/SendFaxJob.c++ hylafax-v4.0pl2.new/util/SendFaxJ+ |*** hylafax-v4.0pl2/util/SendFaxJob.c++ Sat Feb 14 21:47:24 1998 |--- hylafax-v4.0pl2.new/util/SendFaxJob.c++ Fri Feb 20 15:38:37 1998 -------------------------- Patching file hylafax-v4.0pl2/util/SendFaxJob.c++ using Plan A... Hunk #1 failed at 496. 1 out of 1 hunks failed--saving rejects to hylafax-v4.0pl2/util/SendFaxJob.c++.j Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |diff -cr hylafax-v4.0pl2/util/faxconfig.c hylafax-v4.0pl2.new/util/faxconfig.c |*** hylafax-v4.0pl2/util/faxconfig.c Sat Feb 14 21:47:57 1998 |--- hylafax-v4.0pl2.new/util/faxconfig.c Thu Feb 19 22:36:32 1998 -------------------------- Patching file hylafax-v4.0pl2/util/faxconfig.c using Plan A... Hunk #1 succeeded at 51 with fuzz 2. Hunk #2 succeeded at 123 with fuzz 2. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: ....(The rest all succeed) myserver:/usr/src/hylafax-v4.0pl2#cat config.log ..... /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ++ cat t.c int t() { iopen(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ld: cannot open -limage: No such file or directory make: *** [t] Error 1 ++ cat t.c int t() { mallopt(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ld: cannot open -lmalloc: No such file or directory make: *** [t] Error 1 ++ cat t.c int t() { crypt(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ++ cat t.c int t() { strftime(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ++ cat t.c int t() { socket(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ++ cat t.c int t() { logwtmp(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ld: cannot open -lutil: No such file or directory make: *** [t] Error 1 ++ cat t.c int t() { ftruncate(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ++ cat t.c int t() { flock(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ++ cat t.c int t() { openlog(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - ++ cat t.c int t() { pututxline(); return 0; } int main(){ t(); return 0; } ++ make -f confMakefile t /usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I. -I././util -I/usr/local/include - /tmp/cca258871.o: In function `t': /usr/src/hylafax-v4.0pl2/t.c:1: undefined reference to `pututxline' make: *** [t] Error 1 .....(No more error follows)