27
Once you have created the above directory structure in your target system (SBC), please
follow the next set of instructions very carefully as they explain exactly which files are
transferred.
• Transfer the contents of \root\pwlib\lib\obj_linux_x86_r\ to your target system in
the same location
• Transfer the file libpt_linux_x86_r.so.1.1.18 from \root\pwlib\lib\ to the same
directory on the target system.
• Once you do that we will create some links that were present in the
\root\pwlib\lib\ directory. Using the “ln” command create the following links:
o “ln –s \root\pwlib\lib\libpt_linux_x86_r.so.1.1.18 libpt_linux_x86_r.so”
o “ln –s \root\pwlib\lib\libpt_linux_x86_r.so.1.1.18 libpt_linux_x86_r.so.1”
o “ln –s \root\pwlib\lib\libpt_linux_x86_r.so.1.1.18
libpt_linux_x86_r.so.1.1”
• Transfer the contents of \root\openh323\lib\obj_linux_x86_r\ to your target
system in the same location
• Transfer the file libh323_linux_x86_r.so.1.1.0 from \root\openh323\lib\ to your
target system in the same location
• Once you do that we will create some links that were present in the
\root\openh323\lib\ directory. Using the “ln” command create the following links:
o “ln –s \root\openh323\lib\libh323_linux_x86_r.so.1.1.0
libh323_linux_x86_r.so”
o “ln –s \root\openh323\lib\libh323_linux_x86_r.so.1.1.0
libh323_linux_x86_r.so.1”
o “ln –s \root\openh323\lib\libh323_linux_x86_r.so.1.1.0
libh323_linux_x86_r.so.1.1”
• After this you need to move the executable simph323 from
\root\openh323\samples\simples\obj_linux_x86_r\ to your target system in the
same location.
• Please remember to maintain the same permissions on the file when you move
files from development to target system.
• You need another C library that you need to transfer from the development
system to the target system. The library is in /usr/lib/ and is called “libstdc++-2-
libc6.1-1-2.9.0.so”. You need to put this file in the same location (/usr/lib/) on the
target system. After that create the following link:
o “ln –s /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so libstdc++-libc6.1-1.so.2”
4.4 Adding environment variables
Add the following lines in your boot scripts (.cshrc) for the development system and
(.bashrc) for the target system.
PWLIB=$HOME/pwlib
export PWLIBDIR
OPENH323DIR=$HOME/openh323
Kommentare zu diesen Handbüchern