On Wed, 22 Jul 1998, Jules Bean wrote: > I tried to compile menu the other day, and it hit a lot of problems which > I tentatively diagnosed as being incompatibilities between the 'String.h' > provided by libstdc++2.8-dev and libg++272-dev. Maybe you'd have a quick > look and see if I'm right.
The String problems can be fixed relatively easily by casting char*'s to class Stings's. I got to problems at link time dealing with the STL vector template. Actually, I get the same problems on my hamm x86 system, so I'm not sure how that binary got compiled either. The errors that I get are some of the oddest that I've seen, but here they are: gcc -o update-menus -g -fhandle-exceptions -Wall update-menus.o adstring.o -lstdc++ #-lg++ update-menus.o: In function `vector<int, __default_alloc_template<true, 0> >::~vector(void)': /usr/include/g++/stl_vector.h(.gnu.linkonce.t.construct__H2Zt4pair2ZC6StringZ6StringZt4pair2ZC6StringZ6String_PX01RCX11_v+0x14): undefined reference to `operator new(unsigned int, void *)' /usr/include/g++/stl_vector.h(.gnu.linkonce.t.construct__H2Zt4pair2ZC6StringZP11trans_classZt4pair2ZC6StringZP11trans_class_PX01RCX11_v+0x14): undefined reference to `operator new(unsigned int, void *)' /usr/include/g++/stl_vector.h(.gnu.linkonce.t.construct__H2Zt4pair2ZC6StringZt8multimap4Z6StringZP11trans_classZt4less1Z6StringZt24__default_alloc_template2b1i0Zt4pair2ZC6StringZt8multimap4Z6StringZP11trans_classZt4less1Z6StringZt24__default_alloc_templat e2b1i0_PX01RCX11_v+0x14): undefined reference to `operator new(unsigned int, void *)' /usr/include/g++/stl_vector.h(.gnu.linkonce.t.construct__H2Z6StringZ6String_PX01RCX11_v+0x14): undefined reference to `operator new(unsigned int, void *)' /usr/include/g++/stl_vector.h(.gnu.linkonce.t.construct__H2ZiZi_PX01RCX11_v+0x14): undefined reference to `operator new(unsigned int, void *)' update-menus.o(.gnu.linkonce.t.construct__H2ZP7istreamZP7istream_PX01RCX11_v+0x14):/usr/include/g++/stl_vector.h: more undefined references to `operator new(unsigned int, void *)' follow make[1]: *** [update-menus] Error 1 Dave Broudy [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]