11-30-2007
Solaris : compilation error
Hi All,
while building, i am receiving the following error......
Undefined first referenced
symbol in file
void os_directory::create(const std::string &) obj.release/BOConfig.o (symbol belongs to implicit dependency /export/home/sfactory/vinod/sfact_71_193_ar_vin_Client/depot/AR/CB2_FP_SP2/import/bin/External/solaris_sparc/ospace/2.1.3_CC5.2/libos_file.so)
bool os_directory::exists(const std::string &) obj.release/BOConfig.o (symbol belongs to implicit dependency /export/home/sfactory/vinod/sfact_71_193_ar_vin_Client/depot/AR/CB2_FP_SP2/import/bin/External/solaris_sparc/ospace/2.1.3_CC5.2/libos_file.so)
ld: fatal: Symbol referencing errors. No output written to /export/home/sfactory/vinod/sfact_71_193_ar_vin_Client/depot/AR/CB2_FP_SP2/bin/release/libboconfig.so.1
gmake: *** [/export/home/sfactory/vinod/sfact_71_193_ar_vin_Client/depot/AR/CB2_FP_SP2/bin/release/libboconfig.so.1] Error 1
Could any body help me in resolving this compilation error?
why this compilation error occurred? to resolve, what i need to do?
Thanks in advance,
Vinod.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is the difference in awk stmt for awk in Aix & SOLARIS
files="$@"
for filename in $files
do
awk ' BEGIN {
if ( FILENAME ~ ".*bad.trans.dsm" )
code = "bad";
else if ( FILENAME ~ ".*here.*.dsm" )
code = "here";
else
... (2 Replies)
Discussion started by: ls1429
2 Replies
2. Shell Programming and Scripting
Dear friends,
Please let me know how do I increase the speed of my compilation in SUN Solaris environment.
actually I have many subfolders which contains .cc files.
when I compile makefile at the root it will take much time to compile all the subfolders and generates object(.o) files.
Can... (2 Replies)
Discussion started by: swamymns
2 Replies
3. Programming
Hi All,
I facing the following compilation error; when I implementing the following logic.
ostrstream ostr;
ostr << (( scAxsm.getRecord( i ).getField( 2 ).getShort())%12)!=0?(( scAxsm.getRecord( i ).getField( 2 ).getShort())/12+1)
: (( scAxsm.getRecord( i ).getField( 2 ).getShort())/12) <<... (1 Reply)
Discussion started by: sweta
1 Replies
4. Programming
Hi,
While trying compile a C++ file in UNIX with gcc whose make rule involves the usage of
/usr/ccs/bin/as, I get the following error:
/usr/ccs/bin/as: No such file or directory
/usr/ccs/bin/as: error: write error on output file "<filename>.o"
*** Error code 1
clearmake: Error: Build... (2 Replies)
Discussion started by: smanu
2 Replies
5. Programming
I am compiling a software xchm on solaris 10.
First i run './configure'
There is no error.
But when i start compiling using 'gmake'
following error shown
/usr/local/include/wx-2.6/wx/x11/brush.h: In copy constructor `wxBrush::wxBrush(const wxBrush&)':... (3 Replies)
Discussion started by: mansoorulhaq
3 Replies
6. HP-UX
hello everyone,
here i am attempting to compile a c++ submodule.OS is HP-UX.
here i am getting the following error.
======================================
"Make: Don't know how to make compile. Stop."
===================================
could you pls somebody suggest why this error is... (2 Replies)
Discussion started by: mannam srinivas
2 Replies
7. Programming
state_field state_abvr = {
"AL","ALABAMA",
"AK","ALASKA",
"AZ","ARIZONA",
"AR","ARKANSAS",
"CA","CALIFORNIA",
"CO","COLORADO",
"CT","CONNECTICUT",
"DE","DELAWARE",
"DC","DISTRICT-OF-COLUMBIA",
"FL","FLORIDA",
"GA","GEORGIA",
"HI","HAWAII",
"ID","IDAHO",
"IL","ILLINOIS",... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies
8. Programming
I am getting the below given errors for the following program though all the variables have been declared and used appropriately. Please Help. The environment is AIX.
Error:
------
"gbsizeprofile.c", line 67.4: 1506-275 (S) Unexpected text 'void' encountered.
"gbsizeprofile.c", line 67.10:... (2 Replies)
Discussion started by: yschd
2 Replies
9. Programming
I am facing problem while migrating the c++ code from Linux to Solaris. In linux the code is absolutly compiled fine with GCC compiler but when i am using the same in Solaris it coomplains
bash-3.1$ gcc LibSip.h
gcc: Compilation of header file requested
The same command is working fine in... (2 Replies)
Discussion started by: mrupesh74
2 Replies
10. Solaris
Hi guys,
I am stuck with an issue and i need help to solve.
I have to compile an extension for PHP which would help the server to connect to SAP server through PHP.
Binary is "SAP SDK RFC"
I have the binary downloaded from the SAP official website.
Server on which i have to install... (0 Replies)
Discussion started by: bvipin2002
0 Replies
LEARN ABOUT DEBIAN
pam_xauth
PAM_XAUTH(8) Linux-PAM Manual PAM_XAUTH(8)
NAME
pam_xauth - PAM module to forward xauth keys between users
SYNOPSIS
pam_xauth.so [debug] [xauthpath=/path/to/xauth] [systemuser=UID] [targetuser=UID]
DESCRIPTION
The pam_xauth PAM module is designed to forward xauth keys (sometimes referred to as "cookies") between users.
Without pam_xauth, when xauth is enabled and a user uses the su(1) command to assume another user's privileges, that user is no longer able
to access the original user's X display because the new user does not have the key needed to access the display. pam_xauth solves the
problem by forwarding the key from the user running su (the source user) to the user whose identity the source user is assuming (the target
user) when the session is created, and destroying the key when the session is torn down.
This means, for example, that when you run su(1) from an xterm session, you will be able to run X programs without explicitly dealing with
the xauth(1) xauth command or ~/.Xauthority files.
pam_xauth will only forward keys if xauth can list a key connected to the $DISPLAY environment variable.
Primitive access control is provided by ~/.xauth/export in the invoking user's home directory and ~/.xauth/import in the target user's home
directory.
If a user has a ~/.xauth/import file, the user will only receive cookies from users listed in the file. If there is no ~/.xauth/import
file, the user will accept cookies from any other user.
If a user has a .xauth/export file, the user will only forward cookies to users listed in the file. If there is no ~/.xauth/export file,
and the invoking user is not root, the user will forward cookies to any other user. If there is no ~/.xauth/export file, and the invoking
user is root, the user will not forward cookies to other users.
Both the import and export files support wildcards (such as *). Both the import and export files can be empty, signifying that no users are
allowed.
OPTIONS
debug
Print debug information.
xauthpath=/path/to/xauth
Specify the path the xauth program (it is expected in /usr/X11R6/bin/xauth, /usr/bin/xauth, or /usr/bin/X11/xauth by default).
systemuser=UID
Specify the highest UID which will be assumed to belong to a "system" user. pam_xauth will refuse to forward credentials to users with
UID less than or equal to this number, except for root and the "targetuser", if specified.
targetuser=UID
Specify a single target UID which is exempt from the systemuser check.
MODULE TYPES PROVIDED
Only the session type is provided.
RETURN VALUES
PAM_BUF_ERR
Memory buffer error.
PAM_PERM_DENIED
Permission denied by import/export file.
PAM_SESSION_ERR
Cannot determine user name, UID or access users home directory.
PAM_SUCCESS
Success.
PAM_USER_UNKNOWN
User not known.
EXAMPLES
Add the following line to /etc/pam.d/su to forward xauth keys between users when calling su:
session optional pam_xauth.so
IMPLEMENTATION DETAILS
pam_xauth will work only if it is used from a setuid application in which the getuid() call returns the id of the user running the
application, and for which PAM can supply the name of the account that the user is attempting to assume. The typical application of this
type is su(1). The application must call both pam_open_session() and pam_close_session() with the ruid set to the uid of the calling user
and the euid set to root, and must have provided as the PAM_USER item the name of the target user.
pam_xauth calls xauth(1) as the source user to extract the key for $DISPLAY, then calls xauth as the target user to merge the key into the
a temporary database and later remove the database.
pam_xauth cannot be told to not remove the keys when the session is closed.
FILES
~/.xauth/import
XXX
~/.xauth/export
XXX
SEE ALSO
pam.conf(5), pam.d(5), pam(7)
AUTHOR
pam_xauth was written by Nalin Dahyabhai <nalin@redhat.com>, based on original version by Michael K. Johnson <johnsonm@redhat.com>.
Linux-PAM Manual 06/04/2011 PAM_XAUTH(8)