automake
[Top][All Lists]
Advanced

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

RE: Version question and "No rule to make target" question


From: Hongliang Wang
Subject: RE: Version question and "No rule to make target" question
Date: Mon, 22 Oct 2007 12:57:12 +0000

address@hidden> pwd
/home/jigsaw/dev/jhwgu/src/jz

address@hidden> ./configure
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... 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 main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing 
slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for sqrt... yes
checking for strchr... yes
checking for strerror... yes
checking for ranlib... ranlib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gen/Makefile
config.status: creating ora/Makefile
config.status: creating util/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

address@hidden> cd gen && make -d
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-redhat-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to .

Reading makefiles...
Reading makefile `Makefile'...
Reading makefile `.deps/zizutil.Po' (search path) (no ~ expansion)...
Reading makefile `.deps/zizzy.Po' (search path) (no ~ expansion)...
Updating makefiles....
 Considering target file `.deps/zizzy.Po'.
  Looking for an implicit rule for `.deps/zizzy.Po'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/zizzy.Po.c'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/zizzy.Po.o'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/zizzy.Po,v'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/RCS/zizzy.Po,v'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/RCS/zizzy.Po'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/s.zizzy.Po'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/SCCS/s.zizzy.Po'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/zizzy.Po.c'.
  Looking for a rule with intermediate file `.deps/zizzy.Po.c'.
   Avoiding implicit rule recursion.
   Trying pattern rule with stem `zizzy.Po'.
   Trying implicit prerequisite `.deps/zizzy.Po.w'.
   Trying pattern rule with stem `zizzy.Po.c'.
   Trying implicit prerequisite `.deps/zizzy.Po.c,v'.
   Trying pattern rule with stem `zizzy.Po.c'.
   Trying implicit prerequisite `.deps/RCS/zizzy.Po.c,v'.
   Trying pattern rule with stem `zizzy.Po.c'.
   Trying implicit prerequisite `.deps/RCS/zizzy.Po.c'.
   Trying pattern rule with stem `zizzy.Po.c'.
   Trying implicit prerequisite `.deps/s.zizzy.Po.c'.
   Trying pattern rule with stem `zizzy.Po.c'.
   Trying implicit prerequisite `.deps/SCCS/s.zizzy.Po.c'.
   Trying pattern rule with stem `zizzy.Po'.
   Trying implicit prerequisite `.deps/zizzy.Po.w'.
   Looking for a rule with intermediate file `.deps/zizzy.Po.w'.
    Avoiding implicit rule recursion.
    Avoiding implicit rule recursion.
    Trying pattern rule with stem `zizzy.Po.w'.
    Trying implicit prerequisite `.deps/zizzy.Po.w,v'.
    Trying pattern rule with stem `zizzy.Po.w'.
    Trying implicit prerequisite `.deps/RCS/zizzy.Po.w,v'.
    Trying pattern rule with stem `zizzy.Po.w'.
    Trying implicit prerequisite `.deps/RCS/zizzy.Po.w'.
    Trying pattern rule with stem `zizzy.Po.w'.
    Trying implicit prerequisite `.deps/s.zizzy.Po.w'.
    Trying pattern rule with stem `zizzy.Po.w'.
    Trying implicit prerequisite `.deps/SCCS/s.zizzy.Po.w'.
  Trying pattern rule with stem `zizzy.Po'.
  Trying implicit prerequisite `.deps/zizzy.Po.o'.
  Looking for a rule with intermediate file `.deps/zizzy.Po.o'.
   Avoiding implicit rule recursion.
   Trying pattern rule with stem `zizzy.Po'.
   Rejecting impossible implicit prerequisite `.deps/zizzy.Po.c'.
   Trying pattern rule with stem `zizzy.Po.o'.
   Trying implicit prerequisite `.deps/zizzy.Po.o,v'.
   Trying pattern rule with stem `zizzy.Po.o'.
   Trying implicit prerequisite `.deps/RCS/zizzy.Po.o,v'.
   Trying pattern rule with stem `zizzy.Po.o'.
   Trying implicit prerequisite `.deps/RCS/zizzy.Po.o'.
   Trying pattern rule with stem `zizzy.Po.o'.
   Trying implicit prerequisite `.deps/s.zizzy.Po.o'.
   Trying pattern rule with stem `zizzy.Po.o'.
   Trying implicit prerequisite `.deps/SCCS/s.zizzy.Po.o'.
  No implicit rule found for `.deps/zizzy.Po'.
  Finished prerequisites of target file `.deps/zizzy.Po'.
 No need to remake target `.deps/zizzy.Po'.
 Considering target file `.deps/zizutil.Po'.
  Looking for an implicit rule for `.deps/zizutil.Po'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/zizutil.Po.c'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/zizutil.Po.o'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/zizutil.Po,v'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/RCS/zizutil.Po,v'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/RCS/zizutil.Po'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/s.zizutil.Po'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/SCCS/s.zizutil.Po'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/zizutil.Po.c'.
  Looking for a rule with intermediate file `.deps/zizutil.Po.c'.
   Avoiding implicit rule recursion.
   Trying pattern rule with stem `zizutil.Po'.
   Trying implicit prerequisite `.deps/zizutil.Po.w'.
   Trying pattern rule with stem `zizutil.Po.c'.
   Trying implicit prerequisite `.deps/zizutil.Po.c,v'.
   Trying pattern rule with stem `zizutil.Po.c'.
   Trying implicit prerequisite `.deps/RCS/zizutil.Po.c,v'.
   Trying pattern rule with stem `zizutil.Po.c'.
   Trying implicit prerequisite `.deps/RCS/zizutil.Po.c'.
   Trying pattern rule with stem `zizutil.Po.c'.
   Trying implicit prerequisite `.deps/s.zizutil.Po.c'.
   Trying pattern rule with stem `zizutil.Po.c'.
   Trying implicit prerequisite `.deps/SCCS/s.zizutil.Po.c'.
   Trying pattern rule with stem `zizutil.Po'.
   Trying implicit prerequisite `.deps/zizutil.Po.w'.
   Looking for a rule with intermediate file `.deps/zizutil.Po.w'.
    Avoiding implicit rule recursion.
    Avoiding implicit rule recursion.
    Trying pattern rule with stem `zizutil.Po.w'.
    Trying implicit prerequisite `.deps/zizutil.Po.w,v'.
    Trying pattern rule with stem `zizutil.Po.w'.
    Trying implicit prerequisite `.deps/RCS/zizutil.Po.w,v'.
    Trying pattern rule with stem `zizutil.Po.w'.
    Trying implicit prerequisite `.deps/RCS/zizutil.Po.w'.
    Trying pattern rule with stem `zizutil.Po.w'.
    Trying implicit prerequisite `.deps/s.zizutil.Po.w'.
    Trying pattern rule with stem `zizutil.Po.w'.
    Trying implicit prerequisite `.deps/SCCS/s.zizutil.Po.w'.
  Trying pattern rule with stem `zizutil.Po'.
  Trying implicit prerequisite `.deps/zizutil.Po.o'.
  Looking for a rule with intermediate file `.deps/zizutil.Po.o'.
   Avoiding implicit rule recursion.
   Trying pattern rule with stem `zizutil.Po'.
   Rejecting impossible implicit prerequisite `.deps/zizutil.Po.c'.
   Trying pattern rule with stem `zizutil.Po.o'.
   Trying implicit prerequisite `.deps/zizutil.Po.o,v'.
   Trying pattern rule with stem `zizutil.Po.o'.
   Trying implicit prerequisite `.deps/RCS/zizutil.Po.o,v'.
   Trying pattern rule with stem `zizutil.Po.o'.
   Trying implicit prerequisite `.deps/RCS/zizutil.Po.o'.
   Trying pattern rule with stem `zizutil.Po.o'.
   Trying implicit prerequisite `.deps/s.zizutil.Po.o'.
   Trying pattern rule with stem `zizutil.Po.o'.
   Trying implicit prerequisite `.deps/SCCS/s.zizutil.Po.o'.
  No implicit rule found for `.deps/zizutil.Po'.
  Finished prerequisites of target file `.deps/zizutil.Po'.
 No need to remake target `.deps/zizutil.Po'.
 Considering target file `Makefile'.
   Considering target file `Makefile.in'.
     Considering target file `Makefile.am'.
      Looking for an implicit rule for `Makefile.am'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `Makefile.am.c'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `Makefile.am.o'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `Makefile.am,v'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `RCS/Makefile.am,v'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `RCS/Makefile.am'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `s.Makefile.am'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `SCCS/s.Makefile.am'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `Makefile.am.c'.
      Looking for a rule with intermediate file `Makefile.am.c'.
       Avoiding implicit rule recursion.
       Trying pattern rule with stem `Makefile.am'.
       Trying implicit prerequisite `Makefile.am.w'.
       Trying pattern rule with stem `Makefile.am.c'.
       Trying implicit prerequisite `Makefile.am.c,v'.
       Trying pattern rule with stem `Makefile.am.c'.
       Trying implicit prerequisite `RCS/Makefile.am.c,v'.
       Trying pattern rule with stem `Makefile.am.c'.
       Trying implicit prerequisite `RCS/Makefile.am.c'.
       Trying pattern rule with stem `Makefile.am.c'.
       Trying implicit prerequisite `s.Makefile.am.c'.
       Trying pattern rule with stem `Makefile.am.c'.
       Trying implicit prerequisite `SCCS/s.Makefile.am.c'.
       Trying pattern rule with stem `Makefile.am'.
       Trying implicit prerequisite `Makefile.am.w'.
       Looking for a rule with intermediate file `Makefile.am.w'.
        Avoiding implicit rule recursion.
        Avoiding implicit rule recursion.
        Trying pattern rule with stem `Makefile.am.w'.
        Trying implicit prerequisite `Makefile.am.w,v'.
        Trying pattern rule with stem `Makefile.am.w'.
        Trying implicit prerequisite `RCS/Makefile.am.w,v'.
        Trying pattern rule with stem `Makefile.am.w'.
        Trying implicit prerequisite `RCS/Makefile.am.w'.
        Trying pattern rule with stem `Makefile.am.w'.
        Trying implicit prerequisite `s.Makefile.am.w'.
        Trying pattern rule with stem `Makefile.am.w'.
        Trying implicit prerequisite `SCCS/s.Makefile.am.w'.
      Trying pattern rule with stem `Makefile.am'.
      Trying implicit prerequisite `Makefile.am.o'.
      Looking for a rule with intermediate file `Makefile.am.o'.
       Avoiding implicit rule recursion.
       Trying pattern rule with stem `Makefile.am'.
       Rejecting impossible implicit prerequisite `Makefile.am.c'.
       Trying pattern rule with stem `Makefile.am.o'.
       Trying implicit prerequisite `Makefile.am.o,v'.
       Trying pattern rule with stem `Makefile.am.o'.
       Trying implicit prerequisite `RCS/Makefile.am.o,v'.
       Trying pattern rule with stem `Makefile.am.o'.
       Trying implicit prerequisite `RCS/Makefile.am.o'.
       Trying pattern rule with stem `Makefile.am.o'.
       Trying implicit prerequisite `s.Makefile.am.o'.
       Trying pattern rule with stem `Makefile.am.o'.
       Trying implicit prerequisite `SCCS/s.Makefile.am.o'.
      No implicit rule found for `Makefile.am'.
      Finished prerequisites of target file `Makefile.am'.
     No need to remake target `Makefile.am'.
     Considering target file `../configure.ac'.
      Looking for an implicit rule for `../configure.ac'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../configure.ac.c'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../configure.ac.o'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../configure.ac,v'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../RCS/configure.ac,v'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../RCS/configure.ac'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../s.configure.ac'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../SCCS/s.configure.ac'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../configure.ac.c'.
      Looking for a rule with intermediate file `../configure.ac.c'.
       Avoiding implicit rule recursion.
       Trying pattern rule with stem `configure.ac'.
       Trying implicit prerequisite `../configure.ac.w'.
       Trying pattern rule with stem `configure.ac.c'.
       Trying implicit prerequisite `../configure.ac.c,v'.
       Trying pattern rule with stem `configure.ac.c'.
       Trying implicit prerequisite `../RCS/configure.ac.c,v'.
       Trying pattern rule with stem `configure.ac.c'.
       Trying implicit prerequisite `../RCS/configure.ac.c'.
       Trying pattern rule with stem `configure.ac.c'.
       Trying implicit prerequisite `../s.configure.ac.c'.
       Trying pattern rule with stem `configure.ac.c'.
       Trying implicit prerequisite `../SCCS/s.configure.ac.c'.
       Trying pattern rule with stem `configure.ac'.
       Trying implicit prerequisite `../configure.ac.w'.
       Looking for a rule with intermediate file `../configure.ac.w'.
        Avoiding implicit rule recursion.
        Avoiding implicit rule recursion.
        Trying pattern rule with stem `configure.ac.w'.
        Trying implicit prerequisite `../configure.ac.w,v'.
        Trying pattern rule with stem `configure.ac.w'.
        Trying implicit prerequisite `../RCS/configure.ac.w,v'.
        Trying pattern rule with stem `configure.ac.w'.
        Trying implicit prerequisite `../RCS/configure.ac.w'.
        Trying pattern rule with stem `configure.ac.w'.
        Trying implicit prerequisite `../s.configure.ac.w'.
        Trying pattern rule with stem `configure.ac.w'.
        Trying implicit prerequisite `../SCCS/s.configure.ac.w'.
      Trying pattern rule with stem `configure.ac'.
      Trying implicit prerequisite `../configure.ac.o'.
      Looking for a rule with intermediate file `../configure.ac.o'.
       Avoiding implicit rule recursion.
       Trying pattern rule with stem `configure.ac'.
       Rejecting impossible implicit prerequisite `../configure.ac.c'.
       Trying pattern rule with stem `configure.ac.o'.
       Trying implicit prerequisite `../configure.ac.o,v'.
       Trying pattern rule with stem `configure.ac.o'.
       Trying implicit prerequisite `../RCS/configure.ac.o,v'.
       Trying pattern rule with stem `configure.ac.o'.
       Trying implicit prerequisite `../RCS/configure.ac.o'.
       Trying pattern rule with stem `configure.ac.o'.
       Trying implicit prerequisite `../s.configure.ac.o'.
       Trying pattern rule with stem `configure.ac.o'.
       Trying implicit prerequisite `../SCCS/s.configure.ac.o'.
      No implicit rule found for `../configure.ac'.
      Finished prerequisites of target file `../configure.ac'.
     No need to remake target `../configure.ac'.
    Finished prerequisites of target file `Makefile.in'.
    Prerequisite `Makefile.am' is older than target `Makefile.in'.
    Prerequisite `../configure.ac' is older than target `Makefile.in'.
   No need to remake target `Makefile.in'.
   Considering target file `../config.status'.
    Looking for an implicit rule for `../config.status'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../config.status.c'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../config.status.o'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../config.status,v'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../RCS/config.status,v'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../RCS/config.status'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../s.config.status'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../SCCS/s.config.status'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../config.status.c'.
    Looking for a rule with intermediate file `../config.status.c'.
     Avoiding implicit rule recursion.
     Trying pattern rule with stem `config.status'.
     Trying implicit prerequisite `../config.status.w'.
     Trying pattern rule with stem `config.status.c'.
     Trying implicit prerequisite `../config.status.c,v'.
     Trying pattern rule with stem `config.status.c'.
     Trying implicit prerequisite `../RCS/config.status.c,v'.
     Trying pattern rule with stem `config.status.c'.
     Trying implicit prerequisite `../RCS/config.status.c'.
     Trying pattern rule with stem `config.status.c'.
     Trying implicit prerequisite `../s.config.status.c'.
     Trying pattern rule with stem `config.status.c'.
     Trying implicit prerequisite `../SCCS/s.config.status.c'.
     Trying pattern rule with stem `config.status'.
     Trying implicit prerequisite `../config.status.w'.
     Looking for a rule with intermediate file `../config.status.w'.
      Avoiding implicit rule recursion.
      Avoiding implicit rule recursion.
      Trying pattern rule with stem `config.status.w'.
      Trying implicit prerequisite `../config.status.w,v'.
      Trying pattern rule with stem `config.status.w'.
      Trying implicit prerequisite `../RCS/config.status.w,v'.
      Trying pattern rule with stem `config.status.w'.
      Trying implicit prerequisite `../RCS/config.status.w'.
      Trying pattern rule with stem `config.status.w'.
      Trying implicit prerequisite `../s.config.status.w'.
      Trying pattern rule with stem `config.status.w'.
      Trying implicit prerequisite `../SCCS/s.config.status.w'.
    Trying pattern rule with stem `config.status'.
    Trying implicit prerequisite `../config.status.o'.
    Looking for a rule with intermediate file `../config.status.o'.
     Avoiding implicit rule recursion.
     Trying pattern rule with stem `config.status'.
     Rejecting impossible implicit prerequisite `../config.status.c'.
     Trying pattern rule with stem `config.status.o'.
     Trying implicit prerequisite `../config.status.o,v'.
     Trying pattern rule with stem `config.status.o'.
     Trying implicit prerequisite `../RCS/config.status.o,v'.
     Trying pattern rule with stem `config.status.o'.
     Trying implicit prerequisite `../RCS/config.status.o'.
     Trying pattern rule with stem `config.status.o'.
     Trying implicit prerequisite `../s.config.status.o'.
     Trying pattern rule with stem `config.status.o'.
     Trying implicit prerequisite `../SCCS/s.config.status.o'.
    No implicit rule found for `../config.status'.
    Finished prerequisites of target file `../config.status'.
   No need to remake target `../config.status'.
  Finished prerequisites of target file `Makefile'.
  Prerequisite `Makefile.in' is older than target `Makefile'.
  Prerequisite `../config.status' is older than target `Makefile'.
 No need to remake target `Makefile'.
Updating goal targets....
Considering target file `all'.
 File `all' does not exist.
  Considering target file `all-am'.
   File `all-am' does not exist.
    Pruning file `Makefile'.
    Considering target file `libzizzy.a'.
      Considering target file `zizutil.o'.
       File `zizutil.o' does not exist.
       Looking for an implicit rule for `zizutil.o'.
       Trying pattern rule with stem `zizutil'.
       Trying implicit prerequisite `zizutil.c'.
       Found an implicit rule for `zizutil.o'.
        Considering target file `zizutil.c'.
         File `zizutil.c' does not exist.
         Looking for an implicit rule for `zizutil.c'.
         Trying pattern rule with stem `zizutil'.
         Trying implicit prerequisite `zizutil.w'.
         Trying pattern rule with stem `zizutil.c'.
         Trying implicit prerequisite `zizutil.c,v'.
         Trying pattern rule with stem `zizutil.c'.
         Trying implicit prerequisite `RCS/zizutil.c,v'.
         Trying pattern rule with stem `zizutil.c'.
         Trying implicit prerequisite `RCS/zizutil.c'.
         Trying pattern rule with stem `zizutil.c'.
         Trying implicit prerequisite `s.zizutil.c'.
         Trying pattern rule with stem `zizutil.c'.
         Trying implicit prerequisite `SCCS/s.zizutil.c'.
         Trying pattern rule with stem `zizutil'.
         Trying implicit prerequisite `zizutil.w'.
         Looking for a rule with intermediate file `zizutil.w'.
          Avoiding implicit rule recursion.
          Trying pattern rule with stem `zizutil.w'.
          Trying implicit prerequisite `zizutil.w,v'.
          Trying pattern rule with stem `zizutil.w'.
          Trying implicit prerequisite `RCS/zizutil.w,v'.
          Trying pattern rule with stem `zizutil.w'.
          Trying implicit prerequisite `RCS/zizutil.w'.
          Trying pattern rule with stem `zizutil.w'.
          Trying implicit prerequisite `s.zizutil.w'.
          Trying pattern rule with stem `zizutil.w'.
          Trying implicit prerequisite `SCCS/s.zizutil.w'.
         No implicit rule found for `zizutil.c'.
         Finished prerequisites of target file `zizutil.c'.
        Must remake target `zizutil.c'.
