HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problem in compilation Solaris



 Hi to all. I try to compile Hylafax  4.1beta3  in Solaris5 with  gcc
2.95.1 .
 I obtained  this errors :


make[4]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/util'
make[4]: Nothing to be done for `_quiet.cdependtime'.
make[4]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/util'
make[3]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/util'
make[3]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/util'
/usr/local/bin/g++ -L/usr/local/lib
-R/usr/local/lib                              -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:79: 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:84: passing `const sockaddr *' as argument 2 of `connect(int,
sockaddr *, int)' discards qualifiers
make[3]: *** [InetTransport.o] Error 1
make[3]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/util'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/util'
= faxalter
........
..........
...........
............
............

make[3]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/hfaxd'
make[4]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/hfaxd'
make[4]: Nothing to be done for `_quiet.c++dependtime'.
make[4]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/hfaxd'
make[3]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/hfaxd'
make[3]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/hfaxd'
/usr/local/bin/g++ -L/usr/local/lib -R/usr/local/lib
-DOLDPROTO_SUPPORT=1 -DSNPP_SUPPORT=1 -I.././faxd   -D__ANSI_CPP__ -I.
-I.. -I../.
/regex -I.././hfaxd -I.././util -I/usr/local/include -g -O  -c
Parser.c++
In file included from Parser.c++:33:
../util/Socket.h: In function `static int Socket::bind(int, const void
*, int)':
../util/Socket.h:79: passing `const sockaddr *' as argument 2 of
`bind(int, sockaddr *, int)' discards qualifiers
../util/Socket.h: In function `static int Socket::connect(int, const
void *, int)':
../util/Socket.h:84: passing `const sockaddr *' as argument 2 of
`connect(int, sockaddr *, int)' discards qualifiers
make[3]: *** [Parser.o] Error 1
make[3]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/hfaxd'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/DACANCELLARE/hylafax-4.1beta3/hfaxd'
= sendfax
make[2]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/sendfax'

make[3]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/sendfax'

make[4]: Entering directory `/usr/DACANCELLARE/hylafax-4.1beta3/sendfax'

make[4]: Nothing to be done for `_quiet.c++dependtime'.


BUT in Solaris2.5 with gcc version 2.8.1 all ok


 Why  ?







____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions