[vlc-devel] failure in building ffmpeg-20051126

Yan Lu ylu at Integrian.com
Tue Feb 6 05:30:06 CET 2007


Hi 

 

I'm intending to build ffmpeg-20051126 using cygwin with
contrib-20051208-gcc3.3.3-only. I have got error: framehook.c:50:
`RTLD_NOW' undeclared (first use in this function)

I have changed "dlfcn=no" to "dlfcn=yes" in "configure" file, and then I
was able to successful built libavcodec.a and libavformat.a. But I was
failure in building ffmpeg_g.exe, and I have got errors: 

ffmpeg.o: In function `av_encode':

/home/ffmpeg-20051126/ffmpeg.c:2133: undefined reference to `_fifo_free'

/home/ffmpeg-20051126/ffmpeg.c:1663: undefined reference to `_fifo_init'

ffmpeg.o: In function `opt_image_format':

/home/ffmpeg-20051126/ffmpeg.c:2177: undefined reference to
`_first_image_format'

ffmpeg.o: In function `opt_output_file':

/home/ffmpeg-20051126/ffmpeg.c:3461: undefined reference to
`_filename_number_test'

ffmpeg.o: In function `show_formats':

/home/ffmpeg-20051126/ffmpeg.c:3688: undefined reference to
`_first_image_format'

ffmpeg.o: In function `do_audio_out':

/home/ffmpeg-20051126/ffmpeg.c:437: undefined reference to `_fifo_size'

/home/ffmpeg-20051126/ffmpeg.c:526: undefined reference to `_fifo_write'

/home/ffmpeg-20051126/ffmpeg.c:531: undefined reference to `_fifo_read'

ffmpeg.o: In function `do_audio_out':

/usr/i686-pc-mingw32/include/math.h:440: undefined reference to
`_fifo_size'

ffmpeg.o: In function `av_encode':

/home/ffmpeg-20051126/ffmpeg.c:1826: undefined reference to
`_loop_input'

collect2: ld returned 1 exit status

make: *** [ffmpeg_g.exe] Error 1

 

The script used for building ffmpeg is such as: 

./configure --enable-mingw32 --enable-memalign-hack \

                --extra-cflags=-I/usr/win32/include
--extra-ldflags=-L/usr/win32/lib \

--prefix=/usr/win32 \

--cc="gcc -mno-cygwin" \

--enable-faac --enable-mp3lame --enable-pp --enable-gpl \

--enable-amr_nb --enable-amr_wb \

 

Cygwin package detail: 

 

Archive:              5.52-2              unzip:

2.32-2                              zip:

 

Devel:               4-1                    autoconf:

2.13-3                              autoconf2.1

2.61-1                              autoconf2.5

2-1                                       automake

1.10-1                              automake1.10

1.4p6-4             automake1.4

1.5-2                 automake1.5

1.6.3-3              automake1.6

1.7.9-3              automake1.7

1.8.5-3              automake1.8

1.9.6-2              automake1.9

 

20060817-1       binutils

3.3.3-3              gcc-core

            3.3.3-3              gcc-g++

            20040810-1       gcc-mingw

            20040810-1       gcc-mingw-core

            20040810-1       gcc-mingw-g++

            20060706-2       gdb

0.14.5-1                         gettext

0.14.5-1                         gettext-devel

1.5.23a-2           libtool1.5

3.81-1               make

3.11-1               mingw-runtime

0.21-1               pkg-config

 

Lib

3.8-1                                  w32api

 

 

Could anyone can help me, I will be very appreciated for that? Thanks in
Advance.

 

 

Regards,

Yan

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070205/acc89e63/attachment.html>


More information about the vlc-devel mailing list