Compiling ksymoops tool on Ubuntu 12.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I need to build ksymoops tool as standalone for kernel panic analyse.



ksymoops source code can be downloaded from this link



When I compile it on Ubuntu 12.04 it shows error:



/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `bfd_compress_section_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:100: undefined reference to `compressBound'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:106: undefined reference to `compress'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `decompress_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:61: undefined reference to `inflateEnd'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:49: undefined reference to `inflateInit_'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:59: undefined reference to `inflateReset'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:56: undefined reference to `inflate'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(plugin.o): In function `try_load_plugin':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:134: undefined reference to `dlopen'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:141: undefined reference to `dlsym'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:137: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [ksymoops] Error 1









share|improve this question























  • ksymoops is useless since kernel 2.6; see oops-tracing.txt in the kernel documentation.
    – Stephen Kitt
    May 28 '15 at 4:51










  • "ksymoops has been removed from the kernel. It was always meant to be a free standing utility, not linked to any particular kernel version." I want to use this tool as standalone tool, I'm modifying driver for kernel and kernel panic at booting time
    – Dai Nguyen-Van
    May 28 '15 at 8:00











  • That quote dates back to 1999; things have changed since then.
    – Stephen Kitt
    May 28 '15 at 8:06










  • I got it from hardkernel source code for Odroidxu3 board v3.10. Maybe I have to find other ways. Thanks for your comment @Stephen
    – Dai Nguyen-Van
    May 28 '15 at 8:22














up vote
0
down vote

favorite












I need to build ksymoops tool as standalone for kernel panic analyse.



ksymoops source code can be downloaded from this link



When I compile it on Ubuntu 12.04 it shows error:



/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `bfd_compress_section_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:100: undefined reference to `compressBound'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:106: undefined reference to `compress'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `decompress_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:61: undefined reference to `inflateEnd'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:49: undefined reference to `inflateInit_'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:59: undefined reference to `inflateReset'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:56: undefined reference to `inflate'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(plugin.o): In function `try_load_plugin':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:134: undefined reference to `dlopen'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:141: undefined reference to `dlsym'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:137: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [ksymoops] Error 1









share|improve this question























  • ksymoops is useless since kernel 2.6; see oops-tracing.txt in the kernel documentation.
    – Stephen Kitt
    May 28 '15 at 4:51










  • "ksymoops has been removed from the kernel. It was always meant to be a free standing utility, not linked to any particular kernel version." I want to use this tool as standalone tool, I'm modifying driver for kernel and kernel panic at booting time
    – Dai Nguyen-Van
    May 28 '15 at 8:00











  • That quote dates back to 1999; things have changed since then.
    – Stephen Kitt
    May 28 '15 at 8:06










  • I got it from hardkernel source code for Odroidxu3 board v3.10. Maybe I have to find other ways. Thanks for your comment @Stephen
    – Dai Nguyen-Van
    May 28 '15 at 8:22












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I need to build ksymoops tool as standalone for kernel panic analyse.



ksymoops source code can be downloaded from this link



When I compile it on Ubuntu 12.04 it shows error:



/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `bfd_compress_section_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:100: undefined reference to `compressBound'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:106: undefined reference to `compress'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `decompress_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:61: undefined reference to `inflateEnd'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:49: undefined reference to `inflateInit_'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:59: undefined reference to `inflateReset'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:56: undefined reference to `inflate'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(plugin.o): In function `try_load_plugin':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:134: undefined reference to `dlopen'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:141: undefined reference to `dlsym'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:137: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [ksymoops] Error 1









share|improve this question















I need to build ksymoops tool as standalone for kernel panic analyse.



ksymoops source code can be downloaded from this link



When I compile it on Ubuntu 12.04 it shows error:



/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `bfd_compress_section_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:100: undefined reference to `compressBound'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:106: undefined reference to `compress'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(compress.o): In function `decompress_contents':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:61: undefined reference to `inflateEnd'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:49: undefined reference to `inflateInit_'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:59: undefined reference to `inflateReset'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/compress.c:56: undefined reference to `inflate'
/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib/libbfd.a(plugin.o): In function `try_load_plugin':
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:134: undefined reference to `dlopen'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:141: undefined reference to `dlsym'
/build/buildd/binutils-2.22/builddir-single/bfd/../../bfd/plugin.c:137: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make: *** [ksymoops] Error 1






ubuntu compiling kernel-panic






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 at 22:26









Rui F Ribeiro

38.2k1475125




38.2k1475125










asked May 28 '15 at 2:24









Dai Nguyen-Van

1266




1266











  • ksymoops is useless since kernel 2.6; see oops-tracing.txt in the kernel documentation.
    – Stephen Kitt
    May 28 '15 at 4:51










  • "ksymoops has been removed from the kernel. It was always meant to be a free standing utility, not linked to any particular kernel version." I want to use this tool as standalone tool, I'm modifying driver for kernel and kernel panic at booting time
    – Dai Nguyen-Van
    May 28 '15 at 8:00











  • That quote dates back to 1999; things have changed since then.
    – Stephen Kitt
    May 28 '15 at 8:06










  • I got it from hardkernel source code for Odroidxu3 board v3.10. Maybe I have to find other ways. Thanks for your comment @Stephen
    – Dai Nguyen-Van
    May 28 '15 at 8:22
















  • ksymoops is useless since kernel 2.6; see oops-tracing.txt in the kernel documentation.
    – Stephen Kitt
    May 28 '15 at 4:51










  • "ksymoops has been removed from the kernel. It was always meant to be a free standing utility, not linked to any particular kernel version." I want to use this tool as standalone tool, I'm modifying driver for kernel and kernel panic at booting time
    – Dai Nguyen-Van
    May 28 '15 at 8:00











  • That quote dates back to 1999; things have changed since then.
    – Stephen Kitt
    May 28 '15 at 8:06










  • I got it from hardkernel source code for Odroidxu3 board v3.10. Maybe I have to find other ways. Thanks for your comment @Stephen
    – Dai Nguyen-Van
    May 28 '15 at 8:22















ksymoops is useless since kernel 2.6; see oops-tracing.txt in the kernel documentation.
– Stephen Kitt
May 28 '15 at 4:51




ksymoops is useless since kernel 2.6; see oops-tracing.txt in the kernel documentation.
– Stephen Kitt
May 28 '15 at 4:51












"ksymoops has been removed from the kernel. It was always meant to be a free standing utility, not linked to any particular kernel version." I want to use this tool as standalone tool, I'm modifying driver for kernel and kernel panic at booting time
– Dai Nguyen-Van
May 28 '15 at 8:00





"ksymoops has been removed from the kernel. It was always meant to be a free standing utility, not linked to any particular kernel version." I want to use this tool as standalone tool, I'm modifying driver for kernel and kernel panic at booting time
– Dai Nguyen-Van
May 28 '15 at 8:00













That quote dates back to 1999; things have changed since then.
– Stephen Kitt
May 28 '15 at 8:06




That quote dates back to 1999; things have changed since then.
– Stephen Kitt
May 28 '15 at 8:06












I got it from hardkernel source code for Odroidxu3 board v3.10. Maybe I have to find other ways. Thanks for your comment @Stephen
– Dai Nguyen-Van
May 28 '15 at 8:22




I got it from hardkernel source code for Odroidxu3 board v3.10. Maybe I have to find other ways. Thanks for your comment @Stephen
– Dai Nguyen-Van
May 28 '15 at 8:22















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f206008%2fcompiling-ksymoops-tool-on-ubuntu-12-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f206008%2fcompiling-ksymoops-tool-on-ubuntu-12-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?