Skip to contentSkip to conversation

fadsrom -> mkrombin

DISCUSSION [email protected] 1 participant 1 message Dec 9, 1999

lore
Share & tools
lore
#0 lore raw

After some little changes I'm now able to compile fadsrom.

(I had to define __fswab16, __fswab32 and ffz)

Next problem: mkrombin doesn't work. It fails with an output message of

"something wrong with file fadsrom" in line 63

I compiled mkrombin with debug options and had a look why it fails.

It expects a value of 2 for nscns but it gets:

(gdb) print nscns
$3 = 512
(gdb)

whereas nscns is basically a copy of ehp->e_phnum

(gdb) print *ehp
$1 = {e_ident = "\177ELF\001\002\001\000\000\000\000\000\000\000\000", e_type = 512, e_machine = 5120, e_version = 16777216, e_entry = 254, e_phoff = 872415232, e_shoff = 3837985280, e_flags = 0, e_ehsize = 13312, e_phentsize = 8192, e_phnum = 512, e_shentsize = 10240, e_shnum = 2560, e_shstrndx = 1792}
(gdb)

Any ideas? Is cross-"mkrombin" a problem? (We develop on Intel)

Ruedi