error on make, Red Hat 9
Posted: Mon Mar 22, 2004 2:23 pm
when executing make on RH9, i get this:
make all-recursive
make[1]: Entering directory `/root/zm-1.19.0'
Making all in src
make[2]: Entering directory `/root/zm-1.19.0/src'
source='zm_event.cpp' object='zm_event.o' libtool=no \
depfile='.deps/zm_event.Po' tmpdepfile='.deps/zm_event.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/mysql//include -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat -g -O2 -c -o zm_event.o `test -f 'zm_event.cpp' || echo './'`zm_event.cpp
In file included from zm_event.cpp:29:
zm_mpeg.h:27:22: avformat.h: No such file or directory
In file included from zm_event.cpp:29:
zm_mpeg.h:36: use of enum `PixelFormat' without previous declaration
zm_mpeg.h:36: field `pf' has incomplete type
zm_mpeg.h:37: syntax error before `*' token
zm_mpeg.h:38: syntax error before `*' token
zm_mpeg.h:39: syntax error before `*' token
zm_mpeg.h:40: syntax error before `*' token
zm_mpeg.h:41: syntax error before `*' token
zm_mpeg.h:42: syntax error before `*' token
zm_mpeg.h:57: `uint8_t' was not declared in this scope
zm_mpeg.h:57: `buffer' was not declared in this scope
zm_mpeg.h:57: parse error before `,' token
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/root/zm-1.19.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zm-1.19.0'
make: *** [all] Error 2
Pretty sure libavcodec is installed, as it's in: /usr/lib/libavcodec
does anyone know what's wrong?
Regards,
Phil
make all-recursive
make[1]: Entering directory `/root/zm-1.19.0'
Making all in src
make[2]: Entering directory `/root/zm-1.19.0/src'
source='zm_event.cpp' object='zm_event.o' libtool=no \
depfile='.deps/zm_event.Po' tmpdepfile='.deps/zm_event.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/mysql//include -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat -g -O2 -c -o zm_event.o `test -f 'zm_event.cpp' || echo './'`zm_event.cpp
In file included from zm_event.cpp:29:
zm_mpeg.h:27:22: avformat.h: No such file or directory
In file included from zm_event.cpp:29:
zm_mpeg.h:36: use of enum `PixelFormat' without previous declaration
zm_mpeg.h:36: field `pf' has incomplete type
zm_mpeg.h:37: syntax error before `*' token
zm_mpeg.h:38: syntax error before `*' token
zm_mpeg.h:39: syntax error before `*' token
zm_mpeg.h:40: syntax error before `*' token
zm_mpeg.h:41: syntax error before `*' token
zm_mpeg.h:42: syntax error before `*' token
zm_mpeg.h:57: `uint8_t' was not declared in this scope
zm_mpeg.h:57: `buffer' was not declared in this scope
zm_mpeg.h:57: parse error before `,' token
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/root/zm-1.19.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zm-1.19.0'
make: *** [all] Error 2
Pretty sure libavcodec is installed, as it's in: /usr/lib/libavcodec
does anyone know what's wrong?
Regards,
Phil