Created
May 1, 2016 19:37
-
-
Save anonymous/c9e563aaab53e1ebe790c0023c596438 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ SYSTEMTAP_VERSION="3.0" | |
$ ELFUTILS_VERSION="0.164" | |
$ ./configure --exec-prefix=/data/systemtap-$SYSTEMTAP_VERSION-macharm --prefix=/data/systemtap-$SYSTEMTAP_VERSION-macharm --host=arm-linux-gnueabi CXXFLAGS=-static CFLAGS=-static --disable-translator --disable-docs --disable-refdocs --disable-grapher --without-rpm --with-elfutils=/data/elfutils-$ELFUTILS_VERSION --enable-kernel=3.4.0 | |
$ make | |
... | |
... | |
make[3]: Entering directory `/tmp/md/data/systemtap-3.0/staprun' | |
CC libstrfloctime_a-strfloctime.o | |
AR libstrfloctime.a | |
CC staprun-staprun.o | |
CC staprun-staprun_funcs.o | |
CC staprun-ctl.o | |
CC staprun-common.o | |
CXX ../staprun-privilege.o | |
CXX ../staprun-util.o | |
CXXLD staprun | |
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lelf | |
../staprun-util.o: In function `get_gid': | |
util.cxx:(.text+0xcd8): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking | |
../staprun-util.o: In function `get_home_directory()': | |
util.cxx:(.text+0x44): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking | |
collect2: error: ld returned 1 exit status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment