![]() |
I am trying to compile capi4hylafax (the latest from the avm site) and I am running into problems. My system: Red Hat 7.0, updated gcc and glibc. configure dies with: checking for TIFFGetVersion in -ltiff... no configure: error: libtiff not found [root@oberon capi4hylafax-01.01.02]# or from the log file: configure:2079: gcc -o conftest -g -O2 conftest.c -ltiff -lcapi20 1>&5 /usr/lib/libtiff.so: undefined reference to `log' /usr/lib/libtiff.so: undefined reference to `pow' /usr/lib/libtiff.so: undefined reference to `exp' This seems to indicate to me that I am missing a basic math library somewhere.... OK, so I hacked config to bypass the libtiff check, since I have the lib. Now I get: c++ -DPACKAGE=\"capi4hylafax\" -DVERSION=\"01.01.02\" -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_CAPI20_H=1 -DHAVE_LIBCAPI20=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBPTHREAD=1 -I. -I. -I./../standard -I./../timers -Wall -W -O2 -DNDEBUG -c CapiMsg.cpp ../standard/osmem.h: In method `void CCAPI20_MsgBase::FillMessage (c_byte *, unsigned char, unsigned char, short unsigned int, unsigned int, char *, void *)': ../standard/osmem.h:121: `c_byte' is promoted to `int' when passed through `...' ../standard/osmem.h:121: (so you should pass `int' not `c_byte' to `va_arg') ../standard/osmem.h:112: `c_word' is promoted to `int' when passed through `...' CapiMsg.cpp:387: `c_word' is promoted to `int' when passed through `...' make[2]: *** [CapiMsg.o] Error 1 make[2]: Leaving directory `/usr/src/isdn/capi4hylafax-01.01.02/src/capi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/isdn/capi4hylafax-01.01.02/src' make: *** [all-recursive] Error 1 Has anyone compile capi4hyalfax successfully? Any hints? Thanks, --Yan ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null