Search:  
Gentoo Wiki

Error_Makefile_Missing_Separator

This page is a candidate for deletion 
Reason given: Stub with not context information.
If you disagree with its deletion, please explain why on its discussion page.
If you intend to fix it, please remove this notice, but do not remove this notice from articles that you have created yourself.
Make sure no other pages link here and check the page's history before deleting.

An error may occur when attempting to run make against a makefile generated by automake:

Error: Makefile: : *** missing separator. Stop.

Contents

Cause 1: The configure.ac file was incorrectly sequenced during script generation

A makefile has been generated from a configure script, generated using an incorrectly sequenced configure.ac file. This error may occur, if the AM_INIT_AUTOMAKE macro is placed after the AC_OUTPUT macro in the configure.ac file. A symptom of this is that the generated makefile contains unexpanded macros, such as:

@SET_MAKE@

Resolution

It is necessary to correct the configure.ac file, and use the autoreconf tool, to regenerate the build instruction files, before re-running the configure script.

Cause 2: The Makefile.am target list was disrupted by the editor before script generation

If the project has several target files, it is possible that the editor used to created the Makefile.am file disrupted the flow of the target list by applying linewrap to the file. The nano editor may do this, if the target list lines reach 76 characters in width. It is recommended that the target list is kept short and continuation characters are used to span the list across several lines, with each line being kept below 76 characters.

Resolution

It is necessary to correct the Makefile.am file and use the autoreconf tool, to regenerate the build instruction files, before re-running the configure script.

Retrieved from "http://www.gentoo-wiki.info/Error_Makefile_Missing_Separator"

Last modified: Thu, 12 Jun 2008 10:08:00 +0000 Hits: 1,035