Understood .

My linux box is "Linux machine 2.6.31-19-generic #56-Ubuntu SMP Thu Jan
28 01:26:53 UTC 2010 i686"

and I am doing a cross compilation for my target like this:

make CROSS_COMPILE=/usr/local/arc.4.2.1/sk885x-2.6/arc-linux-uclibc/bin/

and I found that there is a bunch of libraries at :

/usr/local/arc.4.2.1/sk885x-2.6/arc-linux-uclibc/lib

Now the question is how do I make my MAKEFILE read the libraries from
this location?

Thanks in advance
Murali


On Thu, 2010-03-18 at 09:55 +0100, walter harms wrote:
> 
> Murali K. Vemuri schrieb:
> > Hi there,
> > 
> > I am using busybox 1.15.3 and when I enabled "inotifyd" in my config, I
> > am getting the following linking error:
> > /usr/local/arc.4.2.1/sk885x-2.6/lib/gcc/arc-linux-uclibc/4.2.1/../../../../arc-linux-uclibc/bin/ld:
> >  Warning: gc-sections option ignored
> > miscutils/lib.a(inotifyd.o): In function `inotifyd_main':
> > inotifyd.c:(.text.inotifyd_main+0x20): undefined reference to
> > `inotify_init'
> > inotifyd.c:(.text.inotifyd_main+0x7c): undefined reference to
> > `inotify_add_watch'
> > inotifyd.c:(.text.inotifyd_main+0x1d4): undefined reference to
> > `inotify_rm_watch'
> > collect2: ld returned 1 exit status
> > 
> > 
> > am I missing something?
> 
> inotify_init() at friends are provided by the kernel see:
> sys/inotify.h
> man 2 inotify_init
> man 7 inotify
> 
> according to the man pages you need at least: Linux 2.6.13
> 
> re,
>  wh
> 
> 
> 

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to