------- Additional Comments From danglin at gcc dot gnu dot org 2005-01-02 19:53 ------- Adding a bit of assembler code to the .s file to define _ZNSt6locale13_S_categoriesE eliminates the error:
... .globl __ZNSt6locale18_S_categories_sizeE .text .align 2 __ZNSt6locale18_S_categories_sizeE: .long 6 ;;; start added code .global __ZNSt6locale13_S_categoriesE .text .align 2 __ZNSt6locale13_S_categoriesE: .long 6 ;;; end added code .globl __ZNSt6locale24_S_extra_categories_sizeE .align 2 __ZNSt6locale24_S_extra_categories_sizeE: .long 0 .globl __ZNSt6locale2id12_S_highwaterE ... Thus, we need to determine why _ZNSt6locale13_S_categoriesE wasn't emitted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19212