Hi All,
I am getting undefined reference when building with LDFLAGS="-Wl,--no-undefined".
function `H264VDEC_TI_parsePartialSlcHdr':
h264vdec_ti_hdrparser.c:(.text+0x5bf0): undefined reference to `stdout'
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
I am getting undefined reference when building with LDFLAGS="-Wl,--no-undefined".
function `H264VDEC_TI_parsePartialSlcHdr':
h264vdec_ti_hdrparser.c:(.text+0x5bf0): undefined reference to `stdout'
Ashwani,
Which TI platform are you working with?
Thanks,
Darren
I am working on dm365 and using dvsdk_3_10_00_19, dm365_codecs_03_10_00_07.
I am getting undefined reference error while building the dm365 h264 dec.
function `H264VDEC_TI_parsePartialSlcHdr':
h264vdec_ti_hdrparser.c:(.text+0x5bf0): undefined reference to `stdout'
please help me to sort out this problem.
Ashwani,
Assuming you are working with Android because you posted the same question in the MM Codec Forum but don't mention anywhere that you are building for Android.
The most likely problem you are facing is because you are using a hardware accelerated codec that is built using the Linux toolchain and trying to link this into an Android build. The Android toolchain and userspace environment are different to standard Linux, in part, due to the replacement of glibc with Bionic, therefore what you are trying to do is not possible without rebuilding the DM365 codec with the Android toolchain. The Rowboat project and the TI Android Devkits are focused around the OMAP3/Sitara family of devices and not DM365 - therefore we do not have the DM365 hardware codecs ported to Android at this time.
One of our Android/codec partners could do this port for you - I would recommend you contact your local TI sales representative to find the right third party contact in your region.
Thanks,
Darren
Ashwani,
Best source to see how codecs are integrated is to look at http://gstreamer.ti.com or http://www.arowboat.org all the information we have is at those locations.
Darren
Thanks Darren.
The 'stdout' problem has been solved in H.264 Decoder, Version 2.00.00.11(new release).
Ashwani,
Thanks for letting me know, this is good news. The codecs quite possibly don't use any libc functions in which case you are getting away without rebuilding them with the Android toolchain. In this case the codec was making a call to fflush(stdout) which was causing a dependency on libc.
Darren