W
wenmang
Hi all,
I got following error when compiling a rogram:
prelink: ERROR: operator <<<T1, T2, T3>(ostream &, const
basic_string<T1, T2, T3> &) [with T1=char, T2=char_traits<char>,
T3=allocator<char>, return type=ostream &] assigned to a.o and b.o
prelink: ERROR: bad instantiation request file -- instantiation
assigned to more than one file
UX:CC: ERROR: Pre-linker failed
In both places, I use cout as ostream, not sure why it happen. I build
with make clean, it disappeared. But I change one component, e.g., a.C,
then when linking, I got the error.
thx
I got following error when compiling a rogram:
prelink: ERROR: operator <<<T1, T2, T3>(ostream &, const
basic_string<T1, T2, T3> &) [with T1=char, T2=char_traits<char>,
T3=allocator<char>, return type=ostream &] assigned to a.o and b.o
prelink: ERROR: bad instantiation request file -- instantiation
assigned to more than one file
UX:CC: ERROR: Pre-linker failed
In both places, I use cout as ostream, not sure why it happen. I build
with make clean, it disappeared. But I change one component, e.g., a.C,
then when linking, I got the error.
thx