How to link a shared lib to busybox

walter harms wharms at bfs.de
Mon Nov 3 02:15:14 PST 2008



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
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox


More information about the busybox mailing list