problem while 'make'

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Mon Feb 28 09:55:23 GMT 2005


On Monday 28 February 2005 09:31, Muhammad Rizwan Khan wrote:
> Hello!
>
> I guess this is setting related issue.
> I am writtin some C++ code in kdevelop 2.1.5. Every file is compiling
> successfully. But when i go to make the project, it gives me following
> error message.
>
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o(.text+0x18): In
>
> function `_start':
> : undefined reference to `main'
>
> collect2: ld returned 1 exit status
> gmake[2]: *** [trackinfo] Error 1
>
> I dont want to add main function for this project, I 'll generate .so
> for the objects of this project. Now what i have to do to avoid this
> error message.
You need to change the target type to library.
But I do not remember how to do it :( sorry, KDevelop 2.1.5 is very old.
Haven't worked with it in ages.

KDevelop 3.2.0 RC1 was released 2 days ago.

Regards,
-- 
Amilcar Lucas
Current webmaster
The KDevelop project

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list