about rohc *.so or *.a library
hello Didier:
I am back and want to get some help,thanks ~~
I want to make the rohc library to *.so or *.a library, now I meet some matters.
1、 about *.so library
I build rohc library on my redhat6.2,and test the *.so (in /usr/lib directroy)library is ok .then I copy librohc_
gcc test.c - o test -L/root/
error is:
collect2: ld returnd 1 exit status
then ,I copy the *.so files to the /lib or the /usr/lib ,and insert the *.so paths to ld.so.conf so on, the error is same .
2、about the *.a library
In redhat6.2 the three directroys(
ar -rc libcommon.a lib*.lo *.lo ....
ar -rc libcomp.a lib*.lo *.lo ....
ar -rc libdecomp.a lib*.lo ....
then build libcommon.a libcomp.a libdecomp.a
I test the *.a library:
gcc test.c - o test -L/root/
error:
libcommon.
collect2: ld returnd 1 exit status
thank Didier very much~~
Regards,
sleepswallow
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- rohc Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: