Success! Subscription added.
Success! Subscription removed.
Sorry, you must verify to complete this action. Please click the verification link in your email. You may re-send via your profile.
Download from SourceForge: http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.0.tar.gz
tar zxf mpeg2dec-0.4.0.tar.gz
cd mpeg2dec-0.4.0
zcat mpeg2dec.diff.gz | patch -p0
LDFLAGS="-elf2flt" ./configure --host=nios2-linux-uclibc --disable-sdl --disable-accel-detect --disable-shared --prefix=/opt/nios2
make clean
FLTFLAGS="-s 8192" make
sudo make install
The libs will be installed to /opt/nios2/lib, headers in /opt/nios2/include, and executables (*mpeg2*) in /opt/nios2/bin .
You should copy the executables to your rootfs, eg, ~/uClinux-dist-test/romfs/bin .
(how to enable sudo : enable wheel group in sudoers and add yourself to group wheel, so that you can use sudo command to install the tools.
as root, run visudo,
# Uncomment to allow people in group wheel to run all commands
%wheel ALL=(ALL) ALL
save file with ESC :wq
Edit /etc/group, and add yourself to wheel group
wheel:x:10:root,hippo
)
Community support is provided Monday to Friday. Other contact methods are available here.
Intel does not verify all solutions, including but not limited to any file transfers that may appear in this community. Accordingly, Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.
For more complete information about compiler optimizations, see our Optimization Notice.