[FFmpeg-user] problem with make while attempting to build git clone of ffmpeg on OS X 10.6.8

Paul Sturbaum psturbs at gmail.com
Fri Mar 1 18:48:43 CET 2013


On Mar 1, 2013, at 12:19 PM, Carl Eugen Hoyos wrote:

> Paul Sturbaum <psturbs <at> gmail.com> writes:
> 
>> LD	ffmpeg_g
>> Undefined symbols:
>>  "_iconv_close", referenced from:
>>      _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
> 
> Since this is already supposed to be fixed (and I cannot 
> reproduce on my ppc osx):
> Could you open the file config.log after running configure, 
> search for "check_func_headers iconv.h iconv" and post the 
> following approximately 27 lines here until either 
> "check_func_headers windows.h" or "check_func *thread*"?

check_func_headers iconv.h iconv
check_ld cc
check_cc
BEGIN /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
    1	#include <iconv.h>
    2	long check_iconv(void) { return (long) iconv; }
    3	int main(void) { return 0; }
END /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -c -o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.IeTIdDsE.o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
gcc -Wl,-dynamic,-search_paths_first -o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.namPh43g /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.IeTIdDsE.o -lbz2 -lz
Undefined symbols:
  "_iconv", referenced from:
      _check_iconv in ffconf.IeTIdDsE.o
     (maybe you meant: _check_iconv)
ld: symbol(s) not found
collect2: ld returned 1 exit status
check_lib2 iconv.h iconv -liconv
check_func_headers iconv.h iconv -liconv
check_ld cc -liconv
check_cc
BEGIN /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
    1	#include <iconv.h>
    2	long check_iconv(void) { return (long) iconv; }
    3	int main(void) { return 0; }
END /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -c -o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.IeTIdDsE.o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
gcc -Wl,-dynamic,-search_paths_first -o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.namPh43g /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.IeTIdDsE.o -liconv -lbz2 -lz
check_func_headers windows.h process.h _beginthreadex
check_ld cc
check_cc
BEGIN /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
    1	#include <windows.h>
    2	#include <process.h>
    3	long check__beginthreadex(void) { return (long) _beginthreadex; }
    4	int main(void) { return 0; }
END /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -c -o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.IeTIdDsE.o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
/var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c:1:21: error: windows.h: No such file or directory
/var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c:2:21: error: process.h: No such file or directory
/var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c: In function 'check__beginthreadex':
/var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c:3: error: '_beginthreadex' undeclared (first use in this function)
/var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c:3: error: (Each undeclared identifier is reported only once
/var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c:3: error: for each function it appears in.)
check_func pthread_create
check_ld cc
check_cc
BEGIN /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
    1	extern int pthread_create();
    2	int main(void){ pthread_create(); }
END /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -std=c99 -mdynamic-no-pic -fomit-frame-pointer -fPIC -c -o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.IeTIdDsE.o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.lcmKS9ZL.c
gcc -Wl,-dynamic,-search_paths_first -o /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.namPh43g /var/folders/nN/nNUjEdunErS8wpCZRy08Vk+++TU/-Tmp-//ffconf.IeTIdDsE.o -liconv -lbz2 -lz
check_func pthread_cancel


More information about the ffmpeg-user mailing list