Well, I followed the instructions in GSG: DVEVM Software Setup for DM3ss Platforms thant told me to download linuxlibs-####.##-armv5te.tar.gz and then said:
- Unpack the PSP pre-compiled Linux libraries package as follows. It puts the library headers in linuxlibs-####.##-armv5te/include directory and pre-compiled libraries in linuxlibs-####.##-armv5te/lib directory.
host $ tar -xzf linuxlibs-####.##-armv5te.tar.gz -C /home/user/dvsdk
And sure enough, there is a linuxlibs-####.##-armv5te (linuxlibs-2009.11-armv5te) under my $HOME/dvsdk firectory.
And then I did:
-
- Make sure LINUXLIBS_INSTALL_DIR points to the extracted PSP pre-compiled Libraries.
LINUXLIBS_INSTALL_DIR=/home/user/dvsdk/linuxlibs-####.##-armv5te
All well and good.
Then I stumbled across Community Linux DVEVM Software Setup that has different build instructions
including downloading arago-2009.09-armv5te-linux-gnueabi-sdk.tar.gz,
and these instructions:
4) Unpack the Linux SDK
host $ tar -xzf arago-2009.09-armv5te-linux-gnueabi-sdk.tar.gz -C /home/user/dvsdk
It creates SDK in /home/user/dvsdk/opt/arago-2009.09 directory. The path to the Linux libraries is /home/user/dvsdk/opt/arago-2009.09/arago-armv5te-linux-gnueabi-sdk/arm-none-linux-gnueabi/usr.
OK. It also says:
And LINUXLIBS_INSTALL_DIR points to the extracted SDK
LINUXLIBS_INSTALL_DIR=/home/user/dvsdk/opt/arago-2009.09/arm-none-linux-gnueabi/usr
Well, which do I use? I went with LINUXLIBS_INSTALL_DIR=/home/user/dvsdk/linuxlibs-####.##-armv5te
Now, I go to add Gstreamer to my build (DVSDK 3.10). Following the instructions in
https://gstreamer.ti.com/gf/project/gstreamer_ti/scmsvn/?action=browse&path=/trunk/gstreamer_ti/README.TXT&view=markup
I got down to: make all install VERBOSE=true and it failed. I changed to
LINUXLIBS_INSTALL_DIR=/home/user/dvsdk/opt/arago-2009.09/arm-none-linux-gnueabi/usr
and got the same error:
*** You must first install zlib (libz) before you can build this package.
*** If zlib is already installed, you may need to use the CPPFLAGS
*** environment variable to specify its installed location, e.g. -I<dir>.
I found a forum posting at http://e2e.ti.com/support/embedded/f/354/p/36411/170102.aspx
that suggests I need the second setting for LINUXLIBS.
When I do a locate libz I get this (and a lot more):
/home/wmiller/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/jre/lib/i386/libzip.so
/home/wmiller/dvsdk/linuxlibs-2009.11-armv5te/lib/libz.la
/home/wmiller/dvsdk/linuxlibs-2009.11-armv5te/lib/libz.so
/home/wmiller/dvsdk/linuxlibs-2009.11-armv5te/lib/libz.so.1
/home/wmiller/dvsdk/linuxlibs-2009.11-armv5te/lib/libz.so.1.2.3
/home/wmiller/workdir/filesys/usr/lib/libz.so.1
/home/wmiller/workdir/filesys/usr/lib/libz.so.1.2.3
So, what is the right thing to do? Which INUXLIBS should I be using? Is the idea to
overlay the two PSPs?
Thanks for any help!
Wes
)