Sponsored Content
Full Discussion: c compilation process
Top Forums Programming c compilation process Post 302169365 by fpmurphy on Thursday 21st of February 2008 04:21:48 AM
Old 02-21-2008
Open your favorate web search tool and type in "symbol table". You will find hundreds of web sites which explain what a symbol table is.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Kernel compilation

I have re-compiled kernel source code available in /usr/src/linux.2.4.20 with "make" command. The compilation is succesful. Now the problem is create the image for this. The documentation in the same folder says that now you have compile "make image". There is no option for image in Makefile. ... (3 Replies)
Discussion started by: mankrish
3 Replies

2. Solaris

compilation problem

I am compiling a software named wine When i run make then at the end following error generated. DVAPI32_ -foversion.res version.rc ld.so.1: ../../tools/wrc/wrc: fatal: relocation error: file ../../tools/wrc/wrc: symbol wine_casemap_upper: referenced symbol not found *** Signal 9 make:... (0 Replies)
Discussion started by: mansoorulhaq
0 Replies

3. Programming

compilation problem

i have a class name 1.c in tht i am using function n wich has his body in 2.c and declaration in 2.h now how can i compile 1.c. ex; 1.c int main() { //some data n(10); //somedata } ***** 2.c int n(int k) { //some data } int main() { some data (2 Replies)
Discussion started by: phani_sree
2 Replies

4. Programming

Compilation error : Please help

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

5. UNIX for Dummies Questions & Answers

Compilation program

Hi, I'm new to HP-Unix programming; I have a few programs, don't know the programming language used. I have to make minor changes and to recompile the source code. How do I find the programming language used and the compiler? Thanks, Nick. (3 Replies)
Discussion started by: NicoMan
3 Replies

6. UNIX for Dummies Questions & Answers

Compilation

Hi All, We have a C program existing in one of the folders which I have to modify a lil bit, When I'm trying to compile the program using GCC or CC command its showing as ksh: gcc: not found is that mean there is no compiler or do I have to verify for something, please advice Thank... (2 Replies)
Discussion started by: diggermf
2 Replies

7. AIX

Compilation problem

hi, I first want to apologize for my poor english ! I'm a newbe on Unix system and I have to install NRPE on an AIX 5.3. I have downloaded the NRPE Source code and i need to compile them... the problem is, when I do a: ./configure --enable-command-args --disable-ssl it returns me :... (1 Reply)
Discussion started by: Cyr1us
1 Replies

8. Programming

Compilation Error

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. Shell Programming and Scripting

Compilation

Hi All, Do we have a way to compile a shell program? I am using ksh/bash/sh and not CSH. Cheers Ravi (12 Replies)
Discussion started by: panyam
12 Replies

10. HP-UX

HP-UX uses cc -y and cc -g (-y and -g options) C compilation

Hello Experts, Would you please let me know what "-y " option does with cc compiler on HP-UX? As I am migrating application from HP-UX to RHEL 5 , at the time of running makefile make -f makefilename on Rhel 5, it is throwing error cc: unrecognized option '-y' <command line>:1:2: error:... (7 Replies)
Discussion started by: Belure Pooja B
7 Replies
ps_pglobal_lookup(3PROC)				 Process Control Library Functions				  ps_pglobal_lookup(3PROC)

NAME
ps_pglobal_lookup, ps_pglobal_sym - look up a symbol in the symbol table of the load object in the target process SYNOPSIS
#include <proc_service.h> ps_err_e ps_pglobal_lookup(struct ps_prochandle *ph, const char *object_name, const char *sym_name, psaddr_t *sym_addr); ps_err_e ps_pglobal_sym(struct ps_prochandle *ph, const char *object_name, const char *sym_name, ps_sym_t *sym); DESCRIPTION
ps_pglobal_lookup() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph. It returns the symbol's value as an address in the target process in *sym_addr. ps_pglobal_sym() looks up the symbol sym_name in the symbol table of the load object object_name in the target process identified by ph. It returns the symbol table entry in *sym. The value in the symbol table entry is the symbol's value as an address in the target process. RETURN VALUES
PS_OK The call completed successfully. PS_NOSYM The specified symbol was not found. PS_ERR The function did not return successfully. ATTRIBUTES
See attributes(5) for description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
kill(2), libc_db(3LIB), proc_service(3PROC), attributes(5), threads(5) SunOS 5.11 16 Jan 1998 ps_pglobal_lookup(3PROC)
All times are GMT -4. The time now is 08:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy