LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-21-2003, 11:50 PM   #1
jinneemop
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Rep: Reputation: 0
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!

 
Old 04-22-2003, 11:47 AM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
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.
 
Old 04-27-2003, 12:03 AM   #3
jinneemop
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error building kdebase bmfan Slackware 1 11-12-2005 08:51 AM
Error building kdevelop danielg Linux - Software 1 11-22-2004 07:37 PM
Error when building kdemultimedia. RoaCh Of DisCor Linux - Software 1 10-14-2004 11:59 AM
Error while building kernel linuxboy69 Linux - Software 10 08-26-2004 12:09 PM
Pango Building Error lasindi Linux - Software 1 06-14-2004 02:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration