Professional Web Applications Themes

1254-002 Cannot find a rule to create target /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies. - UNIX Programming

Hi, First of all, I'm a beginner with Unix. I have a "make" (Unix command) problem with a Pro*C sub-program since I installed Oracle8i (before I was at 7.3.4). I have a script builder that generate a makefile (that include env_precomp.mk) and launch this makefile after. So, I receive this error: make: 1254-002 Cannot find a rule to create target /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies. Also, I can launch the makefile with "make" command at prompt (re-using the makefile generated) and I have the same error. So I launched the "make" command with debug option. After a "Suff_FindDeps" instruction I saw that: ...

  1. #1

    Default 1254-002 Cannot find a rule to create target /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies.

    Hi,
    First of all, I'm a beginner with Unix.

    I have a "make" (Unix command) problem with a Pro*C sub-program since
    I installed Oracle8i (before I was at 7.3.4). I have a script builder
    that generate a makefile (that include env_precomp.mk) and launch this
    makefile after. So, I receive this error:
    make: 1254-002 Cannot find a rule to create target
    /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies.

    Also, I can launch the makefile with "make" command at prompt
    (re-using the makefile generated) and I have the same error. So I
    launched the "make" command with debug option. After a "Suff_FindDeps"
    instruction I saw that:
    "Examining /u02/apps_r/dev/ben/lib/fcfz02.a...non-existent...non-existent
    and no sources...out-of-date." and my error follow. See:

    ....
    Suff_FindDeps (all)
    No known suffix on all. Using .NULL suffix.
    all: = all
    all:* = all
    all:< =
    No valid suffix on all.
    failed. Returning NULL
    Suff_FindDeps (/u02/apps_r/dev/ben/lib/fcfz02.a)
    trying /u02/apps_r/dev/ben/lib/fcfz02.c...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.c...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.f...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.f90...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f90...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.f95...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f95...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.F...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.F...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.s...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.C...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.C...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.c...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.y...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.y...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.l...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f90...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f95...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.F...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.C...not there
    /u02/apps_r/dev/ben/lib/fcfz02.a: = /u02/apps_r/dev/ben/lib/fcfz02.a
    /u02/apps_r/dev/ben/lib/fcfz02.a:* = /u02/apps_r/dev/ben/lib/fcfz02
    /u02/apps_r/dev/ben/lib/fcfz02.a:< =
    Examining /u02/apps_r/dev/ben/lib/fcfz02.a...non-existent...non-existent
    and no sources...out-of-date.
    /u02/apps_r/dev/ben/lib/fcfz02.a:? =
    /u02/apps_r/dev/ben/lib/fcfz02.a:> =
    make: 1254-002 Cannot find a rule to create target
    /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies.
    Stop.

    I hoped to have something like "got it." instead of "Examining...".

    The "No known suffix on all. Using .NULL suffix." is also there with
    env_precomp.mk of 7.3.4 version:

    ....
    Suff_FindDeps (all)
    No known suffix on all. Using .NULL suffix.
    all: = all
    all:* = all
    all:< =
    No valid suffix on all.
    failed. Returning NULL
    Suff_FindDeps (/u02/apps_r/dev/ben/lib/fcfz02.a)
    trying /u02/apps_r/dev/ben/lib/fcfz02.c...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.c...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.f...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.f90...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f90...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.f95...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f95...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.F...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.F...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.s...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.C...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.C...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.c...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.y...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.y...not there
    trying /u02/apps_r/dev/ben/lib/fcfz02.l...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f90...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.f95...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.F...not there
    trying /u02/apps_r/dev/ben/lib/s.fcfz02.C...not there
    /u02/apps_r/dev/ben/lib/fcfz02.a: = /u02/apps_r/dev/ben/lib/fcfz02.a
    /u02/apps_r/dev/ben/lib/fcfz02.a:* = /u02/apps_r/dev/ben/lib/fcfz02
    /u02/apps_r/dev/ben/lib/fcfz02.a:< =
    ....

    In fact, fcfz02.a is not in /u02/apps_r/dev/ben/lib but with 7.3.4
    env_precomp.mk no attention is given to that. Why now the compilation
    is stopped?

    Thanks,
    Simon.
    simduss@hotmail.com Guest

  2. #2

    Default Re: 1254-002 Cannot find a rule to create target/u02/apps_r/dev/ben/lib/fcfz02.a from dependencies.

    You have to find someone knowing how fcfz02.a should be created (from which file(s)).
    Your "make" did his best but could not find any possible source...

    com wrote: 
    Lorinczy Guest

  3. #3

    Default Re: 1254-002 Cannot find a rule to create target /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies.

    com writes:
     

    What is fcfz02.a? If it's really a library, you need to add it to your
    link line, giving the directory it's in.

    If this is something you're building it would be better to name it
    libfcfz02.a, then you wouldn't need to hard code a path in the
    makefile (use -L instead).

    It's hard to say how to fix the makefile with so little information
    though. How about posting the makefile?

    Joe
    joe@invalid.address Guest

  4. #4

    Default Re: 1254-002 Cannot find a rule to create target /u02/apps_r/dev/ben/lib/fcfz02.a from dependencies.

    address wrote in message news:<address>... 
    >
    > What is fcfz02.a? If it's really a library, you need to add it to your
    > link line, giving the directory it's in.
    >
    > If this is something you're building it would be better to name it
    > libfcfz02.a, then you wouldn't need to hard code a path in the
    > makefile (use -L instead).
    >
    > It's hard to say how to fix the makefile with so little information
    > though. How about posting the makefile?
    >
    > Joe[/ref]

    Hi,
    Here is the explanation of the compiling error:
    Our script that built the makefile use a parameter file that contains
    a variable BINDIR, like env_precomp.mk contains now. We renamed this
    variable inside of our parameter file and the problem fixed.

    Thanks,
    Simon.
    simduss@hotmail.com Guest

Similar Threads

  1. How to create a target for a hyperlink?
    By shane_rymer@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 0
    Last Post: September 15th, 07:01 PM
  2. pg_dump dependencies
    By Eric E in forum PostgreSQL / PGSQL
    Replies: 3
    Last Post: January 6th, 06:45 PM
  3. Where can I find Create JustSo Photo Album?
    By Access2me webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 3
    Last Post: September 28th, 02:43 AM
  4. Will File::Find::Rule follow symbolic links?
    By Barry Solow in forum PERL Modules
    Replies: 2
    Last Post: August 28th, 07:12 PM
  5. create a find option to go to a record in a subform
    By Gareth Jones in forum Microsoft Access
    Replies: 1
    Last Post: July 14th, 05:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139