autoconf
[Top][All Lists]
Advanced

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

Re: Makefile missing semicolon


From: Hynek Cihlar
Subject: Re: Makefile missing semicolon
Date: Thu, 26 Jul 2007 11:14:51 -0400

Ralf,

here is the output for COMPILE variable
$ grep "^COMPILE" Makefile
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \

and the make output

address@hidden proto]# make
cd . && /bin/sh /tmp/activemq/openwire-c/proto/missing --run aclocal-1.9
make  all-am
make[1]: Entering directory `/tmp/activemq/openwire-c/proto'
cd . && /bin/sh /tmp/activemq/openwire-c/proto/missing --run aclocal-1.9
source='main.c' object='main.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. `/usr/local/apr/bin/apr-1-config
--includes` -I./libopenwire -I./libactivemq
`/usr/local/apr/bin/apr-1-config --cppflags`
`/usr/local/apr/bin/apr-1-config --cflags` -g -O2 -c main.c
gcc `/usr/local/apr/bin/apr-1-config --cflags` -g -O2
`/usr/local/apr/bin/apr-1-config --ldflags --link-ld` -L./libopenwire
-L./libactivemq  -o owproto  main.o  `/usr/local/apr/bin/apr-1-config
--libs`  -lopenwire -lactivemq
gcc: main.o: No such file or directory
make[1]: *** [owproto] Error 1
make[1]: Leaving directory `/tmp/activemq/openwire-c/proto'
make: *** [all] Error 2

The makefie is included.

Hynek


On 7/25/07, Ralf Wildenhues <address@hidden> wrote:
Hello Hynek,

* Hynek Cihlar wrote on Wed, Jul 25, 2007 at 06:21:24PM CEST:
> On 7/25/07, Bernd Jendrissek <address@hidden> wrote:
> >On 7/25/07, Hynek Cihlar <address@hidden> wrote:
[...]
> >$(DEPDIR)/$*.Tpo"; exit 1; fi
> >>         source='$<' object='$@' libtool=no \
> >>         DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
> >>         $(COMPILE) -c $<
> >>
> >> Shouldn't be the shell commands separated by semicolon?
[...]
>
> Unfortunately, that doesn't build. If I break the command with
> semicolons, it works ok. My question is, how to fix it.

Please post the output of
  grep "^COMPILE" Makefile

or better, an URL to the Makefile or the file, packed.  Please also post
complete 'make' output that shows this error.

FWIW, this is probably an Automake issue (not sure yet as I don't yet
know what it is).

Thanks,
Ralf



--
Hynek Cihlar

Attachment: makefile.ZIP
Description: Zip archive


reply via email to

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