HylaFAX The world's most advanced open source fax server

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

Re: rjc9 compile problems



Hi Alan,

oops....

As a temporary measure try adding a line like this to the port.h file
before building hylafax:
#define CONFIG_SOCKARGLENTYPE int 

configure needs to be changed to be a bit smarter about whether socklen_t
is defined or not.

- Robert

At 03:59 PM 6/2/99 -0700, Alan Sparks wrote:
>OK, trying to compile hylafax-4.0pl2-rjc9...  compile problems on SunOS
>4.1.4 (gcc 2.7.2) and on HP/UX 10.20 (gcc 2.8.1), both at same place:
>
>make[1]: Entering directory `/usr/local/hylafax/src/util'
>/opt/gnu/bin/g++ -I.././zlib -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././uti
>l -I.././util -I/usr/local/include -g -O  -c InetTransport.c++
>
>In file included from InetTransport.c++:41:
>Socket.h:63: type specifier omitted for parameter
>Socket.h:63: parse error before `*'
>Socket.h:69: type specifier omitted for parameter
>Socket.h:69: parse error before `*'
>Socket.h:71: type specifier omitted for parameter
>Socket.h:71: parse error before `*'
>Socket.h: In function `static int Socket::accept(...)':
>Socket.h:64: `s' undeclared (first use this function)
>
>Somehow it doesn't like the socklen_t type?
>-Alan
>
>=============
>Alan Sparks, UNIX Network Administrator           <asparks@cpd.harris.com>
>Harris Communications, Camarillo CA                   (805) 389-2430





Project hosted by iFAX Solutions