Skip to content

Instantly share code, notes, and snippets.

@hirose31
Created December 9, 2011 10:26
Show Gist options
  • Save hirose31/1451019 to your computer and use it in GitHub Desktop.
Save hirose31/1451019 to your computer and use it in GitHub Desktop.
$ make
make all-am
make[1]: Entering directory `/home/hirose31/repos/ftrace-0.93'
gcc -fPIC -shared -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lglib-2.0 -o libftrace.so libftrace_so-libftrace.o libftrace_so-prototype.o -ldwarf -lpthread -ldl -lelf
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libdwarf.a(dwarf_die_deliv.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libdwarf.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libftrace.so] Error 1
make[1]: Leaving directory `/home/hirose31/repos/ftrace-0.93'
make: *** [all] Error 2
@MUSENS
Copy link

MUSENS commented Apr 26, 2022

Hi, have you resolved this problem?

@hirose31
Copy link
Author

hirose31 commented Apr 27, 2022

I haven't make in 11 years and failed! 😦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment