The problem about Compiling & linking project using Ice3.7.0 on CentOS 7.0 Using Gcc7.3.0

wandermanwanderman Nianjun TanOrganization: UtryProject: ipcc project, a call center projectMember

When I compile & link the project using Ice3.7.0 on CentOS7.0 Using Gcc4.8.5, everything is ok, but when using Gcc7.3.0, the error occured. The gcc7.3.0 compiling error message as bellow:

./obj/QMS.o: In function IceProxy::QMS::QmsService::end_QueryAgentFromQmsServer(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, IceInternal::Handle<Ice::AsyncResult> const&)': /root/tnj/ucACD/sipXacd/./generated/QMS.cpp:233: undefined reference to Ice::AsyncResult::_check(IceInternal::Handle const&, IceProxy::Ice::Object const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/root/tnj/ucACD/sipXacd/./generated/QMS.cpp:246: undefined reference to Ice::InputStream::read(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, bool)' /root/tnj/ucACD/sipXacd/./generated/QMS.cpp:242: undefined reference to Ice::UnknownUserException::UnknownUserException(char const*, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
./obj/QMS.o: In function QMS::QmsService::_iceD_QueryAgentFromQmsServer(IceInternal::Incoming&, Ice::Current const&)': /root/tnj/ucACD/sipXacd/./generated/QMS.cpp:319: undefined reference to Ice::InputStream::read(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, bool)'
/root/tnj/ucACD/sipXacd/./generated/QMS.cpp:320: undefined reference to Ice::InputStream::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool)' /root/tnj/ucACD/sipXacd/./generated/QMS.cpp:321: undefined reference to Ice::InputStream::read(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&, bool)'
/root/tnj/ucACD/sipXacd/./generated/QMS.cpp:322: undefined reference to `Ice::InputStream::read(std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&, bool)'
........................................................

Who know the reason, and how to solve it?

Sign In or Register to comment.