From owner-freebsd-questions Wed Jan 5 14: 8:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from oberon.dnai.com (oberon.dnai.com [207.181.194.97]) by hub.freebsd.org (Postfix) with ESMTP id D5F5E1546A for ; Wed, 5 Jan 2000 14:08:02 -0800 (PST) (envelope-from shade@dnai.com) Received: from dnai.com (dnai-207-181-237-239.cust.dnai.com [207.181.237.239]) by oberon.dnai.com (8.9.3/8.9.3) with ESMTP id OAA37750 for ; Wed, 5 Jan 2000 14:07:45 -0800 (PST) Message-ID: <3873BFDA.415D9063@dnai.com> Date: Wed, 05 Jan 2000 14:04:10 -0800 From: Adam Kranzel Organization: Blacktabby Designs X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Compiling licq versions newer than 0.61? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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