[FFmpeg-devel] [PATCH] revision r12484 breaks OS/2

Dave Yeo daveryeo
Tue Mar 18 07:37:41 CET 2008


Hi, the patch committed for r12384 breaks OS/2 due to nm.exe not 
understanding OMF object format.
nm --help
[...]
nm: supported targets: a.out-emx elf32-i386 efi-app-ia32 pe-i386 
pei-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core

epm: I:\usr\src\ffmpeg >sh ./configure --enable-gpl --enable-os2threads
nm: F:/XFREE86/TMP/ffmpeg-conf--35636-.o: File format not recognized
[...]
make
[...]
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\simple_idct_mmx.c) : 
error LNK2029: "d40000" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\simple_idct_mmx.c) : 
error LNK2029: "wm1010" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\motion_est_mmx.c) : 
error LNK2029: "bone" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\dsputil_mmx.c) : 
error LNK2029: "ff_pb_3" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\vc1dsp_mmx.c) : error 
LNK2029: "ff_pw_3" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\dsputil_mmx.c) : 
error LNK2029: "ff_pw_3" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\dsputil_mmx.c) : 
error LNK2029: "ff_pw_8" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\vc1dsp_mmx.c) : error 
LNK2029: "ff_pw_18" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\dsputil_mmx.c) : 
error LNK2029: "ff_pw_20" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\vc1dsp_mmx.c) : error 
LNK2029: "ff_pw_9" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\vc1dsp_mmx.c) : error 
LNK2029: "ff_pw_53" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\vc1dsp_mmx.c) : error 
LNK2029: "ff_pw_128" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\dsputil_mmx.c) : 
error LNK2029: "ff_pb_A1" : unresolved external
I:\usr\src\ffmpeg\libavcodec\libavcodec_s.lib(i386\motion_est_mmx.c) : 
error LNK2029: "round_tab" : unresolved external

These are due to configure not picking up the underline prefix for symbols.
Attached patch works around this. I'm open to other suggestions.
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.r1284.diff
Type: text/x-patch
Size: 802 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080317/8cdab615/attachment.bin>



More information about the ffmpeg-devel mailing list