Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 21:16:01 +0200
From:      Matthieu Bonavita <m.bonavita@free.fr>
To:        freebsd-questions@freebsd.org
Subject:   Re: Last Licq Compile Error (Too many Arguments)...
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <m.bonavita@free.fr> 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 <m.bonavita@free.fr> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030520211601.1132b060.m.bonavita>