[Bf-committers] linking problem on linux

Johan Meskens CS3 jmcs3 johanmeskenscs3 at chromaticspaceandworld.com
Sun Apr 9 10:45:22 CEST 2006


hello

with fresh cvstree

all the *.a libs compile fine
but then this:

Compiling ==> 'buildinfo.c'
Linking program ==> 'blender'
/home/jmcs3/build/linux2/lib/libblender_BSP.a(BSP_CSGMesh.o): In
function `BSP_CSGMesh::NewCopy() const':
BSP_CSGMesh.cpp:(.text+0x1c5): undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
BSP_CSGMesh.cpp:(.text+0x267): undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
BSP_CSGMesh.cpp:(.text+0x30d): undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
BSP_CSGMesh.cpp:(.text+0x39f): undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
BSP_CSGMesh.cpp:(.text+0x436): undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
BSP_CSGMesh.cpp:(.text+0x4ae): undefined reference to
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned
int)'
BSP_CSGMesh.cpp:(.text+0x4e8): undefined reference to
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned
int)'
/home/jmcs3/build/linux2/lib/libblender_BSP.a(BSP_CSGMesh.o): In
function `BSP_CSGMesh::AddPolygon(int const*, int)':
BSP_CSGMesh.cpp:(.text+0x6e1): undefined reference to
`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
BSP_CSGMesh.cpp:(.text+0x96a): undefined reference to
`std::__default_alloc_template<true, 0>::deallocate(void*, unsigned
int)'

etc. 

could someone explain the above ?

thanks
jmcs3




More information about the Bf-committers mailing list