Sponsored Content
Full Discussion: pro*c compilation error
Top Forums Programming pro*c compilation error Post 302197496 by satvd on Wednesday 21st of May 2008 05:04:51 AM
Old 05-21-2008
pro*c compilation error

Hi,

Recently our codes have been migrated to new server, whenever we compile any pro*c programs we receive the following
errorl. please help

>> make -f lib_util.mk all

CC= ucbcc 4Compiling lib_util
### command line files and options (expanded):
### -xO3 -DNULL=0 -v -o lib_util.o -L/opt/oracle/product/10.2.0/precomp/lib/ -L/opt/oracle/product/10.2.0/lib/ -c lib_util.c -I. -I./include
### ucbcc: Note: NLSPATH = /opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
/opt/SUNWspro/prod/bin/acomp -Qy -N /tmp/acomp.14994.2.ir -I. -I./include -g "/opt/SUNWspro/prod/bin/acc -O -DNULL=0 -v -L/opt/oracle/product/10.2.0/precomp/lib/ -L/opt/oracle/product/10.2.0/lib/ -c -I. -I./include -c" -b -Xa -D__SunOS_5_10 -D__SUNPRO_C=0x570 -Dunix -Dsun -Dsparc -D__unix -D__sun -D__sparc -D__BUILTIN_VA_ARG_INCR -D__SVR4 -D__RESTRICT -D__PRAGMA_REDEFINE_EXTNAME -I/opt/SUNWspro/prod/include/cc -O3 -DNULL=0 -destination_ir=iropt -i lib_util.c -o /tmp/acomp.14994.1.s -r /tmp/acomp.14994.0.ir
"lib_util.c", line 117: warning: no explicit type given
"lib_util.c", line 119: warning: no explicit type given
"lib_util.c", line 121: warning: no explicit type given
"lib_util.c", line 122: warning: no explicit type given
"lib_util.c", line 123: warning: no explicit type given
/opt/SUNWspro/prod/bin/iropt -N/tmp/acomp.14994.2.ir -O3 -xarch=generic -xcache=generic -xchip=generic -F -xvector=no -xprefetch=auto,explicit -xprefetch_level=1 -I -o /tmp/iropt.14994.3.ir -is /tmp/acomp.14994.1.s /tmp/acomp.14994.0.ir
compiler(iropt) error: FCALL with no root
rm /tmp/acomp.14994.0.ir
rm /tmp/acomp.14994.1.s
rm /tmp/acomp.14994.2.ir
rm /tmp/iropt.14994.3.ir
*** Error code 1
The following command caused the error:
ucbcc -O -DNULL=0 -v -o lib_util.o -L/opt/oracle/product/10.2.0/precomp/lib/ -L/opt/oracle/product/10.2.0/lib/ -c lib_util.c -I. -I./include
make: Fatal error: Command failed for target `lib_util.o'
 

10 More Discussions You Might Find Interesting

1. Programming

Regarding compilation error.

Hi All, I facing the following compilation error; when I implementing the following logic. ostrstream ostr; ostr << (( scAxsm.getRecord( i ).getField( 2 ).getShort())%12)!=0?(( scAxsm.getRecord( i ).getField( 2 ).getShort())/12+1) : (( scAxsm.getRecord( i ).getField( 2 ).getShort())/12) <<... (1 Reply)
Discussion started by: sweta
1 Replies

2. Programming

compilation error

Hi, While trying compile a C++ file in UNIX with gcc whose make rule involves the usage of /usr/ccs/bin/as, I get the following error: /usr/ccs/bin/as: No such file or directory /usr/ccs/bin/as: error: write error on output file "<filename>.o" *** Error code 1 clearmake: Error: Build... (2 Replies)
Discussion started by: smanu
2 Replies

3. Programming

Compilation error

I am compiling a software xchm on solaris 10. First i run './configure' There is no error. But when i start compiling using 'gmake' following error shown /usr/local/include/wx-2.6/wx/x11/brush.h: In copy constructor `wxBrush::wxBrush(const wxBrush&)':... (3 Replies)
Discussion started by: mansoorulhaq
3 Replies

4. Linux

c++ compilation error

Hello every one, here i am attempting to compile a c++ module using gcc.it is throwing a error . error: ==== > make -S dummyCHARGP /usr/local/bin/gcc -g -DDEBUG -DMAT -I. -I/swtemp/usbs/cc/unix-ce/root/subsys/lib/Linux/ -I/opt/dce/include -I/opt/dce/include/dce ... (12 Replies)
Discussion started by: mannam srinivas
12 Replies

5. Programming

Compilation error : Please help

