build problems

Herbert Thoma tma@iis.fhg.de
Fri, 23 Mar 2001 10:04:13 +0100


Dave Peticolas wrote:
> 
> Herbert Thoma writes:
> > Hi!
> >
> > After the last cvs update I got build problems.
> > The Makefile.am in src/test lacked some include
> > directories. I fixed this by adding
> >  -I../register -I../guile -I../calculation
> > to INCLUDES. This made all files compile,
> > but then I got a linker error. In src/test/Makefile.am
> > there is
> > LDALL = \
> >   ../EuroUtils.o \
> >   ../FileDialog.o \
> >     ...
> > This results in src/EuroUtils.c getting compiled to
> > src/test/EuroUtils.o. But the linker then searches
> > for src/EuroUtils.o which does not exist (see output
> > of make below). Any suggestions how to fix this?
> 
> What does EuroUtils.c get compiled to in src/ ?

Hi Dave,

EuroUtils.c (or any other *.c in src/) does not get
compiled at all. I think the problem is that
src/test/ gets made before src/.

 Herbert.
-- 
Herbert Thoma
FhG-IIS A, Studio Department
Am Weichselgarten3, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax:   +49-9131-776-399
email: tma@iis.fhg.de
www: http://www.iis.fhg.de/