AIX

AIX

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

 View Only

Memory fault error while executing Pro*C executables..

  • 1.  Memory fault error while executing Pro*C executables..

    Posted Mon December 05, 2011 01:06 PM

    Originally posted by: amanminu


    Hi ,

    We are migrating from oracle 10gR2 on AIX 5.3 to oracle 11gR2 on AIX 6.1 (64bit Kernal) . As pat of this , we need to migrate all the pro*c codes and for that we are trying to complie those files on the new server . We are able to compile and build the executables but when we transfer this executable from build machine to testing machine which is also on 6.1 and 11gR2 , and execute there , we get this error :

    Memory fault(coredump)

    The compile the pro*c and to create executables follwoing commands are used :

    Build date and time : Mon Dec 5 22:51:14 GMT+08:00 2011
    File to be built test Server Name : sssssssssss
    proc CODE=ANSI_C sqlcheck=full userid=xxxxxxx/yyyyyy@zzzzzzz oraca=yes mode=oracle unsafe_null=yes dbms=v8 iname=test.pc
    Pro*C/C++: Release 11.2.0.2.0 - Production on Mon Dec 5 22:51:14 2011

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    System default option values taken from: /data/oracle/product/11.2.0.2/precomp/admin/pcscfg.cfg

    /usr/vac/bin/cc -g -q64 -O5 -L/data/oracle/product/11.2.0.2/lib -c test.c -o test.o
    #rm -f `basename test.lis` `basename test.c`
    ld: 0711-224 WARNING: Duplicate symbol: .bcopy
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    test created...
    Pls check the build log file /tmp/build_log.36765840

    Can someone help me in resolving this issue?