[Ffmpeg-devel] Recent change in configure causes error messag e in MSys/MinGW

Zuxy Meng zuxy.meng
Tue Apr 3 14:32:40 CEST 2007


Hi,

2007/4/3, Klaas-Pieter Vlieg <vlieg at eurescom.eu>:
> > From: Diego Biurrun [mailto:diego at biurrun.de]
> > Sent: 03 April 2007 13:23
> >
> > On Mon, Apr 02, 2007 at 04:04:02PM +0200, Klaas-Pieter Vlieg wrote:
> > >
> > > No, the problem is there in current svn.
> >
> > Great, with that amount of detail, any remaining problems
> > will surely get fixed within this decade.
> >
> > Diego
> >
> Sorry, I didn't follow the entire discussion and I am not sure what exactly you fixed.
>
> Anyhow the "pls tell M$ dialog" appears right after the following message in the console:
> WARNING: The following test might cause a testapp to crash (intentionally)
> resulting in the appearance of a dialog box. Please click "Don't send" and
> ignore it.
>
> So it seems Msys/MinGW users, at least for now, just have to live with it.

Try this patch.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
Index: configure
===================================================================
--- configure	?????? 8605??
+++ configure	????????????
@@ -1412,8 +1412,14 @@
     # if the base pointer is used to access it because the
     # base pointer is cleared in the inline assembly code.
     (check_exec) <<EOF >>$logfile 2>&1 && enable ebp_available
+#include <stdlib.h>
+#include <signal.h>
+static void sighandler(int x){
+    exit(1);
+}
 int main(){
     volatile int i=0;
+    signal(SIGSEGV, sighandler);
     asm volatile (
         "xorl %%ebp, %%ebp"
     ::: "%ebp");
@@ -1423,7 +1429,13 @@
 
     # check wether EBX is available on x86
     check_cc <<EOF && enable ebx_available
+#include <stdlib.h>
+#include <signal.h>
+static void sighandler(int x){
+    exit(1);
+}
 int main(){
+    signal(SIGSEGV, sighandler);
     asm volatile ("":::"%ebx");
 }
 EOF



More information about the ffmpeg-devel mailing list