HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

probemodem Fails



Hello!

The software are: HylaFAX v4.0pl2 under Linux Slackware recompiled to
kernel 2.0.35 with RAID5 enabled with gcc 2.8.1; ZyXEL U-1496E.

**Problem 1**

File config.log generated by ./configure has some errors like

//usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lmalloc
ld: cannot open -lmalloc: No such file or directory
make: *** [t] Error 1
...
/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lutil
ld: cannot open -lutil: No such file or directory
make: *** [t] Error 1
...
/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lc
/tmp/cca011241.o: In function `t':
/usr/src/hylafax-v4.0pl2/t.c:1: undefined reference to `pututxline'
make: *** [t] Error 1
..
/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O  t.c -lgen
ld: cannot open -lgen: No such file or directory
make: *** [t] Error 1
..

/usr/bin/gcc        -D__ANSI_CPP__ -I. -I. -I. -I././util
-I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: sys/bsdtypes.h: No such file or directory
# 1 "t.c++"

make: *** [t] Error 1
ld: cannot open -lutil: No such file or directory
...

I ignored these errors and proceeded

make
make install
faxsetup

Then, the first problem I face is that faxaddmodem always fails to get
best modem speed:

Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200

Unabel to deduce DTE-DCE speed; check that you are using the
...

I can see the modem are responding to probemodem because the indicators
are flashing during the probing process. I have tried ttyS0, ttyS1,
cua0, and cua1 in combinations with 3 different modems of identical
model and 1 GVC modem. All failed to acquire the appropriate speed.

**Problem 2**

After faxsetup, I do not see
/var/spool/fax/etc/config.ttyS0
/var/spool/fax/etc/config.ttyS1
/var/spool/fax/etc/config.cua0
/var/spool/fax/etc/config.cua1

**Problem 3**

I found

FIFO|

in /var/spool/fax

FIFO.ttyS0  (and FIFO.ttyS1, FIFO.cua0, FIFO.cua1) are not present. Is
this a problem?

**Probem 4**
Syntax for sendfax seems mismatch its man page:

Command "sendfax -d 12345 /etc/hosts" gets message

sendfax: no files to send
ussage: sendfax [options] <fax-number> <page(s) in g3-format>
        valid options: -p, -v, -l <device(s)>, -x <debug>, -n, -S, -r,
-D <x>

**Probem 5**

Both commands:

sendfax 12345 /etc/hosts
sendfax -v /dev/ttyS1 -d 12345 /etc/hosts

get responds:

Trying fax device '/dev/tty4c'... canot open!
Trying fax device '/dev/tty4d'... canot open!
sendfax: cannot access fax device(s) (locked?)

Please help!

Thank you!

CN Liu




Project hosted by iFAX Solutions