--- On Thu, 7/24/08, Unga <unga888@xxxxxxxxx> wrote: > From: Unga <unga888@xxxxxxxxx> > Subject: ctype_members.cc: error: redefinition > To: gcc-help@xxxxxxxxxxx > Date: Thursday, July 24, 2008, 6:04 PM > Hi all > > I'm compiling GCC 4.3.1 on FreeBSD 7.0 and I get > following error: > > libtool: compile: gcc/xgcc -shared-libgcc -B./gcc > -nostdinc++ ... -fno-implicit-templates -Wall -Wextra > -Wwrite-strings -Wcast-qual > -fdiagnostics-show-location=once -ffunction-sections > -fdata-sections -O2 -g -g -O2 -c ctype_members.cc -fPIC > -DPIC -o .libs/ctype_members.o > > ctype_members.cc:136: error: redefinition of 'bool > std::ctype<wchar_t>::do_is(long unsigned int, > wchar_t) const' > > Please note, from the above "libtool: compile:" > line -B, -L, -I lines were removed to make a summary. > > What caused this error? > > I can provide more info on this. > I thought add little bit of more information. This compilation error happens only inside of a chroot jail. Most probably something may be missing inside the chroot jail, but it does not say anything missing. I'm compiling on a i386 system. How to know whether is it something missing? or is it something else? Appreciate very much any help in this regard. Many thanks in advance. Regards Unga