Menu

#42 FreeBSD 5.0 compile error

open
nobody
None
5
2003-02-12
2003-02-12
No

I am getting the following error while compiling
Mutella from the FreeBSD 5.0 port. I have talked to
the port manager who says that Mutella will not compile
with new gcc strict C++ validation.

Would it be possible to fix the code so that it does?

Thanks.

Error message follows:

> source='asyncdns.cpp' object='asyncdns.o' libtool=no
> depfile='.deps/asyncdns.Po'
tmpdepfile='.deps/asyncdns.TPo'
> depmode=gcc3 /bin/sh ../depcomp c++ -DHAVE_CONFIG_H
-I. -I. -I..
> -I/usr/local/include -D_REENTRANT
-D_MIT_POSIX_THREADS -fno-exceptions
> -fno-check-new -pthread -O -pipe -mcpu=pentiumpro
-O0 -c -o asyncdns.o
> `test -f 'asyncdns.cpp' || echo './'`asyncdns.cpp
> asyncdns.cpp: In constructor
`MADnsDelayed::MADnsDelayed()':
> asyncdns.cpp:124: `cout' undeclared (first use this
function)
> asyncdns.cpp:124: (Each undeclared identifier is
reported only once for
> each
> function it appears in.)
> *** Error code 1
>
> Stop in
/usr/ports/net/mutella/work/mutella-0.4.3rc2/mutella.
> *** Error code 1
>
> Stop in
/usr/ports/net/mutella/work/mutella-0.4.3rc2/mutella.
> *** Error code 1
>
> Stop in /usr/ports/net/mutella/work/mutella-0.4.3rc2.
> *** Error code 1
>
> Stop in /usr/ports/net/mutella.

Discussion

  • Christian Biere

    Christian Biere - 2003-04-20

    Logged In: YES
    user_id=643728

    Try to add -fpermissive to your CFLAGS.

     
  • Gavin Atkisnon

    Gavin Atkisnon - 2005-02-05

    Logged In: YES
    user_id=197451

    This bug report can now be closed as the FreeBSD port has been updated
    to 0.4.5 which compiles fine.

     

Log in to post a comment.

MongoDB Logo MongoDB