Operating System - HP-UX
1826373 Members
4405 Online
109692 Solutions
New Discussion

Re: a.out header checksum error

 
Matthew Toy
New Member

a.out header checksum error

Hi there,

I am looking for the algorithm specification for the checksum field in an a.out header (in ) so that I can write my own .o file and have it accepted by ld without a header checksum error.

Any suggestions would be welcome.

Thanks,
Matthew
1 REPLY 1
Prafulla_2
New Member

Re: a.out header checksum error

I presume that the a.out file is in elf format. At the moment i have the library (libelf) for linux and man pages for some unix. I did a google search for libelf.h & got am rpm for linux. Better still, do a google search for elf_fsize(3) & follow links recursively.

HTH

P.S: PLEASE keep me posted on ur checksum work.