2011-07-19 06:00:13     inotify error

Document created by Aaronwu Employee on Oct 16, 2013
Version 1Show Document
  • View in full screen mode

2011-07-19 06:00:13     inotify error

Shyam sundar (INDIA)

Message: 102525   

 

Hello world,

 

When I am trying to add the inotify api in my application and compile the code I am getting the following error

 

/home/shyam/Desktop/uclinux_source/build/bfin-uclinux/bfin-uclinux/runtime/usr/lib/crt1.o: In function `__start':

libc/sysdeps/linux/bfin/crt1.S:145: undefined reference to `_main'

libc/sysdeps/linux/bfin/crt1.S:146: undefined reference to `_main'

collect2: ld returned 1 exit status

 

When I executed the following command

 

bfin-uclinux-gcc -v 2>&1 | tail -1

 

gcc version 4.3.5 (ADI/svn-4960)

QuoteReplyEditDelete

 

 

2011-07-19 08:02:36     Re: inotify error

Jie Zhang (UNITED STATES)

Message: 102530   

 

Your application does not have a main function?

QuoteReplyEditDelete

 

 

2011-07-19 08:47:03     Re: inotify error

Stuart Henderson (UNITED KINGDOM)

Message: 102533   

 

have you accidentally omitted your command line?

 

or are you saying you get the shown error when you run:

bfin-uclinux-gcc -v 2>&1 | tail -1

?

 

Stu

QuoteReplyEditDelete

 

 

2011-07-19 09:30:09     Re: inotify error

Shyam sundar (INDIA)

Message: 102534   

 

Dont know what was the error, now it got compiled

 

bfin-uclinux-gcc -v 2>&1 | tail -1 was the command I ran to get the toolchain info and has nothing to do with compiling the user application !

QuoteReplyEditDelete

Attachments

    Outcomes