AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only

problem compiling a pro*c program

  • 1.  problem compiling a pro*c program

    Posted Fri July 12, 2013 03:31 PM

    Originally posted by: nareshprasanna_1983


    I am trying to compile a pro*c program(br_orders.pc) and am getting an error as shown below

    /home/custacc/tst5/oracle_client/br_order: make br_orders
            proc iname=br_orders.pc sqlcheck=semantics userid=`sql_login.sh` include=../include
    /usr/bin/sh: proc:  not found.
    make: 1254-004 The error code from the last command is 127.

    Here are the contents of the makefile

    br_orders : br_orders.o                      \
                libbr_orders.a(br_commission.o)  \
                libbr_orders.a(br_order_calls.o)
            make -f ../lib/proc.mk build EXE=$@ OBJS="br_orders.o ../genserv/libgenserv.a libbr_orders.a ${RSC_LIBS}"
     

    I am trying to figure out how the make command came up with the below command

     proc iname=br_orders.pc sqlcheck=semantics userid=`sql_login.sh` include=../include
     

    I have already checked for inference rules in the files /usr/ccs/lib/aix.mk and /usr/ccs/lib/posix.mk and I dont find any related commands

    Kindly assist!