couldn't compile wins c++ code using Kylix on linux
I couldn't compile a windows XP-based c++ code, developed by Borland 5.5.1 c++ builder, on (redhat 7.3) linux using Borland Kylix (command line). The code perform engineering calculations and does not apply graphics or windows functions. I saw the following error message during the code compilation.
Thanks a lot for help.
================================================
[yenjc@linux2 2D]$
[yenjc@linux2 2D]$ bc++ +bcc32.cfg test.cpp
Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland
test.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
|