Ticket #386 (new defect)

Opened 1 year ago

Last modified 3 months ago

linking cegui with gcc version 4.1.2

Reported by: DarekDawidowski@… Owned by: jorrit
Priority: major Milestone:
Component: general Version: V1.2rc1
Keywords: Cc:

Description

gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

LinkPlugin cscegui.so
./out/linuxx86/debug/plugins/gui/cegui/ceguiresourceprovider.o: In function `CEGUI::String::assign(unsigned char const*, unsigned int)':
/usr/include/CEGUI/CEGUIString.h:1467: undefined reference to `std::allocator<char>::allocator()'
/usr/include/CEGUI/CEGUIString.h:1467: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/usr/include/CEGUI/CEGUIString.h:1467: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/usr/include/CEGUI/CEGUIString.h:1467: undefined reference to `std::allocator<char>::~allocator()'
/usr/include/CEGUI/CEGUIString.h:1467: undefined reference to `std::allocator<char>::~allocator()'
./out/linuxx86/debug/plugins/gui/cegui/ceguiresourceprovider.o: In function `CEGUI::String::append(CEGUI::String const&, unsigned int, unsigned int)':
/usr/include/CEGUI/CEGUIString.h:1667: undefined reference to `std::allocator<char>::allocator()'
/usr/include/CEGUI/CEGUIString.h:1667: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/usr/include/CEGUI/CEGUIString.h:1667: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/usr/include/CEGUI/CEGUIString.h:1667: undefined reference to `std::allocator<char>::~allocator()'
/usr/include/CEGUI/CEGUIString.h:1667: undefined reference to `std::allocator<char>::~allocator()'
/usr/bin/ld: cscegui.so: hidden symbol `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status

Attachments

Change History

Changed 1 year ago by DarekDawidowski@…

this is only in debug mode, in release everything is fine

Changed 3 months ago by jorrit

Is this still valid?

Add/Change #386 (linking cegui with gcc version 4.1.2)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.