On 10/9/05, Nitin Kanaskar <nitinvk04@xxxxxxxxx> wrote:
.....
on compiling the above, im getting foll. error -
/usr/lib/crt1.o:In function '_start'
/usr/lib/crt1.o(.text_ox18): undefined reference to 'main'
collect2: ld returned 1 exit status
Anybody knows what this means?
Nitin
It seems that Your application does not have main() function.
or
Don't put a semi colon at the end of _syscall0(). Because the macro expands to a function
and it becomes
long test(void)
{
...
};
regards
Manish Regmi