Sponsored Content
Full Discussion: ld.so.1: relocation error
Top Forums Programming ld.so.1: relocation error Post 302135471 by sanjasam on Monday 10th of September 2007 03:47:55 AM
Old 09-10-2007
ld.so.1: relocation error

Hi Iam getting the following error...
ld.so.1: xxxx: fatal: relocation error: file /home/costar4/bin/xxxx: symbol __1cH__rwstdUInterlockedIncrement6Fpl_l_: referenced symbol not found.

Can anyone tell me anything in this ?

Thanks,
Sanja
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

relocation error

when running make command i'm getting the following error: make:relocation error:make:symbol_sprintf_chk,version GLIBC_2.3.4 not defined in file libc.so.6 with link time reference... plz tell me what to do abt this... (1 Reply)
Discussion started by: abhi1826
1 Replies

2. Programming

relocation truncated to fit errors

I have 2 directories: a1 and b1 Directory b1 depends on directory a1 Using directory a1, I create a1.lib Using directory b1, I create b1.lib Now, using a1 and b1, I create a shared object ab1.so I've been able to build ab1.so just fine. I made an update to file b1.c and am now getting a... (1 Reply)
Discussion started by: houdini_1
1 Replies

3. UNIX for Advanced & Expert Users

relocation error: yyparse referenced symbol not found

This is my set up: LD_LIBRARY_PATH=/apps/rogue_wave_sol7/workspaces/workshop6_u1/4d/lib:/apps/fu/section20/vendorLib/EMS/4.2/lib:/home/a487891/cppunit/lib:/usr/openwin/lib:/usr/lib ldd -d TestDatalinkTradeRouter libintl.so => /usr/lib/libintl.so libw.so.1 => /usr/lib/libw.so.1... (2 Replies)
Discussion started by: agilgeous
2 Replies

4. Solaris

fatal: relocation error: R_SPARC_WDISP22

Hello, I wonder if anyone has a clue what could be wrong. I get the following error on SUN Netra-T4 server when some applications try to start (e.g. slpd) also even if I try commands such as "jar" I get the same error: ld.so.1: /usr/java1.2/jre/bin/sparc/native_threads/java: fatal:... (3 Replies)
Discussion started by: Juha
3 Replies

5. Linux

relocation truncated to fit

Hi, I am getting linking error i.e. /ade/aime_urtk/oracle/has/include/caa_ResStateListener.hxx:79: relocation truncated to fit: R_PPC_GO T16 vtable for CAA::ResourceStateListener /ade/aime_urtk/oracle/has/lib//libcaad.a(caa_Main.o)(.text+0x88e6): In function `CAA::ResourceStateL... (0 Replies)
Discussion started by: jgobbur
0 Replies

6. UNIX for Advanced & Expert Users

"relocation error" when installing app

I'm trying to install Urchin5 log analyzer and I get the following message: Sadly, I'm not all that good at lib tracing and troubleshooting, but I did attempt a few things. First, since this is a VPS, I can compare to the baseline fileset, and other servers on which this works. I used MD5 as a... (3 Replies)
Discussion started by: treesloth
3 Replies

7. Web Development

Svn repository relocation

Hi, I have a svn setup with multiple code repositories. Recently the filesystem holds the repository got full and i wanted to have to move some code repositories to another filesystem. I copied some of the code repositored using the "mv" command to another filesystem and created a symlink with... (1 Reply)
Discussion started by: arumon
1 Replies

8. Shell Programming and Scripting

Need to execute Oracle relocation command in shell script

Hello, I need to execute below command in shell script srvctl relocate service -d $database -s $service -i $avail -t $pref -f and also need to get the errors ,if any,in another file. What's the right way to execute such commands in shell script? Best regards, Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies

9. Shell Programming and Scripting

Relocation strings

Hi all, I would like to relocate strings based on the index number. Index numbers are shown on the first column, the strings are shown on the second column. 1 path_sparc_ifu_dec_104 1 path_sparc_ifu_dec_105 2 path_sparc_ifu_dec_63 2 ... (3 Replies)
Discussion started by: jypark22
3 Replies
reloc(4)						     Kernel Interfaces Manual							  reloc(4)

