Radu Poenaru wrote:
> 
> Hi ! I've managed to compile a new set of DLLs using 0.50 under Linux.  
> 
> Now I get 2 missing references durring linkage:
>       One to _ftime and one to _lseeki64 .
> 
> Both of these are defined in platform specific .h files, so I am pretty sure
> they are not part of FFmpeg.
> 

The filenames would have been useful.  Urls into the svn sources, or the
offending code pasted here would be even better.  Please try providing more
info when you post questions, so we don't have to keep guessing.

Now, I'm guessing lseek64 is being used.  It is a wrapper around _lseeki64.

#ifndef __NO_MINGW_LFS
__CRT_INLINE off64_t lseek64 (int fd, off64_t offset, int whence)
{
   return _lseeki64(fd, (__int64) offset, whence);
}
#endif

Look at the code, and tweak it so it doesn't use the -64 variants
on Windows CE.

( Perhaps adding __NO_MINGW_LFS to CFLAGS would be enough.
   (Perhaps we should disable these functions unconditionally on WinCE.) )

There is no ftime/_ftime in WinCE, and we don't have it implemented in
libmingwex.a either.  Opengroup states that for portability we should
use time instead of ftime.  Take a look at the sources, and probably
there is already some ifdef for platforms that have ftime but not time,
and vice-versa.


> Am I missing some extra lib that I need to manually include maybe?
> 

No.

Cheers,
Pedro Alves




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to