HylaFAX The world's most advanced open source fax server

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

Compile error Hyla4.1beta2 on Solaris 2.4 with gcc 2.95



I still can't compile a Hylafax for Solaris 2.4

I have the newest Beta and use the gcc 2.95

first error:
error in port/mkdepend :
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.../../../sparc-sun-solaris2.4/include/assert.h

is generated instead of
/usr/local/sparc-sun-solaris2.4/include/assert.h \ 
or
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.95/../../../sparc-sun-solaris2.4/include/assert.h

ok, I could fix that afterwards the compiler stops with:


/usr/local/bin/g++      -I.././zlib                       -D__ANSI_CPP__
-I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -g -O
-c InetTransport.c++
In file included from InetTransport.c++:41:
Socket.h: In function `static int Socket::bind(int, const void *, int)':
Socket.h:62: passing `const sockaddr *' as argument 2 of `bind(int,
sockaddr *, int)' discards qualifiers
Socket.h: In function `static int Socket::connect(int, const void *,
int)':
Socket.h:64: passing `const sockaddr *' as argument 2 of `connect(int,
sockaddr *, int)' discards qualifiers
InetTransport.c++: In method `bool InetTransport::callServer(fxStr &)':
InetTransport.c++:70: warning: choosing `fxStr::operator char *()' over
`fxStr::operator const char *() const'
InetTransport.c++:70: warning:   for conversion from `fxStr' to `const
char *'
InetTransport.c++:70: warning:   because conversion sequence for the
argument is better
make[1]: *** [InetTransport.o] Error 1
make[1]: Leaving directory `/e/hylafax-4.1beta2/util'
make: *** [default] Error 2


I've tried erverything I know and still have no binary for Solaris 2.4
Has anybody ever had success in compiling Hylafax for Solaris 2.4 ??

thanx
/Matthias

-- 
HAGOS eG                 phone: +49 711 7880592
Matthias Reich             fax: +49 711 7880599
Industriestr. 62           web: http://www.hagos.de
D-70565 Stuttgart         mail: rei@hagos.de
Germany




Project hosted by iFAX Solutions