map7
December 22nd, 2010, 01:00 PM
I'm running ubuntu 10.10 32bit and I'm trying to compile Hylafax 6.0.5 (as 6.0.4 has a bug with faxgetty segfaulting). I've used these commands
$ tar xvf hylafax-6.0.5.tar.gz
$ sudo aptitude install build-essential libtiff-dev
$ ./configure
$ make
Then I get this error:
In file included from Sys.h:34,
from Dispatcher.c++:27:
/usr/include/sys/stat.h:299: error: declaration of ‘int fchmod(int, __mode_t) throw ()’ throws different exceptions
../port.h:32: error: from previous declaration ‘int fchmod(int, mode_t)’
make[3]: *** [Dispatcher.o] Error 1
make[3]: Leaving directory `/home/marvin/hylafax-6.0.5/libhylafax'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/marvin/hylafax-6.0.5/libhylafax'
make[1]: *** [dirs] Error 2
make[1]: Leaving directory `/home/marvin/hylafax-6.0.5'
make: *** [default] Error 2
Am I missing another library?
$ tar xvf hylafax-6.0.5.tar.gz
$ sudo aptitude install build-essential libtiff-dev
$ ./configure
$ make
Then I get this error:
In file included from Sys.h:34,
from Dispatcher.c++:27:
/usr/include/sys/stat.h:299: error: declaration of ‘int fchmod(int, __mode_t) throw ()’ throws different exceptions
../port.h:32: error: from previous declaration ‘int fchmod(int, mode_t)’
make[3]: *** [Dispatcher.o] Error 1
make[3]: Leaving directory `/home/marvin/hylafax-6.0.5/libhylafax'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/marvin/hylafax-6.0.5/libhylafax'
make[1]: *** [dirs] Error 2
make[1]: Leaving directory `/home/marvin/hylafax-6.0.5'
make: *** [default] Error 2
Am I missing another library?