Re: system call stub generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
 


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux