LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Borland C++BuilderX error. (https://www.linuxquestions.org/questions/linux-software-2/borland-c-builderx-error-140190/)

njbrain 01-29-2004 08:55 PM

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


All times are GMT -5. The time now is 10:35 PM.