Here is how you do it. gcc or cc is your compiler command - you should know which one to use.
./problem1 runs the compiled code, and is the compiled code. It will run only when you see no errors from the compiler.
This is probably homework, but I did nothing your teacher should and probably has already done for you. Please post homework in the homework forum.
This User Gave Thanks to jim mcnamara For This Post:
Please help!
This message is creating a space problem in my /var/adm/messages and I don't know where it's coming from. I don't have any printer on my system. (2 Replies)
It's really strange that I have these error messages as follows when I tried to compile the C++ program.
g++ -c -pipe -DOpenModeType=std::_Ios_Openmode -g -I. -o Obj/NP_genome_info.o NP_genome_info.cpp
{standard input}: Assembler messages:
{standard input}:10: Error: unknown pseudo-op:... (6 Replies)
Greetings there,
i was trying to install an eclipse plugin on sunOS 4.x for the solaris sparc platform, and i got the following error:
/usr/project/RAServer/bin> ./RAStart.sh
Starting Agent Controller
ld.so.1: RAServer: fatal: /usr/project/RAServer/lib/libxerces-c.so.24:
unknown file type... (3 Replies)
Hi All,
can some one figure out the syntax issue here. How to overcome this?
#!/bin/sh
$ HFR_MAIL=NO
$ PRP_MAIL=NO
$ MC_MAIL=NO
$ if && && ]; then
> echo "NO "
> else
> echo "YES"
> fi
test: unknown operator NO
$ if && && ]; then
> echo "NO"
> else
> echo "YES"
>... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a chat program using two FIFOs one for writing and the other for reading. The problem is something... (1 Reply)
Hi Guys,
I get the error while running below commands. Earlier the command used to execute, but after enclosing them in a function, the error is occuring
backupPath=`echo $folderName | sed -e 's,/vobs/dte/itgClient/client/RegressionTestLibPostOHS/,,'`
check_event=`cat... (7 Replies)
Not sure if this is the right forum and I apologies if not. I use Expression web to update our website on a UNIX server using SFTP.
I use the same laptop, software, that works fine when at home, but when I travel, I tend to get a unknown server error. I am suspecting that it has something to do... (2 Replies)
Hello All,
I am currently running a Solaris 10 machine as inbound SMTP server i.e. bringing Emails from outside into our company. In /var/spool/mqueue , I have mails that are pending for the past 4-5 days. They are not being delivered and are causing my mount point size to increase.
Error... (0 Replies)
Hi,
I wrote a function for the first time and not able to get the desired result.
I have requirement to execute 10 queries. For this i wrote a function like below.
function Command {
typeset var SOL;
if ; then CONNECTION="${CONNECTION} -e -time";
else SOL="`nzsql ${CONNECTION} -c... (8 Replies)
Discussion started by: Samah
8 Replies
LEARN ABOUT OPENSOLARIS
scdsbuilder
scdsbuilder(1HA) Sun Cluster Commands scdsbuilder(1HA)NAME
scdsbuilder - launch GUI version of Sun Cluster Agent Builder
SYNOPSIS
scdsbuilder
DESCRIPTION
The scdsbuilder command launches the GUI version of the Sun Cluster Agent Builder.
Before you use Agent Builder, verify the following requirements:
o The Java runtime environment is included in your $PATH variable. Agent Builder depends on the Java Development Kit, starting
with Version 1.3.1. If the Java Development Kit is not included in your $PATH variable, the Agent Builder command (scdsbuilder)
returns and displays an error message.
o You have installed the Developer System Support software group of the Solaris 9 OS or Solaris 10 OS.
o The cc compiler is included in your $PATH variable. Agent Builder uses the first occurrence of cc in your $PATH variable to
identify the compiler with which to generate C binary code for the resource type. If cc is not included in $PATH, Agent Builder
disables the option to generate C code.
Note -
You can use a different compiler with Agent Builder than the standard cc compiler. To use a different compiler, create a symbolic link in
$PATH from cc to a different compiler, such as gcc. Or, change the compiler specification in the makefile (currently, CC=cc) to the com-
plete path for a different compiler. For example, in the makefile that is generated by Agent Builder, change CC=cc to CC=pathname/gcc. In
this case, you cannot run Agent Builder directly. Instead, you must use the make and make pkg commands to generate data service code and
the package.
EXIT STATUS
This command returns the following exit status codes:
0 The command completed succesfully.
nonzero An error occurred.
FILES
install_directory/rtconfig Contains information from the previous session. This information facilitates the tool's quit and
restart feature.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO cc(1B), scdscreate(1HA), scdsconfig(1HA), attributes(5)
Chapter 9, Sun Cluster Agent Builder, in Sun Cluster Data Services Developer's Guide for Solaris OS
Sun Cluster 3.2 14 Sep 2007 scdsbuilder(1HA)