10-06-2006
I have done the following
$ proc flat_file.pc
Pro*C/C++: Release 9.2.0.6.0 - Production on Fri Oct 6 09:56:57 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /opt/oracle/product/9.2.0/precomp/admin/pcscfg.cfg
then
make -f demo_proc64.mk build EXE=flat_file OBJS=flat_file
cc -xO3 -Xa -xstrconst -dalign -xF -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC -DPRECOMP -I. -I/opt/oracle/product/9.2.0/precomp/public -I/opt/oracle/product/9.2.0/rdbms/public -I/opt/oracle/product/9.2.0/rdbms/demo -I/opt/oracle/product/9.2.0/plsql/public -I/opt/oracle/product/9.2.0/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT -o flat_file -L/opt/oracle/product/9.2.0/precomp/lib/ -L/opt/oracle/product/9.2.0/lib/ -o flat_file flat_file.c `cat /opt/oracle/product/9.2.0/lib/sysliblist` -R/opt/oracle/product/9.2.0/lib -laio -lposix4 -lm
/usr/ucb/cc: language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `flat_file'
but I not sure if there are the right steps
10 More Discussions You Might Find Interesting
1. Programming
Hi All,
I tried to compile a C program but i am getting error while Linking . it says Undefined reference to ' ' (here it gives a method name which is defined Globally ).
Can any body tell the resaon and remedy for the same . Iam stuck up here .
Thanks (3 Replies)
Discussion started by: Vivek
3 Replies
2. Programming
Hello. I am trying to run a c program on a unix shell (ssh). I have searched this forum but have not come accross the soultion to my problem, so I am posting my question here :cool:
I wrote the following simple code:
#include <iostream.h>
using namespace std;
int main()
{
... (7 Replies)
Discussion started by: Minnesota Red
7 Replies
3. Programming
hi
i am having a problem that when ever i use
cc program_name.c
to compile a program. an error occurs, showing cc not found.
please help. (28 Replies)
Discussion started by: rochitsharma
28 Replies
4. Programming
here is the very simple bob.c:
main()
{
printf("hello");
}
i use tiger and i use the command:
gcc bob.c
and the end result:
bob.c: In function ‘main':
bob.c:3: warning: incompatible implicit declaration of built-in function /‘printf'
any help appreciated, i'm just starting... (4 Replies)
Discussion started by: cleansing_flame
4 Replies
5. Programming
if somebody can help me pls.
i need the source code for a shell which compiles C or java programs in unix
i need a very short and simple one, just the compiling part
Respect (2 Replies)
Discussion started by: zlatan005
2 Replies
6. Programming
I use Ubuntu 10.4, and I installed GNUStep, Gorm (a gui builder) and ProjectCenter (the GNU alternative to Xcode) because I want to develop Objective-C apps. I opened the ProjectCenter and I created an application that displays only an empty window. I sourced the GNUstep.sh and I compiled the app. ... (0 Replies)
Discussion started by: mghis
0 Replies
7. Programming
Hello,
I am writing to ask for support about compiling an very old but famous C-progam for genetics study called MapMaker/QTL, and the source code is available from MIT:
http://www.broadinstitute.org/ftp/distribution/software/mapmaker3/The program was originally designed for systems like SunOS... (1 Reply)
Discussion started by: yifangt
1 Replies
8. Programming
Hi Everyone,
I can ask what is the option to compile a 64 bits program using gcc. I have looked everywhere but can't find it. Before I used to use cc and the -q64 flag was the option to generate the 64 bits binary. Can anyone tell me what is the flags when using gcc. Thanks...... (3 Replies)
Discussion started by: arizah
3 Replies
9. UNIX for Advanced & Expert Users
good morning,
I have 64-bit DB2 V9.7 AIX 7.1.0.0
I am compiling a C program, when running cc-I / rutadb2/include-c programa.c this error.
ksh: cc: not found.
how I can check if I have installed the C compiler?
Any help will be greatly appreciated.
Thank you very much and best regards. (2 Replies)
Discussion started by: systemoper
2 Replies
10. UNIX for Dummies Questions & Answers
I am hoping someone can give me a good free web resource for writing code to compile a binary executable. I am getting fairly decent at writing shell script, are the .f files just shell scripts? Also, I don't know where to begin on the makefiles. The reason I am curious is because I have been... (6 Replies)
Discussion started by: butson
6 Replies
kreg(8) System Manager's Manual kreg(8)
NAME
kreg - Maintains the system file that registers kernel layered products
SYNOPSIS
/sbin/kreg -d subset [-c NAME] | -l vendor subset path [-c NAME]
OPTIONS
Causes the specified layered product to be loaded or deleted from the NAME.list file for the given name in addition to the
/usr/sys/conf/.product.list file. Note that the NAME parameter is case sensitive and must exactly match the NAME prefix for the desired
NAME.list file. Deletes the entry for the specified layered product when you remove it from the system. Loads the data that controls how
to include the layered product in the kernel build process.
DESCRIPTION
The kreg command maintains the /usr/sys/conf/.product.list system file, which registers static kernel layered products. The kreg command
creates the file if it does not exist. The file enables system utilities or user supplied commands to locate the kernel parts of a layered
product, and it provides information about layered products.
The kernel tools use the /usr/sys/conf/.product.list file to build a layered product into the kernel. You can use the file to register a
static kernel layered product that has been loaded into the system. The file also can be used by the layered product's Software Control
Program (SCP), which is called by the setld command.
You copy the /usr/sys/conf/.product.list file into the file that is used to extend the kernel configuration files and that has the follow-
ing syntax: /usr/sys/conf/NAME.list
The NAME variable specifies the system name that also is used in the system configuration file that has the following syntax:
/usr/sys/conf/NAME
The doconfig command also will copy the /usr/sys/conf/.product.list file.
You can use the -c option to load or delete your layered product into a specific NAME.list file as well as the file. This is useful if you
want to load your layered product into a specific NAME.list file without requiring the user to either copy the entire file to the NAME.list
file or to manually edit the NAME.list file.
The kreg command must be invoked from the root (/) directory. The command can be used only for subsets that are loaded by using the setld
command. Also, you must be superuser to use the kreg command.
FILES
Contains kernel layered product information. Used to extend the kernel configuration files.
SEE ALSO
Commands: doconfig(8), setld(8)
System Administration
kreg(8)