Date: Wed, 05 Jan 2000 14:04:10 -0800 From: Adam Kranzel <shade@dnai.com> To: freebsd-questions@freebsd.org Subject: Compiling licq versions newer than 0.61? Message-ID: <3873BFDA.415D9063@dnai.com>
next in thread | raw e-mail | index | archive | help
Greetings... Has anyone gotten licq version 0.70 or newer to compile on FreeBSD? I am running 3.4-stable, and until yesterday it was not working because of a lack of pthread_cancel. Pthread_cancel got imported into -stable yesterday, but the licq build (version 0.75 beta of 12/18/1999) dies with this (after configuring without errors): icqpacket.cpp -o obj/icqpacket.o icqpacket.cpp: In function `void Encrypt_Client(class CBuffer *)': icqpacket.cpp:226: warning: unused parameter `class CBuffer * buffer' icqpacket.cpp: In method `CPU_UpdatePersonalExtInfo::CPU_UpdatePersonalExtInfo(const char *, short unsigned int, const char *, short unsigned int, char, const char *, const char *, const char *, long unsigned int)': icqpacket.cpp:651: invalid operands `char * (*)(int, int)' and `int' to binary `operator /' icqpacket.cpp: In method `CPU_Meta_SetGeneralInfo::CPU_Meta_SetGeneralInfo(const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, const char *, long unsigned int, short unsigned int, bool)': icqpacket.cpp:780: invalid operands `char * (*)(int, int)' and `int' to binary `operator /' gmake[2]: *** [obj/icqpacket.o] Error 1 gmake[2]: Leaving directory `/home/ace/archives/licq-0.75-991218/src/daemon' gmake[1]: *** [licq-daemon] Error 2 gmake[1]: Leaving directory `/home/ace/archives/licq-0.75-991218/src' gmake: *** [all_recursive] Error 2 I have tried version 0.71 (the most recent stable release), and it fails when trying to build also. It fails with this: c++ -g -O2 -pthread -Wall -I. -I../.. -I.. -I../inc -D_THREAD_SAFE -DHAVE_CONFIG_H -c icqpacket.cpp -o obj/icqpacket.o c++ -g -O2 -pthread -Wall -I. -I../.. -I.. -I../inc -D_THREAD_SAFE -DHAVE_CONFIG_H -c socket.cpp -o obj/socket.o socket.cpp: In method `char * INetSocket::ErrorStr(char *, int)': socket.cpp:138: warning: unused parameter `int buflen' socket.cpp: In method `bool INetSocket::SetAddrsFromSocket(short unsigned int)': socket.cpp:233: `socklen_t' undeclared (first use this function) socket.cpp:233: (Each undeclared identifier is reported only once socket.cpp:233: for each function it appears in.) socket.cpp:233: parse error before `=' socket.cpp:234: `sizeofSockaddr' undeclared (first use this function) socket.cpp: In method `bool INetSocket::OpenConnection()': socket.cpp:317: `socklen_t' undeclared (first use this function) socket.cpp:317: parse error before `=' socket.cpp:318: `sizeofSockaddr' undeclared (first use this function) socket.cpp: In method `void TCPSocket::RecvConnection(class TCPSocket &)': socket.cpp:443: `socklen_t' undeclared (first use this function) socket.cpp:443: parse error before `=' socket.cpp:444: `sizeofSockaddr' undeclared (first use this function) gmake[2]: *** [obj/socket.o] Error 1 gmake[2]: Leaving directory `/home/ace/archives/licq-0.71/src/daemon' gmake[1]: *** [licq-daemon] Error 2 gmake[1]: Leaving directory `/home/ace/archives/licq-0.71/src' gmake: *** [all_recursive] Error 2 If anyone has patches or ideas, let me know. thanks Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3873BFDA.415D9063>