On 2010-01-17 10:06, Martin Storsjö wrote:
On Sun, 17 Jan 2010, Danny Backx wrote:
Note I also stumbled on an assembler I cannot solve immediately. Can
you ?
libavcodec/arm/dsputil_arm.S:711: Error: selected processor does not
support `bx lr'
IIRC, you need to configure ffmpeg with --cpu=armv4t for this arm assembly
to be supported.
// Martin
It didn't work with --cpu=armv4t either, so I did replace "bx lr" with
"mov pc, lr".
On 2010-01-16 17:34, Danny Backx wrote:
On Fri, 2010-01-15 at 13:35 +0100, David Sveningsson wrote:
Hi, sorry for crossposting this message, I don't know which list is most
suitable.
I am trying to compile the ffmpeg libraries for use on Windows Mobile
6.1 using minggw32ce that comes with cegcc. I've had some success but
the linker always fail with libavcodec and libswscale, even when using
minimalistic build-settings (disabling everything). The other dll's
works and is even loadable on the phone.
I tried your configure command and get errno problems. Did you get those
too ?
Yes, I got issues with both errno and signal, so I've got simple
replacements for them. I've forgot to mention them in the original mail.
The headers I used are the ones provided with cegcc but with the
mingw32ce include_next lines removed.
$ cat signal.c
#include "signal.h"
sighandler_t signal(int signum, sighandler_t handler){
// do nothing
}
$ cat errno.c
#include "errno.h"
#include <stdio.h>
static int __errno_int = 0;
_CRTIMP extern int * __cdecl _errno(void){
return &__errno_int;
}
char* strerror(int errnum){
return "<strerror not implemented>";
}
void perror(const char *s){
printf("%s: <perror not implemented>\n", s);
}
char* getenv(const char* varname){
return "";
}
$ svn diff Makefile
Index: Makefile
===================================================================
--- Makefile (revision 21223)
+++ Makefile (working copy)
@@ -67,9 +67,15 @@
ffplay_g$(EXESUF): FF_EXTRALIBS += $(SDL_LIBS)
ffserver_g$(EXESUF): FF_LDFLAGS += $(FFSERVERLDFLAGS)
-%_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS)
- $(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o $(FF_EXTRALIBS)
+errno.o: errno.c
+ ${CC} -c -o errno.o errno.c
+signal.o: signal.c
+ ${CC} -c -o signal.o signal.c
+
+%_g$(EXESUF): %.o cmdutils.o $(FF_DEP_LIBS) errno.o signal.o
+ $(LD) $(FF_LDFLAGS) -o $@ $< cmdutils.o errno.o signal.o
$(FF_EXTRALIBS)
+
tools/%$(EXESUF): tools/%.o
$(LD) $(FF_LDFLAGS) -o $@ $< $(FF_EXTRALIBS)
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user