V1.26 won't compile after doing Build Modules

BlitzMax Forums/BlitzMax Programming/V1.26 won't compile after doing Build Modules

Grey Alien(Posted 2007) [#1]
I just made a tiny tweak to a DirectSound module and clicked Build Modules in the V1.26 IDE, and it rebuilt everything, took a while.

Now when I compile I get a huge list of errors, even if I compile this:

Print "hello"


Here's the output:


Building untitled2
Compiling:untitled2.bmx
flat assembler version 1.66
3 passes, 2155 bytes.
Linking:untitled2.exe
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(group.cpp.release.win32.x86.o)(.text+0x22):group.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(group.cpp.release.win32.x86.o)(.text+0xf2):group.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(group.cpp.release.win32.x86.o)(.text+0x176):group.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(group.cpp.release.win32.x86.o)(.text+0x1fa):group.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(group.cpp.release.win32.x86.o)(.text+0x2fc):group.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(group.cpp.release.win32.x86.o)(.text$_ZNSt10_List_baseIP8BBGadgetSaIS1_EE5clearEv+0x18):group.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(group.cpp.release.win32.x86.o)(.text$_ZNSt14__simple_allocISt10_List_nodeIP8BBGadgetESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x15):group.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text+0x78):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text+0x1b1):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text+0x239):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text+0x2c1):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text$_ZNSt10_List_baseIP14BBTreeViewNodeSaIS1_EE5clearEv+0x18):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text$_ZNSt4listIP14BBTreeViewNodeSaIS1_EE6removeERKS1_+0x53):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text$_ZNSt14__simple_allocISt10_List_nodeIP14BBTreeViewNodeESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x15):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(treeview.cpp.release.win32.x86.o)(.text$_ZNSt4listIP14BBTreeViewNodeSaIS1_EE14_M_create_nodeERKS1_+0x6):treeview.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0x9a):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0xb7):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0xc9):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0xd1):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0xd6):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0xe8):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0xf4):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0x101):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE5eraseESt17_Rb_tree_iteratorIS6_RS6_PS6_ESG_+0x10e):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE9_M_insertEPSt18_Rb_tree_node_baseSE_RKS6_+0x1c):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE9_M_insertEPSt18_Rb_tree_node_baseSE_RKS6_+0x90):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt8_Rb_treeIP6HWND__St4pairIKS1_P9Win32HwndESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E+0x22):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0x3d):win32hwnd.cpp: undefined reference to `std::_GLIBCPP_mutex_address'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0x74):win32hwnd.cpp: undefined reference to `std::_GLIBCPP_mutex'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0x89):win32hwnd.cpp: undefined reference to `std::_GLIBCPP_mutex_address_init()'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0x98):win32hwnd.cpp: undefined reference to `std::_GLIBCPP_mutex'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0xaf):win32hwnd.cpp: undefined reference to `std::_GLIBCPP_mutex_init()'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt15_STL_mutex_lock13_M_initializeEv+0xb4):win32hwnd.cpp: undefined reference to `std::_GLIBCPP_once'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKP6HWND__P9Win32HwndEESt24__default_alloc_templateILb1ELi0EEE10deallocateEPS8_j+0x14):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32hwnd.cpp.release.win32.x86.o)(.text$_ZNSt14__simple_allocISt13_Rb_tree_nodeISt4pairIKP6HWND__P9Win32HwndEESt24__default_alloc_templateILb1ELi0EEE8allocateEj+0x15):win32hwnd.cpp: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x3d0):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x3e5):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x534):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x567):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_Lock::_Lock()'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x56d):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x57c):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x589):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_Lock::~_Lock()'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x59f):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_refill(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iteratorjb+0x5bf):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32iconstrip.cpp.release.win32.x86.o)(.text$_ZNSt14__simple_allocImSt24__default_alloc_templateILb1ELi0EEE10deallocateEPmj+0x14):win32iconstrip.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x68):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x7d):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0xf7):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x10f):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x122):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x130):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_free_list'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x139):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x14f):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x15f):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x177):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_refill(unsigned)'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x181):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x18e):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_node_allocator_lock'
C:/BlitzMax/mod/brl.mod/win32maxgui.mod/win32maxgui.release.win32.x86.a(win32textarea2.cpp.release.win32.x86.o)(.text$_ZNSt6vectorIcSaIcEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPcS1_EERKc+0x1b4):win32textarea2.cpp: undefined reference to `std::__default_alloc_template<true, 0>::_S_force_new'
Build Error: Failed to link C:/BlitzMax/tmp/untitled2.exe
Process complete



My version of BMax should be PURE 1.26 because I never modify the modules myself. I had V1.24 syncmodded a while back then I upgraded to 1.26 recently.

I'm going to try to fix it now (because I can't wait for a reply) with a complete reinstall from 1.18 + all the patches (sigh ... please make an up to date installer) and hopefully that'll fix it. I thought I'd make this post in case it's useful for Mark or Skidracer...


Dreamora(Posted 2007) [#2]
Did you replace ld.exe and ar.exe in the bin folder through the ones from the current MingW you used to build?

You could as well kick out the gui modules again and resync them and do selective module builds through calling bmk in the future (or by using Blide :) )


Grey Alien(Posted 2007) [#3]
no I have no idea what those files do...should I replace them? What version of MingW should I have?


Grey Alien(Posted 2007) [#4]
OK more info. I just installed V1.18 from scratch (over my old folder, not a "CLEAN" install). Then I ran the V1.26 patch. I ran the IDE and it build the docs automatically. Then I did syncmods (to pickup the MaxGUI mod).

A simple Print program now compiles.

I then did Build Modules and it went through everything (it should't need to right?)

And now I get that massive stream of errors.

So I'll reinstall and won't click Build Modules for now, but I'd like to get to the bottom of this so I can test out Dreamora's proposed DirectSound module fix.

Any ideas welcome, thanks!


Dreamora(Posted 2007) [#5]
WindowsButton - R
Enter cmd and press enter
enter the drive letter of your blitz max install partition in the command window and press enter

enter cd <path to blitz max>\bin and enter
bmk makemods brl.directsoundaudio and enter

and you are done :-)

Or use blide. it has an advanced module builder where you can simply use checkboxes to define what you want to build. you can build everything beside maxgui and 1-2 other modules more or less.


Grey Alien(Posted 2007) [#6]
cool will test this now.


Brucey(Posted 2007) [#7]
no I have no idea what those files do...should I replace them? What version of MingW should I have?

the ld.exe and ar.exe programs are for the linking process which is part of the compilation of the modules and your programs.
The ones provided in 1.26 are the ones that came with MinGW 3.10. These are incompatible with MinGW 5.13 since the newer MinGW compiles using a different version of GCC.

So, copying the ones from your MinGW 5.13 bin folder into the BlitzMax/bin folder and rebuilding with those should get everything in line.


Grey Alien(Posted 2007) [#8]
aha makes sense. I did install MinGW ages ago so I could build modules. Is there a way to find out what version I currently have installed?

I notice in the MinGW folder that there is a Bin folder and a Mingw32/bin folder and BOTH have those files in them so which ones should I use please? thanks :-)


Dreamora(Posted 2007) [#9]
If you installed the one suggested back then, you have 3.1.0.1


Chroma(Posted 2007) [#10]
Pretty sure Mark posted somewhere that if you're going to rebuild all modules with version 1.26 then you have to get the latest MinGW.


Gabriel(Posted 2007) [#11]
The ones provided in 1.26 are the ones that came with MinGW 3.10.

Which begs the question "why?" I thought the purpose of 1.26 was so that we could move fully to the latest version of MinGW.


Brucey(Posted 2007) [#12]
Which begs the question "why?"

I imagine the mistake was down to "user" error ;-)


Gabriel(Posted 2007) [#13]
Oh sorry, I thought you meant that there was still some dependency on that old version buried down deep somewhere.


Grey Alien(Posted 2007) [#14]
Just wanna repeat this in case anyone can help:


aha makes sense. I did install MinGW ages ago so I could build modules. Is there a way to find out what version I currently have installed?

I notice in the MinGW folder that there is a Bin folder and a Mingw32/bin folder and BOTH have those files in them so which ones should I use please? thanks :-)




Brucey(Posted 2007) [#15]
With which Dreamora replied with :
If you installed the one suggested back then, you have 3.1.0.1


Following this topic might help you sort things out.
Once you have 5.13 installed, you should still copy the aforementioned files into your BlitzMax/bin dir.

:o)


tonyg(Posted 2007) [#16]
gcc -v?


Grey Alien(Posted 2007) [#17]
yeah I just wondered f there was a way to check the actual version number :-)

Thanks for the link, I'll do that now.


tonyg(Posted 2007) [#18]
You might have missed
gcc -v?



Grey Alien(Posted 2007) [#19]
yep I did miss that, thanks tonyg! knew there must be a way.