10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
2. UNIX for Dummies Questions & Answers
Hi, I'm trying to compile the code for a program and I run into the following error,
ncfile.h: In constructor ‘ncfile::NcAttribute<T>::NcAttribute(const std::string&, const char*)':
ncfile.h:357: error: there are no arguments to ‘strlen' that depend on a template parameter, so a declaration of... (1 Reply)
Discussion started by: bstephens
1 Replies
3. UNIX for Dummies Questions & Answers
UNIX sco release 5.05 system does not boot:cannot open device hd(40)/boot
stage 1 boot failure: error loading hd(40)/bootWhat to do? (2 Replies)
Discussion started by: Joaoalpande
2 Replies
4. Shell Programming and Scripting
When i run a script in linux. It shows the following error.
'icsftpagent.sh: line 114: syntax error near unexpected token `'icsftpagent.sh: line 114: `Nicsftp() The script is as follows.
#!/bin/bash
#### Copyright Notice:
####
#### Copyright (c) 2007 Network Intelligence Corporation ... (7 Replies)
Discussion started by: sourabh.chhabra
7 Replies
5. Shell Programming and Scripting
When i run a script in linux. It shows the following error.
'icsftpagent.sh: line 114: syntax error near unexpected token `
'icsftpagent.sh: line 114: `Nicsftp()
My Script is as follows:
#!/bin/bash
#### Copyright Notice:
####
#### Copyright (c) 2007 Network Intelligence Corporation ... (1 Reply)
Discussion started by: sourabh.chhabra
1 Replies
6. Shell Programming and Scripting
Hi,
I had created makefile to compile and create .exe file.
but while executing makefile i am receiving following error
I can create obj and lib files but not able to create executeable file due to following error.
0711-317 Error: undefined symbol: .fn_error(......)
0711-345 use the... (2 Replies)
Discussion started by: Poonamol
2 Replies
7. Shell Programming and Scripting
Hi!
Following is the script to find the number of users and the total space consumed by them in the directory
But I am getting few errors Pls help me
data=`ls -lt $1 |tr -t |tr -s '\t'|cut -f3,5`
count=0
flag=1
sum=0
users_flag=1
check=0
declare -a users
for a in $data
do (5 Replies)
Discussion started by: joyrules
5 Replies
8. Solaris
Hi all......I'm sorry if my english is not that good. Can somebody help me to about this error. I found it in message.log
Jan 16 18:22:42 ASM imapd: get_balanced_partition: -- chosen
Jan 16 18:22:50 ASM SUNW,UltraSPARC-III+: NOTICE: Corrected system bus (CE) Event detected by CPU1 at TL=0,... (2 Replies)
Discussion started by: komang
2 Replies
9. Cybersecurity
A system administration utility has recently been installed at the SCO Openserver (UNIX) servers of our bank. While
receiving the error log files of this utility, we have noted the following warning messages:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
· ... (3 Replies)
Discussion started by: eysheikah
3 Replies
10. Cybersecurity
system administration utility has recently been installed at the SCO Openserver (UNIX) servers of our bank. While
receiving the error log files of this utility, we have noted the following warning messages:
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
· ... (0 Replies)
Discussion started by: eysheikah
0 Replies
XtWarningMsg() XtWarningMsg()
Name
XtWarningMsg - call the high-level warning handler.
Synopsis
void XtWarningMsg(name, type, class, default, params, num_params)
String name;
String type;
String class;
String default;
String *params;
Cardinal *num_params;
Inputs
name Specifies the general kind of error.
type Specifies the detailed name of the error.
class Specifies the resource class of the error.
default Specifies the default message to use if no message is found in the database.
params Specifies an array of values to be inserted into the message.
num_params
Specifies the number of elements in params.
Availability
XtWarningMsg() has been superseded by XtAppWarningMsg().
Description
XtWarningMsg() passes all of its arguments to the installed high-level warning handler. The default high-level warning handler is _XtDe-
faultWarningMsg(). It calls XtAppGetErrorDatabaseText() to lookup an error message of the specified name, type, and class in the error
database. If no such message is found, XtAppGetErrorDatabaseText() returns the specified default message. In either case, _XtDefaultWarn-
ingMsg() does a printf-style substitution of params into the message, and passes the resulting text to the low-level warning handler by
calling XtWarning().
Usage
XtWarningMsg() has been superseded by XtAppWarningMsg(), which performs the same function on a per-application context basis. XtWarn-
ingMsg() now calls XtAppWarningMsg() passing the default application context created by XtInitialize(). Very few programs need multiple
application contexts, and you can continue to use XtWarningMsg() if you initialize your application with XtInitialize(). We recommend,
however, that you use XtAppInitialize(), XtAppWarningMsg(), and the other XtApp*() application context specific functions.
See XtAppWarningMsg() for more information.
See Also
XtAppErrorMsg(1), XtAppWarningMsg(1).
Xt - Error Handling XtWarningMsg()