make[1]: Entering directory `/root/ffmpeg/libavformat'
/usr/ppc/arm-wince-cegcc/bin/gcc -shared
-Wl,--output-def,avformat-51.def,--out-implib,libavformat.dll.a
-Wl,--enable-runtime-pseudo-reloc -Wl,--warn-common -Wl,--as-needed
-Wl,-rpath-link,"/root/ffmpeg"/libavcodec
-Wl,-rpath-link,"/root/ffmpeg"/libavformat
-Wl,-rpath-link,"/root/ffmpeg"/libavutil -o avformat-51.dll utils.o
cutils.o os_support.o allformats.o framehook.o avio.o aviobuf.o raw.o
-L"/root/ffmpeg"/libavutil -lavutil -lavcodec
-L"/root/ffmpeg"/libavcodec -lm /usr/ppc/arm-wince-cegcc/lib/libmmtimer.a
That worked :)
Thanks
Danny Backx wrote:
> I've attached /opt/cegcc/arm-wince-cegcc/lib/libmmtimer.a .
> Please install it on your system, change the compile command to link
> with this library, and let me know whether this works.
>
> Danny
>
> On Mon, 2007-01-15 at 16:06 +0000, Cool_Zer0 wrote:
>
>> Hi there,
>>
>> Looks like CeGcc doesn't know what timeGetTime() is...
>>
>> ffmpeg contains this piece of code:
>>
>>
>> #if defined(CONFIG_WINCE)
>> /* Skip includes on WinCE. */
>> #elif defined(__MINGW32__)
>> #include <sys/types.h>
>> #include <sys/timeb.h>
>> #elif defined(CONFIG_OS2)
>> #include <string.h>
>> #include <sys/time.h>
>> #else
>> #include <unistd.h>
>> #include <fcntl.h>
>> #include <sys/time.h>
>> #endif
>> #include <time.h>
>>
>> (...)
>>
>> /**
>> * gets the current time in micro seconds.
>> */
>> int64_t av_gettime(void)
>> {
>> #if defined(CONFIG_WINCE)
>> return timeGetTime() * INT64_C(1000);
>> #elif defined(__MINGW32__)
>> struct timeb tb;
>> _ftime(&tb);
>> return ((int64_t)tb.time * INT64_C(1000) + (int64_t)tb.millitm) *
>> INT64_C(1000);
>> #else
>> struct timeval tv;
>> gettimeofday(&tv,NULL);
>> return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
>> #endif
>>
>>
>> When compiling...
>> os_support.o: In function `av_gettime':
>> /root/ffmpeg/libavformat/os_support.c:45: undefined reference to
>> `timeGetTime'
>> collect2: ld returned 1 exit status
>>
>>
>> Any suggestions?
>>
>> Thanks
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________ Cegcc-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
>>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel