10-10-2001
Unsuccessful compilation of TOP s/w
Hi,
I did the following :
/usr/local/bin/gcc -DHAVE_GETOPT -DORDER -DHAVE_STRERROR -c top.c
and I got these error messages :
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 1936: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 1936: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 1955: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 1955: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 1956: error: unknown opcode ".subsection"
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 1956: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 2005: error: unknown opcode ".previous"
/usr/ccs/bin/as: "/var/tmp/ccZcR4Mm.s", line 2005: error: statement syntax
*** Error code 1
make: Fatal error: Command failed for target `top.o'
Can someone tell me why?
I'm trying to install the TOP s/w.
With regards,
Dawn.
9 More Discussions You Might Find Interesting
1. SuSE
When we login to any remote connections in SuSE Linux, say for example, telnet , the following line is displayed "Last Login : Date and time is displayed"
I would like to disable this. In SuSE 9, I could find the solution .
Please suggest me a solution to disable the line displayed for SuSE... (3 Replies)
Discussion started by: Laksmi
3 Replies
2. Shell Programming and Scripting
i am using the command "swremove productname".... How can i check the unsucceful condition?.... i want to say "if unsuccessful display that message to the user and exit"....
Can anu one help me??.... i am coding in this script for the first time so please dont mind...
THanks (1 Reply)
Discussion started by: rag84dec
1 Replies
3. Programming
(gdb) r --------------------- enter
Breakpoint 1, 0x0000000000409d40 in main ()
(gdb) n
Single stepping until exit from function main,
which has no line number information.
Find_Cmd_Option: found option no. 2: seed (s)
Find_Cmd_Option: found option no. 5: dfile (c)
Initial no. div... (1 Reply)
Discussion started by: cdbug
1 Replies
4. Solaris
Dears,
I want to lock the user's account after consecutive unsuccessful login attempts, how can I do this ? (1 Reply)
Discussion started by: mlsun
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
We have one UNIX Server (Sun Solaris), and the files coming to this server from another server.
The problem is, that server is continously sending files to our server via FTP. But the observation is that some files missing in our Server but in that server it shows the files FTPed... (2 Replies)
Discussion started by: vikash.rastogi
2 Replies
6. AIX
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
Can anyone help me out where is the maximum unsuccessful login attempts stored in unix?
How can we know how many unsuccessful login attempts an user has made?
Where is the blocked users info maintained or how can we get whether the user is blocked?
Thanks in advance. (3 Replies)
Discussion started by: anandrec
3 Replies
8. Shell Programming and Scripting
#!/bin/bash
for servers in `cat ~/servers`
do
rosh -l root -n $servers 'if
then
echo $HOSTNAME
else
exit 1
fi'
done
I have few servers in the for loop that is powered off, so whenever I execute my script, it works fine if all the servers are on, but when it tries to execute the script... (1 Reply)
Discussion started by: Rojan Shakya
1 Replies
9. SuSE
hi
i want to enable details of previous successful/ unsuccessful login on screen after successful login in SUSE linux
---------- Post updated 01-17-15 at 10:00 PM ---------- Previous update was 01-16-15 at 11:37 PM ----------
hi guys please reply (1 Reply)
Discussion started by: Idea
1 Replies
LEARN ABOUT OPENSOLARIS
whereis
whereis(1B) SunOS/BSD Compatibility Package Commands whereis(1B)
NAME
whereis - locate the binary, source, and manual page files for a command
SYNOPSIS
/usr/ucb/whereis [-bmsu] [-BMS directory... -f] filename...
DESCRIPTION
The whereis utility locates source/binary and manuals sections for specified files. The supplied names are first stripped of leading path-
name components and any (single) trailing extension of the form .ext, for example, .c. Prefixes of s. resulting from use of source code
control are also dealt with. whereis then attempts to locate the desired program in a list of standard places:
etc
/sbin
/usr/bin
/usr/ccs/bin
/usr/ccs/lib
/usr/lang
/usr/lbin
/usr/lib
/usr/sbin
/usr/ucb
/usr/ucblib
/usr/ucbinclude
/usr/games
/usr/local
/usr/local/bin
/usr/new
/usr/old
/usr/hosts
/usr/include
/usr/etc
OPTIONS
The following options are supported:
-b Searches only for binaries.
-B Changes or otherwise limits the places where whereis searches for binaries.
-f Terminates the last directory list and signals the start of file names, and must be used when any of the -B, -M, or -S options are
used.
-m Searches only for manual sections.
-M Changes or otherwise limits the places where whereis searches for manual sections.
-s Searches only for sources.
-S Changes or otherwise limit the places where whereis searches for sources.
-u Searches for unusual entries. A file is said to be unusual if it does not have one entry of each requested type. Thus `whereis -m -u
*' asks for those files in the current directory which have no documentation.
EXAMPLES
Example 1 Finding files
Find all files in /usr/bin which are not documented in /usr/share/man/man1 with source in /usr/src/cmd:
example% cd /usr/ucb
example% whereis -u -M /usr/share/man/man1 -S /usr/src/cmd -f *
FILES
o /usr/src/*
o /usr/{doc,man}/*
o /etc, /usr/{lib,bin,ucb,old,new,local}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
chdir(2), attributes(5)
BUGS
Since whereis uses chdir(2) to run faster, pathnames given with the -M, -S, or -B must be full; that is, they must begin with a `/'.
SunOS 5.11 10 Jan 2000 whereis(1B)