Geting KDevelop to compile.
Kevin D.
linuxdigit at yahoo.com
Tue Jan 4 07:40:58 GMT 2000
I open a little c++ file named my_first_program.cpp it
go's like this.
#include <iostream.h>
main()
{
cout << "Hello There.";
return 0;
}
When I run I get this.c++ -O0 -g3 -pg -Wall -o
p_one it.o main.o
main.o: In function `main':
/home/digit/p_one/p_one/main.cpp:26: multiple
definition of `main'
it.o:/home/digit/p_one/p_one/it.cpp:20: first defined
here
/usr/bin/ld: Warning: size of symbol `main' changed
from 34 to 50 in main.o
collect2: ld returned 1 exit status
gmake: *** [p_one] Error 1
*** failed ***
What is the problem ware is it geting
it.o:/home/digit/p_one/p_one/it.cpp:20: first defined
here
Pleas help.. All I want to do is the lessions out of
my c++ book one at a time???
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com
More information about the KDevelop
mailing list