nanogui@linuxhacker.org
nanogui@linuxhacker.org
On Thu, 14 Dec 2000, Ysuk Chung wrote:
> once i made shared library 'libmylib.so.1 and link libmylib.so,
> arm-linux-ld -Bstatic -o test test1.o test2.o test3.o
> -L/path/to/mylib/lib -lmylib
You're trying to link a shared library statically. You'll need to make a
static version of your library (generated by using ar to archive the .o
files together into a .a file) or remove the -Bstatic flag from your ld
invocation. BTW, it's generally bad practise to call ld directly when
building a user space program- let gcc do it for you.
--
------- Alex Holden -------
http://www.linuxhacker.org/
http://www.robogeeks.org/
nanogui@linuxhacker.org