?
Solved

won't compile gcc

Posted on 2001-06-28
5
Medium Priority
?
361 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

862 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