Erik van Pienbroek wrote: > To generate cegcc-compatible import libraries I first altered the > .def's by prepending a rule to the file like 'LIBRARY "avcodec-51.dll"' > Can you explain better what you've done?
> and after that I used this command : > > arm-wince-cegcc-dlltool -d avcodec-51.def -l avcodec-51.a > arm-wince-cegcc-dlltool -d avutil-49.def -l avutil-49.a > Hummmmm... Where did you get avcodec-51.a and avutil-49.a? I didn't send them to you... Maybe this .a's aren't the most accurate... And when you compile ffmpeg to create shared library it doesn't create .a files... > (sidenote: the arm-wince-cegcc-dlltool isn't installed by default.. > I've hacked around in binutils so that this program gets generated) > Can you tell how? > Anyway, I can compile these 2 test applications with cegcc, but only > one of these two work successfully on my PDA..only the application > which uses avutil-49.dll works. The other applicaties gives the > 'not a valid PocketPC application' error. > > After investigating the failed testapplication with Dependency Walker > I found out that avcodec-51.dll has an reference to avutil-49.dll. > Yes.. I've check that too... It seems normal... Besides... There is a order on the compiling process: libavutil->libavcodec->libavformat... > This isn't a problem normally, but there is something fishy going on.. > I think the same... > avcodec-51.dll tries to pull in some functions from cegcc.dll > while these functions are part of avutil-49.dll. > > I don't know if the avcodec-51.dll hasn't been compiled 'the right way' > or if this is a bug in cegcc, but Pedro and Danny could probably > help you further with that. > > I've compiled FFMpeg with this setup: ./configure --cross-compile --cross-prefix=/usr/ppc/arm-wince-cegcc/bin/ --arch=armv4l --disable-static --enable-shared --enable-mingwce --disable-ipv6 --prefix=/usr/local/wince --log=yes --disable-encoders --disable-decoders --disable-parsers --disable-muxers --disable-demuxers --enable-parser=h263 --enable-encoder=h263 --enable-decoder=h263 --enable-muxer=h263 --enable-demuxer=h263 --disable-ffserver --disable-ffplay --disable-ffmpeg --disable-network Let's wait to see what Pedro and Danny have to say... We can't forget that maybe the problem is on ffmpeg... > You might want to test if you can use the avutil-49.dll from Visual C++. > It should work (as long as you stay away from avcodec-51.dll). > I'll try it tomorrows at about 9am (GMT time) and the I notify the mailing list. > Good luck! > > Thanks :) I'll need it... Regards, Nuno ------------------------------------------------------------------------- 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 Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel