Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-18-2004, 06:04 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
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
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 Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware Switch; Linux and Windows; Linux Wins!! AvePtah Member Success Stories 5 11-25-2006 05:10 PM
Kylix 3 Code Completion error J3N7iL Linux - Software 0 11-23-2005 07:19 PM
I can't compile c++ code with g++ malb Programming 5 07-25-2005 06:54 PM
Kylix doesnt compile pthreads alichan Linux - Software 0 06-24-2003 02:18 PM
Logging on to WINS with Linux AnyoneEB Linux - Networking 2 06-10-2002 11:05 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration