Menu

#1141 compilation on amd64

open
nobody
None
5
2005-07-19
2005-07-19
Martin May
No

I try to compile the cvs-version of sim. The following
error occurs:

gmake[3]: Entering directory
`/tmp/sim/src/sim/plugins/_core'
if /bin/sh ../../libtool --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I
../.. -I../../sim -I/usr/kde/3.4/include
-I/usr/qt/3/include -I. -DQT_THREAD_S
UPPORT -D_REENTRANT -I/usr/include/libxml2
-I/usr/include/libxml2 -Wnon-virtua
l-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-ali
gn -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -O2 -
Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-
common -fno-strict-aliasing -MT filetransfer.lo -MD
-MP -MF ".deps/filetransfer
.Tpo" \ -c -o filetransfer.lo `test -f 'filetransfer.cpp' ||
echo './'`filetransfer.cp
p; \ then mv -f ".deps/filetransfer.Tpo"
".deps/filetransfer.Plo"; \ else rm -f ".deps/filetransfer.Tpo"; exit 1; \ fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../sim
-I/usr/kde/3.4/include -I/usr/q
t/3/include -I. -DQT_THREAD_SUPPORT
-D_REENTRANT -I/usr/include/libxml2 -I/usr/i
nclude/libxml2
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=5
00 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-
arith -Wwrite-strings -O2
-Wformat-security -Wmissing-format-attribute -fno-exce
ptions
-fno-check-new -fno-common -fno-strict-aliasing -MT
filetransfer.lo -MD -
MP -MF .deps/filetransfer.Tpo -c
filetransfer.cpp -fPIC -DPIC -o .libs/filetran
sfer.o
filetransfer.cpp: In member function `void
FileTransferDlg::goDir()':
filetransfer.cpp:519: error: ambiguous overload for
'operator+=' in 's += fpath'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/bits/basic_string.h:693:
n ote:
candidates are: std::basic_string<_CharT, _Traits,
_Alloc>& std::basic_stri
ng<_CharT, _Traits,
_Alloc>::operator+=(const std::basic_string<_CharT,
_Traits,
_Alloc>&) [with _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::
allocator<char>]
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/bits/basic_string.h:701:
n ote:
std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_stri
ng<_CharT, _Traits, _Alloc>::operator+=(const
_CharT*) [with _CharT = char, _Tra
its = std::char_traits<char>,
_Alloc = std::allocator<char>]
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/bits/basic_string.h:709:
n ote:
std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_stri
ng<_CharT, _Traits, _Alloc>::operator+=(_CharT)
[with _CharT = char, _Traits = s
td::char_traits<char>, _Alloc =
std::allocator<char>] <near match>
gmake[3]: *** [filetransfer.lo] Error 1
gmake[3]: Leaving directory
`/tmp/sim/src/sim/plugins/_core'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/tmp/sim/src/sim/plugins/_core'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/sim/src/sim'
gmake: *** [all] Error 2
--------------------------------------------------

I use the following software-components:
automake-1.9.5
autoconf-2.59
xorg-x11-6.8.2
qt-3.3.4
kde-3.4.1
libxml-1.8.17
libxslt-1.1.12
flex-2.5.4a
openssl-0.9.7e

Can you help me?

Greetings
Martin

Discussion

  • Flechl David

    Flechl David - 2005-09-14

    Logged In: YES
    user_id=669280

    plz tell it here:
    https://developer.berlios.de/bugs/?group_id=4482

    plz add the bugnumber of the old tracking system

     

Log in to post a comment.