LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mpegrec building error (https://www.linuxquestions.org/questions/linux-general-1/mpegrec-building-error-56205/)

jinneemop 04-21-2003 11:50 PM

mpegrec building error
 
When I try to build MPEGREC (Direct-to-Disk mp3 capture from sound card) I get error messages and can not continue.

[root@XXXXX mpegrec-1.0]# make
Building wavrec for a system with 1 processor(s)
Not utilizing libhoard for SMP memory management.
g++ srec.cc -o wavrec -O9 -lpthread -fomit-frame-pointer \
-march=pentiumpro -ffast-math -funroll-loops -fprofile-arcs \
-fbranch-probabilities
srec.cc:0: warning: file srec.da not found, execution counts assumed to be zero
srec.cc:82: 'deque' is used as a type, but is not defined as a type.
srec.cc:83: 'deque' is used as a type, but is not defined as a type.
srec.cc: In function `long unsigned int shipToEncoder(long unsigned int*)':
srec.cc:105: `fullBuffers' undeclared (first use this function)
srec.cc:105: (Each undeclared identifier is reported only once for each
function it appears in.)
srec.cc: In function `void* encode(void*)':
srec.cc:134: `cerr' undeclared (first use this function)
srec.cc: In function `void* prepareBuffers(void*)':
srec.cc:158: `inputBuffers' undeclared (first use this function)
srec.cc: In function `int main(int, char**)':
srec.cc:182: `string' undeclared (first use this function)
srec.cc:182: parse error before `=' token
srec.cc:194: `endl' undeclared (first use this function)
srec.cc:214: `encoderProcess' undeclared (first use this function)
srec.cc:221: `encoderExtraFlags' undeclared (first use this function)
srec.cc:228: `outputFile' undeclared (first use this function)
srec.cc:327: `flush' undeclared (first use this function)
make: *** [wavrec] Error 1

It seems like something wrong with my c++ head files, but I don't know how to solve it. ANYBODY HELP ME!

:newbie:

nxny 04-22-2003 11:47 AM

You may want to try compiling a more stable ( earlier ) release. This one doesn't sound like it is going to compile, unless you want to jump in a fix a few issues.

jinneemop 04-27-2003 12:03 AM

It is OK now.
File srec.cc includes C++ standard headfiles, so I add a line "using namespace std;" in the source file, and it works. Anyway thanks.


All times are GMT -5. The time now is 08:49 PM.