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.

The other two fails with:

collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/bin/ld: 
nmimp000000.o: reloc against a non-existant symbol index: 2169

and

collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/bin/ld: 
nmimp000000.o: reloc against a non-existant symbol index: 8236

I am using the latest version of mingw32ce (svn -r1437) and am trying to 
build ffmpeg svn -r21223 (with -r21155 reverse-merged). Any ideas what 
is wrong and/or how I can solve it would be great.



The full configure arguments:
./configure --disable-static --enable-shared --enable-memalign-hack 
--prefix=/cygdrive/c/prefix/wince/ --cross-prefix=arm-mingw32ce- 
--target-os=mingw32ce --disable-encoders --disable-filters 
--disable-bsfs --disable-muxers --disable-demuxers --arch=arm 
--cpu=armv4 --extra-ldflags="-Wl,--enable-auto-import" 
--disable-decoders --disable-parsers --disable-optimizations 
--disable-stripping

Full output:
$ make
/cygdrive/c/mingw32ce/ffmpeg/version.sh "/cygdrive/c/mingw32ce/ffmpeg" 
version.h
arm-mingw32ce-gcc -shared -Wl,--output-def,libavcodec/avcodec-52.def 
-Wl,--out-implib,libavcodec/libavcodec.dll.a 
-Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base 
-L"/cygdrive/c/mingw32ce/ffmpeg"/libavcodec 
-L"/cygdrive/c/mingw32ce/ffmpeg"/libavdevice 
-L"/cygdrive/c/mingw32ce/ffmpeg"/libavfilter 
-L"/cygdrive/c/mingw32ce/ffmpeg"/libavformat 
-L"/cygdrive/c/mingw32ce/ffmpeg"/libavutil 
-L"/cygdrive/c/mingw32ce/ffmpeg"/libpostproc 
-L"/cygdrive/c/mingw32ce/ffmpeg"/libswscale -Wl,--enable-auto-import 
-Wl,--warn-common -Wl,--as-needed 
-Wl,-rpath-link,"/cygdrive/c/mingw32ce/ffmpeg"/libpostproc 
-Wl,-rpath-link,"/cygdrive/c/mingw32ce/ffmpeg"/libswscale 
-Wl,-rpath-link,"/cygdrive/c/mingw32ce/ffmpeg"/libavfilter 
-Wl,-rpath-link,"/cygdrive/c/mingw32ce/ffmpeg"/libavdevice 
-Wl,-rpath-link,"/cygdrive/c/mingw32ce/ffmpeg"/libavformat 
-Wl,-rpath-link,"/cygdrive/c/mingw32ce/ffmpeg"/libavcodec 
-Wl,-rpath-link,"/cygdrive/c/mingw32ce/ffmpeg"/libavutil -Wl,-Bsymbolic 
-o libavcodec/avcodec-52.dll libavcodec/allcodecs.o 
libavcodec/audioconvert.o libavcodec/avpacket.o libavcodec/bitstream.o 
libavcodec/bitstream_filter.o libavcodec/dsputil.o libavcodec/eval.o 
libavcodec/faanidct.o libavcodec/imgconvert.o libavcodec/jrevdct.o 
libavcodec/opt.o libavcodec/options.o libavcodec/parser.o 
libavcodec/raw.o libavcodec/resample.o libavcodec/resample2.o 
libavcodec/simple_idct.o libavcodec/utils.o 
libavcodec/arm/dsputil_init_arm.o libavcodec/arm/dsputil_arm.o 
libavcodec/arm/fft_init_arm.o libavcodec/arm/h264pred_init_arm.o 
libavcodec/arm/jrevdct_arm.o libavcodec/arm/mpegvideo_arm.o 
libavcodec/arm/simple_idct_arm.o -lavutil -lm
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/../../../../arm-mingw32ce/bin/ld: 
nmimp000000.o: reloc against a non-existant symbol index: 2169
make: *** [libavcodec/avcodec-52.dll] Error 1

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to