Hi,

I tried to update the png library to the v1.4(latest from libpng). However 
after updating this when I tried to rebuild the dvsdk the libmpeg4enc.a is not 
linking. I did a diff and found that the math.h related operations are removed 
from the latest pnglibrary(which Im not able to reason out - separately).

Now since the code libraries are dependent on the math.h why is it include 
through the libpng shared object instead of directly from libmpeg4.a

Is there a way the libmpeg4.a could be locally rebuilt?
**********
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib/libpng.
                                              so: undefined reference to `pow'
************** 
Rest of dump:
************** 

/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt.o)(.text+0x30): In function 
`MP4VENC_                                              TI_DM350_calc_d0':
mp4venc_rate_cnt.c: undefined reference to `floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt.o)(.text+0xa0): In function 
`MP4VENC_                                              TI_DM350_calc_r':
mp4venc_rate_cnt.c: undefined reference to `floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt.o)(.text+0xe4): In function 
`MP4VENC_                                              TI_DM350_calc_Xi':
mp4venc_rate_cnt.c: undefined reference to `floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt.o)(.text+0x134): In function 
`MP4VENC                                              _TI_DM350_calc_Xp':
mp4venc_rate_cnt.c: undefined reference to `floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt.o)(.text+0x1cc): In function 
`MP4VENC                                              _TI_DM350_calc_T':
mp4venc_rate_cnt.c: undefined reference to `floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt.o)(.text+0x21c):mp4venc_rate_cnt.c: 
m                                              ore undefined references to 
`floor' follow
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt_init.o)(.text+0xc4): In function 
`MP4                                              VENC_TI_DM350_rc_init_seq':
mp4venc_rate_cnt_init.c: undefined reference to `ceil'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt_init.o)(.text+0x104):mp4venc_rate_cnt
                                              _init.c: undefined reference to 
`floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt_init.o)(.text+0x13c):mp4venc_rate_cnt
                                              _init.c: undefined reference to 
`floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt_init.o)(.text+0x174):mp4venc_rate_cnt
                                              _init.c: undefined reference to 
`floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt_init.o)(.text+0x200): In function 
`MP                                              4VENC_TI_DM350_rc_init_GOP':
mp4venc_rate_cnt_init.c: undefined reference to `floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt_init.o)(.text+0x274): In function 
`MP                                              4VENC_TI_DM350_rc_init_pict':
mp4venc_rate_cnt_init.c: undefined reference to `floor'
/home/avalon/dvsdk_1_30_00_40/dm355_codecs_1_13_000/packages/ti/sdo/codecs/mpeg4
                                              
enc/dm355/lib/libmp4enc.a(mp4venc_rate_cnt_init.o)(.text+0x2dc):mp4venc_rate_cnt
                                              _init.c: more undefined 
references to `floor' follow
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../target/usr/lib/libpng.
                                              so: undefined reference to `pow' 
 
Cheers,
Deepak Shankar V

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to