delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/20/08:38:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49EC6F24.1080302@gmail.com>
Date: Mon, 20 Apr 2009 13:48:36 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: BFD 2.17.50 20061004 assertion fail
References: <15391327 DOT 1453331240210213643 DOT JavaMail DOT servlet AT kundenserver>
In-Reply-To: <15391327.1453331240210213643.JavaMail.servlet@kundenserver>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

info AT torsten-klinger wrote:

> when iam try to compile ffmpeg for wince with cegcc under cygwin i get this
> error:

> ove_extradata_bsf.o libavcodec/armv4l/dsputil_arm.o
> libavcodec/armv4l/mpegvideo_ arm.o libavcodec/armv4l/jrevdct_arm.o
> libavcodec/armv4l/simple_idct_arm.o libavc odec/armv4l/dsputil_arm_s.o
> libavutil/libavutil.so -lavutil -lm
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  This looks incorrect, listing the library both by its full path and as a -l
option will cause these multiple definition errors, but I can't guess how the
Makefile got that way; is there an ffmpeg group to ask about this?  Hmm, I
googled for "ffpmeg libavutil multiple definitions", and found a link:

http://www.mail-archive.com/libav-user AT mplayerhq DOT hu/msg01661.html

that suggests you have to make sure your mingw runtime is up-to-date, and
(other post in same thread) that you might want to try adding
"--enable-shared" to your configure line.  Beyond that, I dunno, you'll have
to take it up on a suitable ffpmeg mailing list.

> 7 [main] ld 5096 _cygtls::handle_exceptions: Error while dumping state
> (probably corrupted stack)
> collect2: ld terminated with signal 11 [Segmentation fault], core dumped 
> libavutil/libavutil.so: In function `DllMainCRTStartup':
> /cygdrive/e/pedro/cegcc/0.50/src/mingw/dllcrt1.c:60: multiple definition of
> `Dll MainCRTStartup'
> /opt/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce
>  /lib/dllcrt3.o:/cygdrive/e/pedro/cegcc/0.50/src/mingw/dllcrt1.c:60: first
> defined here
> /opt/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce
>  /bin/ld: BFD 2.17.50 20061004 assertion fail
> /cygdrive/e/pedro/cegcc/0.50/src/binutils/bfd/coff-arm.c:2040

> What iam doing wrong? Is this a bug in ffmpeg, cygwin, cegcc or ld???

  Well, it's definitely a bug that LD crashed, even if presented with bad
data, and you should report that to the cegcc people.  On the other hand, I'm
confused by this:

>  /bin/ld: BFD 2.17.50 20061004 assertion fail

  That..... worries me.  Either the path /bin/ld is just displayed wrong, or
you've somehow overwritten your system native ld with the cegcc version?  When
you run "/bin/ld --version" at the command line, do you get 2.17.50?

    cheers,
      DaveK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019