bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changed from cpp to c, automake will not work


From: William Estrada
Subject: changed from cpp to c, automake will not work
Date: Mon, 17 Jul 2006 12:20:05 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 Fedora/1.7.13-1.1.fc5

Hi guys,

 How this is the right place for this.

 I configured a set of programs to compile using autoconf and automake.  I 
changed
the programs from .cpp to .c filetype. I used this file to rebuild the source 
tree:

rm -f  config.cache
rm -rf autom4te.cache

rm -f acconfig.h
touch acconfig.h

aclocal
if [ $? != 0 ]; then exit; fi
autoconf
if [ $? != 0 ]; then exit; fi
automake --add-missing -Wall
if [ $? != 0 ]; then exit; fi
configure
if [ $? != 0 ]; then exit; fi
make
if [ $? != 0 ]; then exit; fi

exit


 When I try to run this script I get this:
clear;Build

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/splat/Makefile
config.status: creating src/usgs2sdf/Makefile
config.status: creating src/citydecoder/Makefile
config.status: creating src/srtm2sdf/Makefile
config.status: executing depfiles commands
Making all in src
make[1]: Entering directory `/src/Splat/Splat/src'
Making all in usgs2sdf
make[2]: Entering directory `/src/Splat/Splat/src/usgs2sdf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/src/Splat/Splat/src/usgs2sdf'
Making all in splat
make[2]: Entering directory `/src/Splat/Splat/src/splat'
make[2]: *** No rule to make target `marker.cpp', needed by `marker.o'.  Stop.
make[2]: Leaving directory `/src/Splat/Splat/src/splat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src/Splat/Splat/src'
make: *** [all-recursive] Error 1

 I have run into this problem before but don't remember how I fixed it.  I can't
find any place in the tree that references 'marker.cpp'.

 Any help?  Please respond directly to me.


--
William Estrada

Email      : MrUmunhum at popdial dot com
Resume     : www.Mt-Umunhum-Wireless.net/resume/william_estrada.html
HTTP       : www.Mt-Umunhum-Wireless.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]