How to link a shared lib to busybox
holylight84
holylight84 at 163.com
Mon Nov 3 07:39:00 UTC 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20081103/e735a85c/attachment-0001.htm
More information about the busybox
mailing list