Deepak Shankar-ERS,HCLTech. wrote:
> 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/code
cs/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'

Looks like you need to link against the math library libm, is "-lm" in
your CFLAGS?

If that doesn't help please paste the compiler command line which is
failing (you may need to turn on verbose output with a switch, maybe
V=1)

-- 
Jon Povey
jon.po...@racelogic.co.uk

 
Racelogic is a limited company registered in England. Registered number 2743719 
. 
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .
The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to