HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Compile error



On Monday 20 Sep 2010, Daniel L. Miller wrote:
>   Just d/l'ed and tried compiling Hylafax+.  Using Ubuntu 64-bit.  Make
> breaks with:
>
> make[3]: Entering directory `/opt/hylafax-5.4.2/hfaxd'
> /usr/bin/g++     -DSNPP_SUPPORT=1 -I.././faxd   -D__ANSI_CPP__ -I. -I..
> -I.././hfaxd -I.././util -I.././regex  -g -fpic -O  -c Login.c++
> Login.c++:101: error: âSTRUCT_PAM_MESSAGEâ has not been declared
> Login.c++: In function âint pamconv(int, int**, pam_response**, void*)â:
> Login.c++:113: error: request for member âmsg_styleâ in â* * msgâ, which
> is of non-class type âintâ
> Login.c++: In member function âbool HylaFAXServer::pamCheck(const char*,
> const char*)â:
> Login.c++:325: error: invalid conversion from âint (*)(int, int**,
> pam_response**, void*)â to âint (*)(int, const pam_message**,
> pam_response**, void*)â

I suspect you have some -dev packages missing.  At a guess, maybe libpam0g-dev 
but check carefully.  As a general, whatever a source package says it depends 
on, you also need the corresponding -dev package  (-devel in RPM based 
distros).

I agree it's a pain; but dropping -dev packages and merging the files into the 
main package would mean distributors admitting that people occasionally 
download and compile things from outside their repositories, so it's unlikely 
to happen just yet.


-- 
AJS
(Originating address does not accept e-mail.  Insert a figure "one" before the 
at sign if replying off-list.)


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions