[Ffmpeg-devel] compilation problem in ffmpeg
padma padma
lpadhma2003
Wed Sep 7 13:41:42 CEST 2005
Hi,
I'm a newbie to ffmpeg.
I tried to compile.
but i got the below error.
Plz anybody help in this issue.
root at AILS1 [~/ffmpeg/ffmpeg-0.4.9-pre1]# make
make -C libavcodec all
make[1]: Entering directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
gcc -O3 -g -Wall -DHAVE_AV_CONFIG_H -I..
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_GNU_SOURCE -c -o w32thread.o w32thread.c
w32thread.c:25:21: windows.h: No such file or
directory
w32thread.c:26:21: process.h: No such file or
directory
w32thread.c:30: syntax error before "HANDLE"
w32thread.c:30: warning: no semicolon at end of struct
or union
w32thread.c:31: warning: type defaults to `int' in
declaration of `work_sem'
w32thread.c:31: warning: data definition has no type
or storage class
w32thread.c:32: syntax error before "done_sem"
w32thread.c:32: warning: type defaults to `int' in
declaration of `done_sem'
w32thread.c:32: warning: data definition has no type
or storage class
w32thread.c:36: syntax error beforefunction)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
dec_thread_free':
w32thread.c:62: `c' undeclared (first use in this
function)
w32thread.c:69: `INFINITE' undeclared (first use in
this function)
w32thread.c:70: warning: implicit declaration of
function `CloseHandle'
w32thread.c: In function `avcodec_thread_execute':
w32thread.c:78: `c' undeclared (first use in this
function)
w32thread.c:94: `INFINITE' undeclared (first use in
this function)
w32thread.c: In function `avcodec_thread_init':
w32thread.c:104: `c' undeclared (first use in this
function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
w32thread.c:51: warning: implicit declaration of
function `ReleaseSemaphore'
w32thread.c: In function `avcodec_thread_free':
w32thread.c:62: `c' undeclared (first use in this
function)function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
dec_thread_free':
w32thread.c:62: `c' undeclared (first use in this
function)
w32thread.c:69: `INFINITE' undeclared (first use in
this function)
w32thread.c:70: warning: implicit declaration of
function `CloseHandle'
w32thread.c: In function `avcodec_thread_execute':
w32thread.c:78: `c' undeclared (first use in this
function)
w32thread.c:94: `INFINITE' undeclared (first use in
this function)
w32thread.c: In function `avcodec_thread_init':
w32thread.c:104: `c' undeclared (first use in this
function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
w32thread.c:51: warning: implicit declaration of
function `ReleaseSemaphore'function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
dec_thread_free':
w32thread.c:62: `c' undeclared (first use in this
function)
w32thread.c:69: `INFINITE' undeclared (first use in
this function)
w32thread.c:70: warning: implicit declaration of
function `CloseHandle'
w32thread.c: In function `avcodec_thread_execute':
w32thread.c:78: `c' undeclared (first use in this
function)
w32thread.c:94: `INFINITE' undeclared (first use in
this function)
w32thread.c: In function `avcodec_thread_init':
w32thread.c:104: `c' undeclared (first use in this
function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
w32thread.c:51: warning: implicit declaration of
function `ReleaseSemaphore'
w32thread.c: In function `avcodec_thread_free':
w32thread.c:62: `c' undeclared (first use in this
function)
w32thread.c:69: `INFINITE' undeclared (first use in
this function)
w32thread.c:70: warning: implicit declaration of
function `CloseHandle'
w32thread.c: In function `avcodec_thread_execute':
w32thread.c:78: `c' undeclared (first use in this
function)
w32thread.c:94: `INFINITE' undeclared (first use in
this function)
w32thread.c: In function `avcodec_thread_init':
w32thread.c:104: `c' undeclared (first use in this
function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
w32thread.c: In function `avcodec_thread_free':
w32thread.c:62: `c' undeclared (first use in this
function)
w32thread.c:69: `INFINITE' undeclared (first use in
this function)
w32thread.c:70: warning: implicit declaration of
function `CloseHandle'
w32thread.c: In function `avcodec_thread_execute':
w32thread.c:78: `c' undeclared (first use in this
function)
w32thread.c:94: `INFINITE' undeclared (first use in
this function)
w32thread.c: In function `avcodec_thread_init':
w32thread.c:104: `c' undeclared (first use in this
function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
w32thread.c:69: `INFINITE' undeclared (first use in
this function)
w32thread.c:70: warning: implicit declaration of
function `CloseHandle'
w32thread.c: In function `avcodec_thread_execute':
w32thread.c:78: `c' undeclared (first use in this
function)
w32thread.c:94: `INFINITE' undeclared (first use in
this function)
w32thread.c: In function `avcodec_thread_init':
w32thread.c:104: `c' undeclared (first use in this
function)
w32thread.c:117: warning: implicit declaration of
function `CreateSemaphore'
w32thread.c:123: `HANDLE' undeclared (first use in
this function)
w32thread.c:123: syntax error before "_beginthreadex"
w32thread.c:105: warning: unused variable `threadid'
make[1]: *** [w32thread.o] Error 1
make[1]: Leaving directory
`/root/ffmpeg/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
'}' token
w32thread.c:36: warning: type defaults to `int' in
declaration of `ThreadContext'
w32thread.c:36: warning: data definition has no type
or storage class
w32thread.c:39: syntax error before "thread_func"
w32thread.c:39: warning: return type defaults to `int'
w32thread.c: In function `thread_func':
w32thread.c:40: `c' undeclared (first use in this
function)
w32thread.c:40: (Each undeclared identifier is
reported only once
w32thread.c:40: for each function it appears in.)
w32thread.c:44: warning: implicit declaration of
function `WaitForSingleObject'
w32thread.c:44: `INFINITE' undeclared (first use in
this function)
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
More information about the ffmpeg-devel
mailing list