Help - Search - Members - Calendar
Full Version: regeneration of Makefiles
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
ominiran
I am modifying the lame-3.96.1 encoder for a project. I have included my new codes itcp_vars.h, sighand.h and sighand.c in the lame-3.96.1/frontend folder. I have also modified the lame-3.96.1/frontend/main.c code to accomodate my additional codes. I modified the lame-3.96.1/frontend/Makefile and got errors.

I was told the lame-3.96.1 makefiles are generated by automake/autoconf. I am asked to add the files to files to the input list and regenerate makefiles.


1. Does it mean I have to install autoconf and automake on my system?

2. I noticed the version of the autoconf is 2.57 and the automake is 1.75 in lame-3.96.1. Do I have to download same version?

3. I was thinking because I have use ./config and make install at when I install lame-3.96.1 on my sysem initially, that it must have come with automake/autoconfig?

4. In regenerating the Makefile, what are the process to follow?.
Do I just add sighand.c to the list of common-source and itcp_vars.h, sighand.h in Makefile.am and save, then run autoreconf or automake? Does that resolve the problem?

Help needed.

Thanks
xmixahlx
yah.

(1) edit any Makefile.am files that would include your new source/headers
(2) change to the root /dir/ and run "autoreconf -vifs" (w/o quotes)
(3) then run "./configure" followed by "make"


later
ominiran
QUOTE (xmixahlx @ Nov 29 2005, 06:02 PM)
yah.

(1) edit any Makefile.am files that would include your new source/headers
(2) change to the root /dir/ and run "autoreconf -vifs" (w/o quotes)
(3) then run "./configure" followed by "make"


later
*



Thanks,

I downloaded autoconfig and automake as my system seems not to have it.
I ran "./configure" for the autoconf and it returns error
"configure: error: Gnu m4-1.4 is required"

However downloaded the Gnu m4-1.4.4 and ran "./configure", "make" and "make install" without problem. But when I ran "./configure" for the autoconf, I till got "configure: error: Gnu m4-1.4 is required"

What do I do? What step must I take?
xmixahlx
you need a proper dev environment. are you using a linux distro or a roll-your-own?

(from memory, you need at least: libc6-dev gcc g++ libtool automake make autoconf bison m4 gdb ...)


later
robert
@ominiran
if you can't use the auto* stuff, you may look into Makefile.unix or Makefile.MSVC--depends on your dev environment.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.