Error in setting up Pro*C on AIX 5.3


 
Thread Tools Search this Thread
Operating Systems AIX Error in setting up Pro*C on AIX 5.3
# 1  
Old 04-09-2008
Error in setting up Pro*C on AIX 5.3

Error Code:
ld: 0711-317 ERROR: Undefined symbol: .main

Various Library Paths set to same:
LIB_PATH=/usr/lib:/usr/vac/lib:/oracle/product/10.2.0/lib32:/oracle/product/10.2.0/lib

LIBPATH=/usr/lib:/usr/vac/lib:/oracle/product/10.2.0/lib32:/oracle/product/10.2.0/lib

LD_LIBRARY_PATH=/usr/lib:/usr/vac/lib:/oracle/product/10.2.0/lib32:/oracle/product/10.2.0/lib


Using following 3 steps to build C file from PC file, and eventually the executable (where step 3 seems to be where the error occurs):

STEP 1/3:
[jbl2806@srtri162]/home/jbl2806/work/scripts: proc iname=TMOI.pc

Pro*C/C++: Release 10.2.0.1.0 - Production on Mon Apr 7 20:19:19 2008

Copyright (c) 1982, 2005, Oracle. All rights reserved.

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

[jbl2806@srtri162]/home/jbl2806/work/scripts: echo $?
0

STEP 2/3:
[jbl2806@srtri162]/home/jbl2806/work/scripts: xlc -I${ORACLE_HOME}/precomp/public -c TMOI.c
[jbl2806@srtri162]/home/jbl2806/work/scripts: echo $?
0

STEP 3/3:
[jbl2806@srtri162]/home/jbl2806/work/scripts: xlc -o TMOI.o -L ${ORACLE_HOME}/lib -lclntsh
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
[jbl2806@srtri162]/home/jbl2806/work/scripts:

Any AIX help would be greatly appreciated.
Thanks all!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting AIX vi colors

Hi - In my ~/.exrc file I have: set number syntax on colorscheme evening The numbers are set when I open a file but the syntax and colorscheme options are not available: syntax: Not an editor command Is there a workaround to getting colors appear, without installing anything? (2 Replies)
Discussion started by: ocbit
2 Replies

2. AIX

Setting up printer in AIX 6.1

Hi All, I have been trying to configure an HP laserjet printer on an AIX6.1 server through network as well as remote. This is the first time i am configuring a printer on AIX. I had been using smitty butwhile configuring, i am getting blank/stuck at "software to support the printer attachment... (10 Replies)
Discussion started by: Rockyc3400
10 Replies

3. Programming

Pro*C not running in oracle11g R2 on AIX 6.1....

Hi All, When I am running a pro*c executable on an AIX 6.1.0.0 and Oracle 11gR2 environment which is complied in AIX 6.1.0.0 and Oracle 11gR2 environment only , I am getting segment fault error . When the same code is getting compiled in AIX5.3 Oracle 10gR2 env and run in AIX5.3 Oracle 10gR2 ,... (0 Replies)
Discussion started by: amaniitd
0 Replies

4. AIX

Setting up Password Security in AIX 5.3

In AIX 5.3 tech level 11: I want to setup a default password policy to have at least one of each of the following: alpha character, numeric character, and "special" character ("!", "&", etc). The smitty Security and Users --> Passwords --> System Password Policy screen only offers "MIN... (2 Replies)
Discussion started by: kikwit_phil
2 Replies

5. AIX

Setting up a secure channel with AIX

hi i have two aix servers and I was asked to setup a secure shell between the two servers using the sybase user. Can any one let me know how to do this (2 Replies)
Discussion started by: newtoaixos
2 Replies

6. AIX

Setting up Local printer AIX 5

Hi folks need some help here. We have a RS6000 running AIX. It is almost never used anymore, but we need to print off some data. I have a paralell printer conected to the parrallel port, but have no idea where to go from here. The printer was originall named named LP01. If the users telnetinto the... (2 Replies)
Discussion started by: prator
2 Replies

7. Programming

CORE_DUMP due to PRO C on AIX !! Help me !!

Hi All , i found two core files on aix customer machine due to two pro-c executables . we dont have any debugger like dbx . even i captured the log reports reg the core dumps .. i pasted the details here belo3w .please help me out h ow to resolve the issue :-( .... THANKS IN ADVANCE ... ... (1 Reply)
Discussion started by: vparunkumar
1 Replies

8. AIX

Setting Up Samba for AIX

Hi all I want to know how do I create a print queue using samba on AIX enviroment to print to file. Setup step require. Anyone please help me on this. Vincent (2 Replies)
Discussion started by: vwong
2 Replies
Login or Register to Ask a Question
libplot(3LIB)                                                   Interface Libraries                                                  libplot(3LIB)

NAME
libplot, lib300, lib300s, lib4014, lib450, libvt0 - graphics interface libraries SYNOPSIS
cc [ flag... ] file... -lplot [ library... ] #include <plot.h> DESCRIPTION
Functions in this library generate graphics output. INTERFACES
The shared object libplot.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces. arc box circle closepl closevt cont erase label line linemod move openpl openvt point space FILES
/usr/lib/libplot.so.1 shared object /usr/lib/64/libplot.so.1 64-bit shared object /usr/lib/lib300.so.1 shared object /usr/lib/64/lib300.so.1 64-bit shared object /usr/lib/lib300s.so.1 shared object /usr/lib/64/lib300s.so.1 64-bit shared object /usr/lib/lib4014.so.1 shared object /usr/lib/64/lib4014.so.1 64-bit shared object /usr/lib/lib450.so.1 shared object /usr/lib/64/lib450.so.1 64-bit shared object /usr/lib/libvt0.so.1 shared object /usr/lib/64/libvt0.so.1 64-bit shared object ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl (32-bit) | +-----------------------------+-----------------------------+ | |SUNWcslx (64-bit) | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
pvs(1), intro(3), attributes(5) SunOS 5.10 13 Jun 2003 libplot(3LIB)