cross architecture use of ksymoops on debian
I am trying to decode a kernel oops from a mips machine (it is running
OpenWrt) and I want to do it on my PC. When I do:-
ksymoops -a ?
I get
Architectures supported by your libbfd
i386
i386:x86-64
i8086
i386:intel
i386:x86-64:intel
I installed binutils-multiarch, but I still get the same answer from
ksymoops -a ?.
Looking in /usr/lib I have:-
ls /usr/lib/libopcodes* -la
-rw-r--r-- 1 root root 191760 2007-05-14
10:12 /usr/lib/libopcodes-2.17.50.20070426.so
-rw-r--r-- 1 root root 1162212 2007-05-14
10:12 /usr/lib/libopcodes-2.17.50-multiarch.20070426.so
-rw-r--r-- 1 root root 2989172 2007-05-14 10:12 /usr/lib/libopcodes.a
-rw-r--r-- 1 root root 534640 2007-05-14 10:11 /usr/lib/libopcodes-single.a
lrwxrwxrwx 1 root root 30 2007-05-17 10:24 /usr/lib/libopcodes.so ->
libopcodes-2.17.50.20070426.so
Which looks wrong, surely libopcodes.so should link to the multiarch version,
and libbfd has the same pattern and similarly looks wrong.
Should I just adjust the links by hand, or have I installed it wrong. I
did an apt-get install binutils-multiarch, which pulled in binutils and
binutils-dev as well.
David
Reply to: