The l_nimpid field in the .loader section header is not positive.


 
Thread Tools Search this Thread
Top Forums Programming The l_nimpid field in the .loader section header is not positive.
# 1  
Old 04-13-2007
The l_nimpid field in the .loader section header is not positive.

I get the following message while trying to run a binary, xv, on aix 5.3:

Could not load program convert:
The l_nimpid field in the .loader section header is not positive.
Examine the .loader section header with the 'dump -Hv' command.


Does anyone know what this means, or how to solve this?

The .loader section looks as follows:

***Loader Section***
Loader Header Information
VERSION# #SYMtableENT #RELOCent LENidSTR
0x00000001 0x000000e9 0x00001038 0x0000003e

#IMPfilID OFFidSTR LENstrTBL OFFstrTBL
0x00000003 0x0000d898 0x00000961 0x0000d8d6


***Import File Strings***
INDEX PATH BASE MEMBER
0 /usr/lpp/xlopt:/usr/lib:/lib
1 libc.a shr.o
2 libX11.a shr4.o
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Pivoting data based on a header field

Hi Team, Could you please help me with the below scenario. I have a file which is in the below format. Zipcode,001,001f,002,002f,003,003f,004,004f,005,005f,006,006f,007,007f 0050, ,0, ,0, ,0, ,1,*,7, ,7, ,7 0060, ,0, ,0, ,7, ,0,*,7, ,0, ,0 Would need the output as below. First field... (1 Reply)
Discussion started by: saj
1 Replies

2. Shell Programming and Scripting

Add field header and default value in awk

I am trying to add a field header Inheritence in between $9 and $10 and default the value of each line to .. The below awk is close I think. Thanks :). input R_Index Chr Start End Ref Alt Func.IDP.refGene Gene.IDP.refGene ... (4 Replies)
Discussion started by: cmccabe
4 Replies

3. Shell Programming and Scripting

awk to skip header row and add string to field

The awk below does put in VUS in the 9th field but I can not seem to skip the header then add the VUS. I tried to incorporate NR >=2 and NR > 1 with no luck. Thank you :). input Chr Start End Ref Alt Func.refGene PopFreqMax CLINSIG Classification chr1 43395635 ... (5 Replies)
Discussion started by: cmccabe
5 Replies

4. Shell Programming and Scripting

At text to field 1 of header row using awk

I am just trying to insert the word "Index" using awk. The below is close but seems to add the word at the end and I can not get the syntax correct to add from the beginning. Thank you :). awk -F'\t' -v OFS='\t' '{ $-1=$-1 OFS "Index"}$1=$1' file current output Chr Start End ... (3 Replies)
Discussion started by: cmccabe
3 Replies

5. Shell Programming and Scripting

Matching the header of a .CSV file with dynamic field names

I have a .CSV file (frequency - weekly) whose header contains the year-week value in two of the columns which keeps changing every week. For an instance please see below. Column1,Column2,Column3,Column4,Column5,Column6,Column7,Column8,Column9,Column10,Column11,Column12,Column13,201420... (4 Replies)
Discussion started by: dhruuv369
4 Replies

6. Shell Programming and Scripting

awk : Filter a set of data to parse header line and last field of multiple same match.

Hi Experts, I have a data with multiple entry , I want to filter PKG= & the last column "00060110" or "00088150" in the output file: ############################################################################################### PKG= P8SDB :: VGS = vgP8SOra vgP8SDB1 vgP8S001... (5 Replies)
Discussion started by: rveri
5 Replies

7. Shell Programming and Scripting

Flat file-make field length equal to header length

Hello Everyone, I am stuck with one issue while working on abstract flat file which i have to use as input and load data to table. Input Data- ------ ------------------------ ---- ----------------- WFI001 Xxxxxx Control Work Item A Number of Records ------ ------------------------... (5 Replies)
Discussion started by: sonali.s.more
5 Replies

8. Shell Programming and Scripting

Prepend first line of section to each line until the next section header

I have searched in a variety of ways in a variety of places but have come up empty. I would like to prepend a portion of a section header to each following line until the next section header. I have been using sed for most things up until now but I'd go for a solution in just about anything--... (7 Replies)
Discussion started by: pagrus
7 Replies

9. UNIX for Dummies Questions & Answers

Merge all csv files in one folder considering only 1 header row and ignoring header of all others

Friends, I need help with the following in UNIX. Merge all csv files in one folder considering only 1 header row and ignoring header of all other files. FYI - All files are in same format and contains same headers. Thank you (4 Replies)
Discussion started by: Shiny_Roy
4 Replies

10. Shell Programming and Scripting

Extract section of file based on word in section

I have a list of Servers in no particular order as follows: virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection). 9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Discussion started by: jelloir
2 Replies
Login or Register to Ask a Question
scnhdr(4)						     Kernel Interfaces Manual							 scnhdr(4)

NAME
scnhdr - Section header for an object file SYNOPSIS
#include <scnhdr.h> DESCRIPTION
Every object file has a group of section headers to specify the layout of the data within the file. Each section within an object file has its own header. The C structure is as follows: struct scnhdr { char s_name[8]; /* section name */ long s_paddr; /* physical address, aliased s_nlib */ long s_vaddr; /* virtual address */ long s_size; /* section size */ long s_scnptr; /* file ptr to raw data for section */ long s_relptr; /* file ptr to relocation */ long s_lnnoptr; /* special purpose */ unsigned short s_nreloc; /* number of reloc entries */ unsigned short s_nlnno; /* unused */ int s_flags; /* flags */ }; File pointers are byte offsets into the file; they can be used as the offset in a call to FSEEK (see ldfcn(4)). If a section is initial- ized, the file contains the actual bytes. An uninitialized section is somewhat different. It has a size, symbols defined in it, and sym- bols that refer to it. But it can have no relocation entries or data. Consequently, an uninitialized section has no raw data in the object file, and the values for s_scnptr, s_relptr, and s_nreloc are zero. The entries that refer to line numbers (s_lnnoptr, and s_nlnno) are not related to line number information. See the header file sym.h for the entries to get to the line number table. The entries that were for line numbers are reserved and should be set to zero. The number of relocation entries for a section is found in the s_nreloc field of the section header. Being a `C' language short, this field can overflow with large objects. If this field overflows, the section header s_flags field has the SM S_NRELOC_OVFL bit set. In this case, the true number of relocation entries is found in the r_vaddr field of the first relocation entry for that section. That relocation entry has a type of SM R_ABS, so it is ignored when the relocation takes place. RELATED INFORMATION
ld(1), fseek(3), a.out(4), reloc(4). delim off scnhdr(4)