NAME
reloc - Relocation information for an object file SYNOPSIS
#include <reloc.h> DESCRIPTION
Object files have one relocation entry for each relocatable reference in the text or data. If relocation information is present, it will be in the following format. struct reloc { long r_vaddr ; /* (virtual) address of reference */ unsigned r_symndx ; /* index into symbol table */ unsigned r_type:8 ; /* relocation type */ unsigned r_extern:1 ; /* if 1 symndx is an index into the external table the external table, else symndx is a section # */ unsigned r_offset;6 ; /* for R_OP_STORE, quad based LE bit offset */ unsigned r_reserved;11; /* Must be zero */ unsigned r_size;6 ; /* R_OP_STORE, bit size */ } ; /* Relocation types */ #define R_ABS 0 #define R_REFLONG 1 #define R_REFQUAD 2 #define R_GPREL32 3 #define R_LITERAL 4 #define R_LITUSE 5 #define R_GPDISP 6 #define R_BRADDR 7 #define R_HINT 8 #define R_SREL16 9 /* self relative 16 bit offset */ #define R_SREL32 10 /* self relative 32 bit offset */ #define R_SREL64 11 /* self relative 64-bit offset */ #define R_OP_PUSH 12 /* stack[++tos] = relocate(vaddr) */ #define R_OP_STORE 13 /* vaddr(r_offset:r_size = stack[tos--] */ #define R_OP_PSUB 14 /* stack[tos] = stack[tos] - relocate(vaddr) */ #define R_OP_PRSHIFT 15 /* stack[tos] = stack[tos] >> relocate(vaddr) */ #define R_GPVALUE 16 /* Section numbers */ #define R_SN_NULL 0 #define R_SN_TEXT 1 #define R_SN_RDATA 2 #define R_SN_DATA 3 #define R_SN_SDATA 4 #define R_SN_SBSS 5 #define R_SN_BSS 6 #define R_SN_INIT 7 #define R_SN_LIT8 8 #define R_SN_LIT4 9 #define R_SN_XDATA 10 #define R_SN_PDATE 11 #define R_SN_FINI 12 #define R_SN_LITA 13 #define R_SN_ABS 14 The link editor (ld) reads each input section and performs relocation. The relocation entries direct how references found within the input section are treated. If r_extern is zero then it is a local relocation entry and then r_symndx is a section number (R_SN_*). For these entries the starting address for the section referenced by the section number is used in place of an external symbol table entry's value. For every external relocation (except R_ABS) a signed constant is added to the symbol's virtual address that the relocation entry refers to. This constant is assembled at the address being relocated. R_ABS A relocation has already been performed. R_REFLONG A 32-bit reference to the symbol's virtual address. R_REFQUAD A 64-bit reference to the symbol's virtual address. R_GPREL32 A 32-bit displacement from the global pointer to the symbol's virtual address. R_LITERAL A reference to a literal in the literal address pool as an offset from the global pointer. R_LITUSE Identifies usage of a lteral address previously loaded into a register. The r_symndx field identifies the specific usage of the register. See the Assembly Language Programmer's Guide for more information. R_GPDISP Identifies an lda/ldah instruction pair that is used to initialize a procedure's global-pointer register. The r_symndx contains a byte offset, which, when added to the r_vaddr field results in the address of the other instruction of the pair. R_BRADDR A 21-bit branch reference to the symbol's virtual address. R_HINT A 14-bit jsr hint reference to the symbol's virtual address. R_SREL16 A 16-bit self-relative reference to the symbol's virtual address. R_SREL32 A 32-bit self-relative reference to the symbols's virtual address. R_SREL64 A 64-bit self-relative reference to the symbol's virtual address. R_OP_PUSH Push symbol's virtual address on relocation expression stack. R_OP_STORE Pop value from the relocation expression stack and store at the symbol's virtual address. The r_size field determines the number of bits stored. The r_offset field designates the bit offset from the symbol to the target. R_OP_PSUB Pop value from the relocation expression stack and subtract the symbol's virtual address. The result is pushed on the relocation expression stack. R_OP_PRSHIFT Pop value from the relocation expression stack and shift right by the symbol's value. The result is pushed on the reloca- tion stack. R_GPVALUE Specifies a new gp value is to be used starting with the address specified by the r_vaddr field. The gp value is the sum of the optional header's gp_value field and the r_symndx field. The r_extern field must be zero. RELATED INFORMATION
as(1), ld(1), a.out(4), syms(4), scnhdr(4). Assembly Language Programmer's Guide delim off reloc(4)
All times are GMT -4. The time now is 07:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy