Subj : couldn't compile windows c++ code to Kylix on linux To : borland.public.cpp.borlandcpp From : joseph yen Date : Thu Nov 18 2004 03:32 pm Hi, Can some one please help me with a c++ compilation problem? Thanks in advance. I could not compile a c++ code (developed on windows using Borland c++ 5.5.1) on a redhat 7.3 linux machine using Kylix3 (command line). The code performs engineering calculation and does not use any graphics or windows functions. When the code compiled on a linux machine, I saw the following error message. ================================================ [yenjc@linux2 2D]$ [yenjc@linux2 2D]$ bc++ +bcc32.cfg test.cpp Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland 2dcese_nondecoup_v_testing.cpp: Error E2268 /usr/local/kylix3/include/stlport/stl/_alloc.h 181: Call to undefined function '__stl_new' in function __new_alloc::allocate(unsigned int) Error E2034 /usr/local/kylix3/include/stlport/stl/_alloc.h 181: Cannot convert 'int' to 'void *' in function __new_alloc::allocate(unsigned int) Error E2268 /usr/local/kylix3/include/stlport/stl/_alloc.h 184: Call to undefined function '__stl_delete' in function __new_alloc::deallocate(void *,unsigned int) *** 3 errors in Compile *** [yenjc@linux2 2D]$ ======================================= The content of bcc32.cfg is -I/usr/local/kylix3/include:/usr/local/kylix3/include/stlport:/usr/local/kylix3/include/vcl:/usr/include -L/usr/local/kylix3/lib/obj:/usr/local/kylix3/lib:/usr/lib:/lib:/usr/X11R6/lib:/usr/local/kylix3/bin .