From owner-freebsd-questions@FreeBSD.ORG Wed May 14 13:56:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F76237B401 for ; Wed, 14 May 2003 13:56:17 -0700 (PDT) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE40843F85 for ; Wed, 14 May 2003 13:56:16 -0700 (PDT) (envelope-from m.bonavita@free.fr) Received: from Octopus.Abyss (lns-p19-6-82-64-225-87.adsl.proxad.net [82.64.225.87]) by postfix3-1.free.fr (Postfix) with SMTP id 4B199C271 for ; Wed, 14 May 2003 22:56:15 +0200 (CEST) Date: Wed, 14 May 2003 22:56:47 +0200 From: Matthieu Bonavita To: freebsd-questions@freebsd.org Message-Id: <20030514225647.4a318c2b.m.bonavita@free.fr> In-Reply-To: <20030514225112.5ca4aeb9.m.bonavita@free.fr> References: <20030514225112.5ca4aeb9.m.bonavita@free.fr> X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="('r=.8qX:(GOvs_G" Subject: Re: Last Licq Compile Error (Too many Arguments)... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 20:56:17 -0000 --('r=.8qX:(GOvs_G Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Humm sorry, the error message has been lost :) here it is : In file included from licq.cpp:23: /usr/local/include/getopt.h:115: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:366: previous declaration `int getopt(int, char* const*, const char*)' here /usr/local/include/getopt.h: In member function `bool CLicq::Init(int, char**)': /usr/local/include/getopt.h:115: too many arguments to function `int getopt()' licq.cpp:177: at this point in file Sorry again ! Le Wed, 14 May 2003 22:51:12 +0200 Matthieu Bonavita frappa sauvagement: > I've upgraded my ports very recently, but I still get a weird error while compiling licq-base > > .... > > [output snipped, but in attached txt file] > > > SOCKS5 support is disabled. > OpenSSL secure channel support is enabled. > > --- Now type "gmake" to build Licq --- > --- If gmake is not working, try "make" --- > > ===> Building for licq-base-1.2.6 > gmake all-recursive > gmake[1]: Entering directory `/usr/ports/net/licq/work/licq-1.2.6' > Making all in share > gmake[2]: Entering directory `/usr/ports/net/licq/work/licq-1.2.6/share' > gmake[2]: Nothing to be done for `all'. > gmake[2]: Leaving directory `/usr/ports/net/licq/work/licq-1.2.6/share' > Making all in src > gmake[2]: Entering directory `/usr/ports/net/licq/work/licq-1.2.6/src' > if c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I../include -DINSTALL_PREFIX=\"/usr/local\" -Wno-deprecated -D_THREAD_SAFE -I/usr/local/include -O -pipe -mcpu=pentiumpro -Wl,-rpath,/usr/local/lib -fno-exceptions -fno-check-new -pthread -MT licq.o -MD -MP -MF ".deps/licq.Tpo" \ > -c -o licq.o `test -f 'licq.cpp' || echo './'`licq.cpp; \ > then mv ".deps/licq.Tpo" ".deps/licq.Po"; \ > else rm -f ".deps/licq.Tpo"; exit 1; \ > fi > gmake[2]: Leaving directory `/usr/ports/net/licq/work/licq-1.2.6/src' > gmake[1]: Leaving directory `/usr/ports/net/licq/work/licq-1.2.6' > *** Error code 2 > > Stop in /usr/ports/net/licq. > > Has anybody encountered this kind of error elsewhere ? > > Thanks. > > ---- > M.Bonavita > GPG Key : http://membres.lycos.fr/almacinnis/pubkey.asc > ---- M.Bonavita GPG Key : http://membres.lycos.fr/almacinnis/pubkey.asc --('r=.8qX:(GOvs_G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+wq2P9btQKHDBA18RAmgFAJ94HAEJYz1pJ31jcy9elXVNYCuXIQCfYv/M XK/CwzDZC2toBvUUQ6dO9AY= =Fq3K -----END PGP SIGNATURE----- --('r=.8qX:(GOvs_G--