nanogui@linuxhacker.org
nanogui@linuxhacker.org
hello!
i work redhat7.0 and kernel-2.4.0-test10.
once i made shared library 'libmylib.so.1 and link libmylib.so,
mylib.h' by using arm-linux-gcc.
tried to build my test program with linking mylib.
]# make
arm-linux-gcc test1.c -I/path/to/mylib/include
arm-linux-gcc test2.c -I/path/to/mylib/include
arm-linux-gcc test3.c -I/path/to/mylib/include
arm-linux-ld -Bstatic -o test test1.o test2.o test3.o
-L/path/to/mylib/lib -lmylib
arm-linux-ld : cannot find -lmylib
building : failed
why can't find libmylib.so?
what i missing?
thank you!
nanogui@linuxhacker.org