• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

won't compile gcc

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
Ted22
Asked:
Ted22
1 Solution
 
AxterCommented:
Please give specific problem.
Specific Error code.
Much more details.
0
 
KangaRooCommented:
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
 
Ted22Author Commented:
###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
 
griesshCommented:
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
 
ComTechCommented:
This question will be placed in PAQ.

ComTech
CS @ EE
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now