I have recently installed Solaris 2.8 from CD. The setup program asked me if I wanted developer, server, or workstation support which I probably took the default (not developer). Now, however, I am installing another piece of software that needs /usr/ccs/bin/make which wasn't installed with the... (4 Replies)
we aheva couple of old sun OS boxes, that we are trying to parse /usr/ucb/ps output.
However it seems that something is occuring that is causeing th output of "/usr/ucb/ps -auxwww" to cut short the process name, whereas "ps -eaf" can display the entire process name.
It will work for a while... (2 Replies)
Hello all
im trying to get the value of:
/usr/ucb/ps -guxww | grep Tomcat | grep $USER | grep -v grepinto variable , im using csh .
like this :
set PS="/usr/ucb/ps -guxww"
set isTomcat = `cat $PS | grep Tomcat | grep $USER | grep -v grep`
but im keep geting this error:
cat: cannot open... (4 Replies)
Hi,
I am getting the following error while compiling my C++ program using GCC compiler.
/usr/ccs/bin/ld: Unsatisfied symbols:
display (first referenced in /var/tmp//cclSYScd.o) (code)
collect2: ld returned 1 exit status
Can anybody help me out?
Thanks in advance..!! (1 Reply)
Hei,
When I run the /usr/ucb/ps -auxwll with any other user except root I get nothing (Solaris 10 in global).
Is a way to get the same resualt as root with my user.
tnx
Mehrdad (0 Replies)
Hi,
on solaris I need the full ps output, and process this. With /usr/ucb/ps auxwww I get the output as wanted, but the user is cut off to 8 long.
With ps -o ruser I can get the full username, but I do not have the full output.
Is it possible to get long output, with the full username?
... (1 Reply)
Hi Guys,
OS:- Solaris 10 64Bit
I have a small query.
On one server a user is facing sed command issue.
He gets error regarding sed for this location
/users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found
How ever the sed is actually present at this location on server:-... (13 Replies)
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
LEARN ABOUT SUNOS
cc
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
directories 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.10 24 Feb 1998 cc(1B)