state_field state_abvr = { "AL","ALABAMA", "AK","ALASKA", "AZ","ARIZONA", "AR","ARKANSAS", "CA","CALIFORNIA", "CO","COLORADO", "CT","CONNECTICUT", "DE","DELAWARE", "DC","DISTRICT-OF-COLUMBIA", "FL","FLORIDA", "GA","GEORGIA", "HI","HAWAII", "ID","IDAHO", "IL","ILLINOIS",... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies

6. Shell Programming and Scripting

Pro*c compilation error

Hi, Recently our codes have been migrated to new server, whenever we compile any pro*c programs we receive the following errorl. please help >> make -f lib_util.mk all CC= ucbcc 4Compiling lib_util ### command line files and options (expanded): ### -xO3 -DNULL=0 -v -o lib_util.o... (1 Reply)
Discussion started by: satvd
1 Replies

7. AIX

Pro C Compilation problem

Hi, I have AIX 5.3 and my code is written in proc . i am getting following error during compilation Please help?////..... :-d: Compiling with RMS cc -w -q32 -qidirfirst -ISource/Header -I/usr/vacpp/include -q32 -DRMS -DDISEC -DDBG -DBIGENDIAN -DBIT32 -c -q32... (0 Replies)
Discussion started by: ajaysahoo
0 Replies

8. Programming

Compilation error when compiling Pro*C code

I'm running a query similar to the one that I'm describing below -: _______________________________ EXEC SQL INSERT INTO TABLE1 ( C1 ,C2 ,C3 ,C4 ) (SELECT DISTINCT B.V1 ,B.V2 ,( SELECT D.V3 FROM TABLE2 D WHERE D.V3 = C.V4) ,B.V4 FROM TABLE2 B ,TABLE3 C WHERE B.V3 = C.V4) ;... (1 Reply)
Discussion started by: maheshp
1 Replies

9. UNIX for Advanced & Expert Users

Problem on Pro*C compilation on HP-UX

Hi, This is my first post to this forum. I have been facing a strange compilation error message. When I try to make a pro*C file on HP-UX ( uname -a shows HP-UX aopc7449 B.11.11 U 9000/800 2416083493 unlimited-user license), ::: Linking... /usr/ccs/bin/ld: profls.o: Not a valid object file... (5 Replies)
Discussion started by: asutoshch
5 Replies

10. Programming

Compilation Error

I am getting the below given errors for the following program though all the variables have been declared and used appropriately. Please Help. The environment is AIX. Error: ------ "gbsizeprofile.c", line 67.4: 1506-275 (S) Unexpected text 'void' encountered. "gbsizeprofile.c", line 67.10:... (2 Replies)
Discussion started by: yschd
2 Replies
cc(1B)						     SunOS/BSD Compatibility Package Commands						    cc(1B)

NAME
cc - C compiler SYNOPSIS
/usr/ucb/cc [options] DESCRIPTION
/usr/ucb/cc is the interface to the BSD Compatibility Package C compiler. It is a script that looks for the link /usr/ccs/bin/ucbcc to the C compiler. The /usr/ccs/bin/ucbcc link is available only with the SPROcc package, whose default location is /opt/SUNWspro. The /usr/ucb/cc interface is identical to /usr/ccs/bin/ucbcc, except that BSD headers are used and BSD libraries are linked before base libraries. The /opt/SUNWspro/man/man1/acc.1 man page is available only with the SPROcc package. OPTIONS
The /usr/ucb/cc interface accepts the same options as /usr/ccs/bin/ucbcc, with the following exceptions: -Idir Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The directo- ries for multiple -I options are searched in the order specified. The preprocessor first searches for #include files in the directory containing sourcefile, and then in directories named with -I options (if any), then /usr/ucbinclude, and finally, in /usr/include. -Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucbcc. This option is passed to /usr/ccs/bin/ld and /usr/lib. Directories specified with this option are searched before /usr/ucblib and /usr/lib. -Y P, dir Change the default directory used for finding libraries. EXIT STATUS
The following exit values are returned: 0 Successful compilation or link edit. >0 An error occurred. FILES
/usr/ccs/bin/ld link editor /usr/lib/libc C library /usr/ucbinclude BSD Compatibility directory for header files /usr/ucblib BSD Compatibility directory for libraries /usr/ucblib/libucb BSD Compatibility C library /usr/lib/libsocket library containing socket routines /usr/lib/libnsl library containing network functions /usr/lib/libelf library containing routines to process ELF object files /usr/lib/libaio library containing asynchronous I/O routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
ld(1), a.out(4), attributes(5) NOTES
The -Y P, dir option may have unexpected results and should not be used. SunOS 5.11 24 Feb 1998 cc(1B)
All times are GMT -4. The time now is 04:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy