Welcome to the most active Linux Forum on the web.
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 01-29-2004, 08:55 PM   #1
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Borland C++BuilderX error.

If I compile one of the sample projects that comes with it, no problem. But when I try to compile my own project, these are the errors I get.

"exception": /usr/include/c++/3.2.3/exception multiple definition of 'main' at line 53

linux/Debug_Build/home/njbrain/Documents/cpp/Conversion2.o(.text+0x0):/usr/include/c++/3.2.3/exception first defined here

/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: Warning: size of symbol 'main' changed from 145 in linux/Debug_build/home/njbrain/Documents/cpp/Conversion2.o to 136 in linux/Debug_Build/main.o
collect2: ld returned 1 exit status

GNU C++ Linker exited with error code: 1

Build cancelled due to error

Thanks, Noah


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
Borland C++ for Linux gagan_mishra Linux - Newbie 4 03-14-2005 02:59 PM
Oracle ProC toolset in BuilderX? deanbrown3d Linux - Software 0 07-19-2004 01:36 PM
C++BuilderX sucks????? melinda_sayang Programming 1 05-02-2004 01:13 PM
borland interbase???? maseby Programming 1 02-16-2004 10:58 AM
borland help (windows) petercool Programming 1 07-14-2002 02:23 PM

All times are GMT -5. The time now is 09:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration