Problemy z kompilacją

From: Piotr Martyniuk (piotr@sonycom.com)
Date: Mon Nov 13 2000 - 16:28:03 CET


Witam,

Mam problem z kompilacją tego programu pod Solarisem. Mimo włączonej opcji
"SOLARIS_LIBS_OPT=-lsocket -lnsl" program nie chce się kompilować:

g++ -I/usr/local/include -DADDR_BOOK -c main.cc
g++ -I/usr/local/include -c socket.cc
socket.cc: In method `int Socket::connect_socket(const char *, int)':
socket.cc:47: passing `const sockaddr *' as argument 2 of `connect(int, sockaddr
*, int)' discards qualifiers
make: *** [socket.o] Error 1

Proszę o pomoc.

Pozdrawiam

Murphy

---------------------------------------------------------------------
  ^ e-mail: GaduGadu: #297149 ^
^ | ^ piotr@sonycom.com ^ | ^
| | | murph@free.polbox.pl | | |
|/|\| murphy@pulstar.albedo.art.pl |/|\|
  | |
  | Everything is possible - this is only question of time |
---------------------------------------------------------------------

-
Wiecej informacji o korzystaniu z listy otrzymasz po wyslaniu wiadomosci
'help' na adres majordomo@ma.krakow.pl



This archive was generated by hypermail 2b30 : Mon Feb 26 2001 - 10:54:21 CET