Sponsored Content
Operating Systems AIX Getting error when instrumenting a C program with Purify Post 302900375 by Don Cragun on Tuesday 6th of May 2014 12:17:05 PM
Old 05-06-2014
As a wild guess, change -d 'test' to specify a full pathname for the directory; not just the final component of the directory.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Purify-SGI Fatal Error

Hi , attempting to purify code on the link line generates a fatal error like this #ERROR: (fatal) Cannot find libtest.so in the search path . command line: ------------- purify -show-directory=yes -always-use-cache-dir -cache-dir=/ppic/users/avadhani/sgi/pure /usr/bin/CC -n32 -mips3... (2 Replies)
Discussion started by: avadhani
2 Replies

2. Programming

Problem with build using Purify

Hi, I am facing problem while doing build on AIX using xlC compiler. We are using purify. Purify fails to instrument the a few libraries. Interestingly these are not developed by us and are 3rd party SW components. Can someone let me know how to proceed with the build? Here is the output... (0 Replies)
Discussion started by: asutoshch
0 Replies

3. Programming

probelm with purify

Hi, I am using purify to find memory leak in my process. When I run the instrumented program I get error I donot have this file in the specified directory. Instead I have following files in the directory /usr/lib/nls/loc/locales.2 What should I do in such case? I undersatnd... (1 Reply)
Discussion started by: shriashishpatil
1 Replies

4. AIX

Program Error

Hi, my IBM 9117-570 model (mounting SF230_126 firmware version) gives an errpt like the following. The problem is that no SRC code found at IBM information center web site. Some ideas where are those SRC searchable ? O.S. is AIX 5.2- tkx E18E984F 1119200506 P S SRC ... (0 Replies)
Discussion started by: Carmen123
0 Replies

5. AIX

Purify and AIX compiling problems.

Hi, i'm trying to work with a trial version of PurifyPlus 7 with fixpack 10 from Rational that needs to run over an AIX 5.3 platform, 64-bit. I had success on compiling and running the hello_world programs and even a hash test program i found over the net, but purify can achieve the same with the... (0 Replies)
Discussion started by: chrispav
0 Replies

6. Shell Programming and Scripting

Need help with program error

#!/bin/csh # # Time of day greeting # # usage: greet # if ($#argv == 0) then set hour = ‘date +%H’ else set hour = $argv endif # if ($hour < 12) then echo "Good Morning\!" else if ($hour < 18) then echo "Good Afternoon\!" ... (2 Replies)
Discussion started by: glock1800
2 Replies

7. UNIX for Advanced & Expert Users

Rational® Purify® compatable SW

Hi Rational® Purify® is a dynamic software analysis tool - helps to clean your own C or C++ code from memory leak problems etc. Who knows some compatable (my be freeware) software? (1 Reply)
Discussion started by: baruchgu
1 Replies

8. Programming

RHEL: Problem while using "purify gcc" for ESQL-C

Hi I am facing a problem while doing Purify Instrumentation of the Informix ESQL-C files. The system is RedHat Linux 5.6 and compiler is gcc. I have set both CC and INFORMIXC variables to "purify gcc" and compiled the source code. All the .c and .ec files were compiled successfully, but... (0 Replies)
Discussion started by: nsinha
0 Replies

9. AIX

Purify : command not found

I just installed IBM PurifyPlus on IBM AIX 5.3 and they suggested me to run the command through the following one: % purify cc -g hello_world.c but it's giving me the message that : purify command not found I need your help Thanks In Advance (10 Replies)
Discussion started by: SteAlma
10 Replies

10. AIX

Error while instrumenting purify

when i instrument ourify i am getting error like .*** OI_init: Error, cannot connect to X server Purify or PureCoverage slave: Warning: Can't open display "localhost:0", using tty mode. . Got it] I am using AIX1.6 OS i have xwin32 installed in my windows.. (1 Reply)
Discussion started by: greenworld123
1 Replies
CHDIR(2)							System Calls Manual							  CHDIR(2)

NAME
chdir - change current working directory SYNOPSIS
#include <unistd.h> int chdir(const char *path) DESCRIPTION
Path is the pathname of a directory. Chdir causes this directory to become the current working directory, the starting point for path names not beginning with ``/''. In order for a directory to become the current directory, a process must have execute (search) access to the directory. RETURN VALUE
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
Chdir will fail and the current working directory will be unchanged if one or more of the following are true: [ENOTDIR] A component of the path prefix is not a directory. [ENAMETOOLONG] The path name exceeds PATH_MAX characters. [ENOENT] The named directory does not exist. [ELOOP] Too many symbolic links were encountered in translating the pathname. (Minix-vmd) [EACCES] Search permission is denied for any component of the path name. [EFAULT] Path points outside the process's allocated address space. [EIO] An I/O error occurred while reading from or writing to the file system. SEE ALSO
chroot(2). 4th Berkeley Distribution August 26, 1985 CHDIR(2)
All times are GMT -4. The time now is 04:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy