From owner-freebsd-questions@FreeBSD.ORG Tue May 20 12:15:09 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 DEEA437B401 for ; Tue, 20 May 2003 12:15:09 -0700 (PDT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7F5843FAF for ; Tue, 20 May 2003 12:15:08 -0700 (PDT) (envelope-from m.bonavita@free.fr) Received: from Octopus.Abyss (lns-th2-8-82-64-112-67.adsl.proxad.net [82.64.112.67]) by postfix4-2.free.fr (Postfix) with SMTP id 88F58D78D for ; Tue, 20 May 2003 21:15:07 +0200 (CEST) Date: Tue, 20 May 2003 21:16:01 +0200 From: Matthieu Bonavita To: freebsd-questions@freebsd.org Message-Id: <20030520211601.1132b060.m.bonavita@free.fr> In-Reply-To: <20030514225647.4a318c2b.m.bonavita@free.fr> References: <20030514225112.5ca4aeb9.m.bonavita@free.fr> <20030514225647.4a318c2b.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: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 20 May 2003 19:15:10 -0000 Maybe a getopt.h problem ? can I upgrade this kind of files ? (C++/C include header files) ? Le Wed, 14 May 2003 22:56:47 +0200 Matthieu Bonavita frappa sauvagement: > 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 > ---- Matthieu Bonavita GPG Key : http://membres.lycos.fr/almacinnis/pubkey.asc Running on : FreeBSD 5.0-RELEASE-p7 i386