🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.kylix.language.cpp
1 messages
1 total messages Started by joseph yen Fri, 19 Nov 2004 13:40
kylix3 wouldn't compile a DOS C++ code
#22
Author: joseph yen
Date: Fri, 19 Nov 2004 13:40
22 lines
2436 bytes
Hi,

I have a C++ code developed in Borland C++ builder 5.5 on a Windows XP PC. The code performs engineering calculations without using windows functions or graphics. I would like to port it to Redhat (7.3) linux machine. When compiled by Kylix3(open edition) in the command line environment, I saw the following error.

Any help/comment/question/ will be greatly appreciated.

PS: I was advised to post this question here again (originally in a less related newsgroup) by Ed Mulroy. Thanks for his advice.

================================================
[yenjc@linux2 2D]$ 
[yenjc@linux2 2D]$ bc++ +bcc32.cfg 2dcese_nondecoup_v_testing.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 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads