Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-17-2005, 09:56 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
How to modify or

Hi, guys:
I need to modify some code of the GNU project, and add some new c++ programs(.h, .cc), but now I am confused of how to use 'make' to recompile the modified project again. There are some similar files, I copied one and replaced some specific words with the names of newly added files, but it does not work.

The files '' in my project are generated by automake 1.8.3, but the aotomake in redhat9.0 is 1.6.3. When I automake the project, it says: 'automake requires ' AM_CONFIG_HEADER', not 'AC_CONFIG_HEADER'
aclocal.m4:6026: version mismatch. This is automake 1.6.3, but aclocal.m4 was generated for Automake 1.8.3. required file './mkinstalldirs' not found require version 1.7, but have 1.6.3

I searched automake-1.8.3 in, but I did not find that version in redhat 9.0.
I am definitely be spoiled by MS visual studio products, is there a way to quickly learn how to compile c++ projects in linux.

Old 05-17-2005, 11:07 AM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,481

Rep: Reputation: 88
Did you do



I think the error you are getting might be because you did not do aclocal before autoconf...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Makefile deveshs Programming 5 05-03-2005 01:15 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 03:57 AM
new system call, modify Makefile for .o feetyouwell Programming 0 11-16-2004 09:58 AM
generate Makefile from without calling ./configure ? chris78 Programming 2 05-02-2004 12:23 PM
Makefile mikeshn *BSD 2 07-17-2002 09:16 PM

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration