Solved

won't compile gcc

Posted on 2001-06-28
5
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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…

738 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