please check if ldd can show your lib. if not the path are not correcly updated.

re,
 wh


holylight84 schrieb:
>  
>  
>  hello, I'v made a shared lib to add some function to busybox , but how can I 
> link it to busybox . I add LDFLAGS options like 
> "-L/home/shark/svnroot/usr/lib -lmyfunc" after "make" but it return me an 
> error that : /bin/ld: cannot find -lmyfunc . and  I'm sure that the lib path 
> is right .  
>  
> ps: can anyone tell me what's the -r option meaning in gcc , when I cancel 
> this option gcc can link through and returns not "cannot find -lmyfunc" error 
> but other errors  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> busybox mailing list
> [email protected]
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to