Hylafax Mailing List Archives

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

[hylafax-users] 4.1beta2 util/Socket.h compile problem on Solaris 2.6, gcc 2.95.2



Hello,

I came across a problem compiling on 4.1beta2 on Solaris 2.6 using gcc
2.95.2.

Error Message:

In file included from InetTransport.c++:41:
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
*** Error code 1
make: Fatal error: Command failed for target `InetTransport.o'
Current working directory /space/hylafax-4.1beta2/util
*** Error code 1
make: Fatal error: Command failed for target `default'
Current working directory /space/hylafax-4.1beta2/util
*** Error code 1
make: Fatal error: Command failed for target `dirs'
Current working directory /space/hylafax-4.1beta2
*** Error code 1
make: Fatal error: Command failed for target `default'

Can anyone help me? I added the following to 'port.h', but nothing
changes.

#define CONFIG_SOCKARGLENTYPE int


thanks

Bianca Koller




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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services