Menu

#17 SVN Compile errors

open
nobody
Client (14)
5
2009-08-19
2009-08-19
John Sabo
No

autoconf, automake, aclocal ran.

System type: AMD Opteron / Gentoo AMD64

make all-am
make[1]: Entering directory `/usr/src/ctorrent/dtorrent/trunk'
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT bencode.o -MD -MP -MF ".deps/bencode.Tpo" -c -o bencode.o bencode.cpp; \
then mv -f ".deps/bencode.Tpo" ".deps/bencode.Po"; else rm -f ".deps/bencode.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT bitfield.o -MD -MP -MF ".deps/bitfield.Tpo" -c -o bitfield.o bitfield.cpp; \
then mv -f ".deps/bitfield.Tpo" ".deps/bitfield.Po"; else rm -f ".deps/bitfield.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT btconfig.o -MD -MP -MF ".deps/btconfig.Tpo" -c -o btconfig.o btconfig.cpp; \
then mv -f ".deps/btconfig.Tpo" ".deps/btconfig.Po"; else rm -f ".deps/btconfig.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT btcontent.o -MD -MP -MF ".deps/btcontent.Tpo" -c -o btcontent.o btcontent.cpp; \
then mv -f ".deps/btcontent.Tpo" ".deps/btcontent.Po"; else rm -f ".deps/btcontent.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT btfiles.o -MD -MP -MF ".deps/btfiles.Tpo" -c -o btfiles.o btfiles.cpp; \
then mv -f ".deps/btfiles.Tpo" ".deps/btfiles.Po"; else rm -f ".deps/btfiles.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT btrequest.o -MD -MP -MF ".deps/btrequest.Tpo" -c -o btrequest.o btrequest.cpp; \
then mv -f ".deps/btrequest.Tpo" ".deps/btrequest.Po"; else rm -f ".deps/btrequest.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT btstream.o -MD -MP -MF ".deps/btstream.Tpo" -c -o btstream.o btstream.cpp; \
then mv -f ".deps/btstream.Tpo" ".deps/btstream.Po"; else rm -f ".deps/btstream.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT bufio.o -MD -MP -MF ".deps/bufio.Tpo" -c -o bufio.o bufio.cpp; \
then mv -f ".deps/bufio.Tpo" ".deps/bufio.Po"; else rm -f ".deps/bufio.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT compat.o -MD -MP -MF ".deps/compat.Tpo" -c -o compat.o compat.c; \
then mv -f ".deps/compat.Tpo" ".deps/compat.Po"; else rm -f ".deps/compat.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT connect_nonb.o -MD -MP -MF ".deps/connect_nonb.Tpo" -c -o connect_nonb.o connect_nonb.cpp; \
then mv -f ".deps/connect_nonb.Tpo" ".deps/connect_nonb.Po"; else rm -f ".deps/connect_nonb.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT console.o -MD -MP -MF ".deps/console.Tpo" -c -o console.o console.cpp; \
then mv -f ".deps/console.Tpo" ".deps/console.Po"; else rm -f ".deps/console.Tpo"; exit 1; fi
console.cpp: In member function 'void Console::Error(int, const char*, __va_list_tag*)':
console.cpp:1773: error: no matching function for call to 'ConChannel::Output(const char [3], char [80])'
console.h:239: note: candidates are: int ConChannel::Output(const char*, __va_list_tag*)
console.cpp:1776: error: no matching function for call to 'ConChannel::Output(const char [3], char [80])'
console.h:239: note: candidates are: int ConChannel::Output(const char*, __va_list_tag*)
make[1]: *** [console.o] Error 1
make[1]: Leaving directory `/usr/src/ctorrent/dtorrent/dtorrent/trunk/dtorrent/trunk'
make: *** [all] Error 2

Configure string: ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

GCC Version:
x86_64-pc-linux-gnu-g++ (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Discussion

  • dholmes999

    dholmes999 - 2009-08-20

    Thanks! It looks like that should be using Print() instead of Output(). Can you confirm that making that change in the two lines builds on your platform? Both are in Console::Error().

     
  • John Sabo

    John Sabo - 2009-08-20

    Yup, that fixed it! Thanks for the quick response.

    -John

     

Log in to post a comment.

MongoDB Logo MongoDB