
Originally Posted by
Skatertjah
Now we have to compile mpeg_stat
extract the mpeg_stat archive in the DPG folder (right click --> extract here)
Open up a terminal
Code:
cd /home/DPG/mpeg_stat-2.2b-src/mpeg_stat
make
Hi there... i ran into a few problems when i tried to compile, here is the output from the terminal:
Code:
enda@enda-laptop:~/DPG/mpeg_stat-2.2b-src/mpeg_stat$ make
gcc -I/usr/include -O -c -o util.o util.c
util.c:46:20: error: stdlib.h: No such file or directory
In file included from util.c:47:
video.h:45:19: error: stdio.h: No such file or directory
video.h:46:20: error: setjmp.h: No such file or directory
In file included from util.c:48:
proto.h:135: error: expected ‘)’ before ‘*’ token
proto.h:136: error: expected ‘)’ before ‘*’ token
In file included from util.c:50:
opts.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
opts.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
opts.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
opts.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
opts.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
opts.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
opts.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
opts.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
util.c: In function ‘correct_underflow’:
util.c:149: warning: incompatible implicit declaration of built-in function ‘fprintf’
util.c:149: error: ‘stderr’ undeclared (first use in this function)
util.c:149: error: (Each undeclared identifier is reported only once
util.c:149: error: for each function it appears in.)
util.c:151: warning: incompatible implicit declaration of built-in function ‘exit’
util.c:154: warning: incompatible implicit declaration of built-in function ‘fprintf’
util.c:165: warning: incompatible implicit declaration of built-in function ‘exit’
util.c: In function ‘next_bits’:
util.c:202: error: ‘NULL’ undeclared (first use in this function)
util.c: In function ‘get_ext_data’:
util.c:255: warning: incompatible implicit declaration of built-in function ‘malloc’
util.c: In function ‘next_start_code’:
util.c:318: error: ‘NULL’ undeclared (first use in this function)
util.c: In function ‘get_extra_bit_info’:
util.c:447: error: ‘NULL’ undeclared (first use in this function)
util.c:452: warning: incompatible implicit declaration of built-in function ‘malloc’
make: *** [util.o] Error 1
anyone have any ideas? are there files missing from my unpacked archive?