🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.kylix.language.cpp
Article #22

kylix3 wouldn't compile a DOS C++ code

#22
From: 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 
Technical Details
Message-ID: <419e05c8$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10ed86,ab1d1c887de090a3,start
X-Google-Attributes: gid10ed86,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "joseph yen" <yenjc@sverdrup.com>
Sender: "joseph yen" <yenjc@sverdrup.com>
Reply-To: "joseph yen" <yenjc@sverdrup.com>
Subject: kylix3 wouldn't compile a DOS C++ code
Newsgroups: borland.public.kylix.language.cpp
X-User-Info: 168.88.224.125     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <419e05c8$2@newsgroups.borland.com>
Date: 19 Nov 2004 06:40:08 -0700
X-Trace: newsgroups.borland.com 1100875208 207.105.83.66 (19 Nov 2004 06:40:08 -0700)
Lines: 24
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail