Solved

won't compile gcc

Posted on 2001-06-28
5
310 Views
Last Modified: 2012-06-27
I have been trying to compile this mpeg encoder in RedHat linux7.1
The original version is from Berkley and that won't compile eather.

http://www.buckosoft.com/gallery/tools/mpeg_encode/
http://bmrc.berkeley.edu/frame/research/mpeg/

I realize this may not belong in this catagory, but I didn't see anything like this in linux programming.

I am eather missing something or don't know what to do. Any ideas.
0
Comment
Question by:Ted22
5 Comments
 
LVL 30

Expert Comment

by:Axter
ID: 6236059
Please give specific problem.
Specific Error code.
Much more details.
0
 
LVL 7

Expert Comment

by:KangaRoo
ID: 6238823
Not all of us are running RedHat 7.1 on a linux box somewhere. But some do (occasionally) use GCC so if you give some details about the specific error message, as Axter also suggests, we may be able to help.
0
 
LVL 1

Author Comment

by:Ted22
ID: 6239489
###The Berkley version

gcc -Iheaders -I/usr/include -Ijpeg -O -Wall -Wmissing-prototypes     -c -o mfwddct.o mfwddct.c
In file included from headers/all.h:83,
                 from mfwddct.c:18:
headers/libpnmrw.h:24: conflicting types for `malloc'
/usr/include/malloc.h:121: previous declaration of `malloc'
make: *** [mfwddct.o] Error 1




###The other version
make: *** No rule to make target `/usr/include/bytesex.h', needed by `mfwddct.o'.  Stop.




The second version is looking for a header. I found it and put it where it was looking and it needed another one.
Is there a way to get the headers?
I don't expect anyone to do this for me, just give me an idea. I intend to learn more about c++.
0
 
LVL 11

Expert Comment

by:griessh
ID: 6820096
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity,  I will suggest to refund the points and delete this question since nobody had an answer for you.

The link to the Community Support area is: http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner

0
 

Accepted Solution

by:
ComTech earned 0 total points
ID: 6837786
This question will be placed in PAQ.

ComTech
CS @ EE
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now