Solved

won't compile gcc

Posted on 2001-06-28
5
336 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

809 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