On 2012-07-19 at 01:29:39 [+0200], Giovanni Mugnai <musical777@xxxxxxxxx> wrote: > on my system i have a bunch of *.proj files of BeOS/Haiku applications. > Some works, some doesn't work, others need to be updated. > > But in 99% of cases i always get the same error: > > /boot/develop/lib/x86/start_dyn.o: In function `_start': > start_dyn.c:(.text+0x57): undefined reference to `main' > collect2: ld returned 1 exit status > > Why? I miss something? According to the linker you're missing a main() function. Without more information about what you're actually building (a library or a program) and the exact linker line little else can be said. BTW, there's a haiku-3rdparty-dev list which is more suitable for this kind of discussion. CU, Ingo