make: *** No rule to make target `zizutil.c', needed by `zizutil.o'.  Stop.

address@hidden> pwd
/home/jigsaw/dev/jhwgu/src/jz/gen
address@hidden> ls
Makefile             Makefile.in          config.h.in   zizmsg.h    zizutils.o
Makefile.am          Makefile.winmsc.bak  config.h.in~  zizparse.h  zizzy.c
Makefile.gcc.bak     aclocal.m4           configure.ac  zizread.h   zizzy.h
Makefile.hvr_gcc     autom4te.cache/      libzizzy.a    zizutils.c  zizzy.o
Makefile.hvr_winmsc  autoscan.log         zizconf.h     zizutils.h

address@hidden> cat Makefile.am
# gen/Makefile.am

noinst_LIBRARIES = libzizzy.a
libzizzy_a_SOURCES = zizutil.c zizzy.c

> CC: address@hidden
> From: address@hidden
> Subject: Re: Version question and "No rule to make target" question
> Date: Mon, 22 Oct 2007 14:18:51 +0200
> To: address@hidden
>
> On Oct 22, 2007, at 1:03 PM, Hongliang Wang wrote:
>
>> Thanks for the reply.
>>
>>> CC: address@hidden
>>> From: address@hidden
>>> Subject: Re: Version question and "No rule to make target" question
>>> Date: Mon, 22 Oct 2007 10:39:57 +0200
>>> To: address@hidden
>>>
>>> On Oct 22, 2007, at 9:56 AM, Hongliang Wang wrote:
>>>
>>>> address@hidden> make
>>>> make all-recursive
>>>> make[1]: Entering directory `/export/guam/jigsaw/dev/jhwgu/src/jz'
>>>> Making all in gen
>>>> make[2]: Entering directory `/export/guam/jigsaw/dev/jhwgu/src/jz/
>>>> gen'
>>>> make[2]: *** No rule to make target `zizutil.c', needed by
>>>> `zizutil.o'. Stop.
>>>
>>> Are you sure that the file `zizutil.c' exists? If this file is
>>> generated, use BUILT_SOURCES (see the automake manual).
>>>
>>
>> yes, I am quite sure that this file do exist!
>>
>
> Could then please post the output of "cd src/jz/gen && make -d"? Or
> can you `make dist' and upload the resulting tarball somewhere so
> that we can try to reproduce your problem?
>
>> So this is weird - why are automake trying to make my existing
>> source code to be a target?
>>
>
> Your problem does not seem to be related to automake. The Makefile
> states that `zizutil.o' depends on `zizutil.c', and when `make' tries
> to build `zizutil.o', it will look for `zizutil.c' and if it's not
> there (or if it's there but `make' can't find it for some reason) it
> will try to find a rule to generate `zizutil.c'. And if it can't, it
> will stop with this error, saying that it hasn't got a `zizutil.c'
> and doesn't know how to build this file.
>
>> I am expecting zizutil.o and zizzy.o to be built from zizutil.c and
>> zizzy.c.
>>
>> Then I will use these two object files to build the library file:
>> libzizzy.a
>>
>> so my Makefile.am is
>>
>> noinst_LIBRARIES = libzizzy.a
>> libzizzy_a_SOURCES = zizutil.c zizzy.c
>>
>> Is my Makefile.am correct?
>
> Yes, it seems to be correct. This Makefile.am is in the folder src/
> jz/gen right? Along with the sources `zizutil.c' and `zizzy.c', right?

>
> --
> Benoit Sigoure aka Tsuna
> EPITA Research and Development Laboratory
>
>

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us




reply via email to

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