You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
cd ~/Downloads
sudo apt-get install autoconf automake autotools-dev g++ pkg-config python-dev libtool make
git clone https://github.com/uber/pyflame.git
cd pyflame
./autogen.sh
./configure
make
make check
make install
Result:
Reading package lists...
Building dependency tree...
Reading state information...
autoconf is already the newest version.
automake is already the newest version.
autotools-dev is already the newest version.
g++ is already the newest version.
libtool is already the newest version.
make is already the newest version.
pkg-config is already the newest version.
python-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
fatal: destination path 'pyflame' already exists and is not an empty directory.
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
configure: Threading support will be disabled (only works on x86-64)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gawk... (cached) mawk
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking linux/ptrace.h usability... yes
checking linux/ptrace.h presence... yes
checking for linux/ptrace.h... yes
checking whether C++ compiler accepts "-std=c++11"... yes
checking whether C++ compiler accepts -Wall... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getpagesize... (cached) yes
checking for memmove... yes
checking for munmap... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PY26... yes
checking for PY34... yes
checking for PY36... no
configure: WARNING: Building without Python 3.6 support
configure: Found at least one copy of Python.h
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in src
make[1]: Entering directory `/home/ubuntu/Downloads/pyflame/src'
make all-am
make[2]: Entering directory `/home/ubuntu/Downloads/pyflame/src'
depbase=`echo ptrace.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=c++11 -Wall -MT ptrace.o -MD -MP -MF $depbase.Tpo -c -o ptrace.o ptrace.cc &&\
mv -f $depbase.Tpo $depbase.Po
ptrace.cc: In function ‘pyflame::user_regs_struct pyflame::PtraceGetRegs(pid_t)’:
ptrace.cc:125:48: error: return type ‘struct pyflame::user_regs_struct’ is incomplete
struct user_regs_struct PtraceGetRegs(pid_t pid) {
^
ptrace.cc:125:48: error: new declaration ‘void pyflame::PtraceGetRegs(pid_t)’
In file included from ptrace.cc:15:0:
./ptrace.h:42:25: error: ambiguates old declaration ‘pyflame::user_regs_struct pyflame::PtraceGetRegs(pid_t)’
struct user_regs_struct PtraceGetRegs(pid_t pid);
^
ptrace.cc:126:27: error: aggregate ‘pyflame::user_regs_struct regs’ has incomplete type and cannot be defined
struct user_regs_struct regs;
^
ptrace.cc: In function ‘void pyflame::PtraceSetRegs(pid_t, pyflame::user_regs_struct)’:
ptrace.cc:135:6: error: ‘regs’ has incomplete type
void PtraceSetRegs(pid_t pid, struct user_regs_struct regs) {
^
In file included from ptrace.cc:15:0:
./ptrace.h:42:8: error: forward declaration of ‘struct pyflame::user_regs_struct’
struct user_regs_struct PtraceGetRegs(pid_t pid);
^
make[2]: *** [ptrace.o] Error 1
make[2]: Leaving directory `/home/ubuntu/Downloads/pyflame/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/Downloads/pyflame/src'
make: *** [all-recursive] Error 1
Making check in src
make[1]: Entering directory `/home/ubuntu/Downloads/pyflame/src'
depbase=`echo ptrace.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=c++11 -Wall -MT ptrace.o -MD -MP -MF $depbase.Tpo -c -o ptrace.o ptrace.cc &&\
mv -f $depbase.Tpo $depbase.Po
ptrace.cc: In function ‘pyflame::user_regs_struct pyflame::PtraceGetRegs(pid_t)’:
ptrace.cc:125:48: error: return type ‘struct pyflame::user_regs_struct’ is incomplete
struct user_regs_struct PtraceGetRegs(pid_t pid) {
^
ptrace.cc:125:48: error: new declaration ‘void pyflame::PtraceGetRegs(pid_t)’
In file included from ptrace.cc:15:0:
./ptrace.h:42:25: error: ambiguates old declaration ‘pyflame::user_regs_struct pyflame::PtraceGetRegs(pid_t)’
struct user_regs_struct PtraceGetRegs(pid_t pid);
^
ptrace.cc:126:27: error: aggregate ‘pyflame::user_regs_struct regs’ has incomplete type and cannot be defined
struct user_regs_struct regs;
^
ptrace.cc: In function ‘void pyflame::PtraceSetRegs(pid_t, pyflame::user_regs_struct)’:
ptrace.cc:135:6: error: ‘regs’ has incomplete type
void PtraceSetRegs(pid_t pid, struct user_regs_struct regs) {
^
In file included from ptrace.cc:15:0:
./ptrace.h:42:8: error: forward declaration of ‘struct pyflame::user_regs_struct’
struct user_regs_struct PtraceGetRegs(pid_t pid);
^
make[1]: *** [ptrace.o] Error 1
make[1]: Leaving directory `/home/ubuntu/Downloads/pyflame/src'
make: *** [check-recursive] Error 1
Making install in src
make[1]: Entering directory `/home/ubuntu/Downloads/pyflame/src'
depbase=`echo ptrace.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -g -O2 -std=c++11 -Wall -MT ptrace.o -MD -MP -MF $depbase.Tpo -c -o ptrace.o ptrace.cc &&\
mv -f $depbase.Tpo $depbase.Po
ptrace.cc: In function ‘pyflame::user_regs_struct pyflame::PtraceGetRegs(pid_t)’:
ptrace.cc:125:48: error: return type ‘struct pyflame::user_regs_struct’ is incomplete
struct user_regs_struct PtraceGetRegs(pid_t pid) {
^
ptrace.cc:125:48: error: new declaration ‘void pyflame::PtraceGetRegs(pid_t)’
In file included from ptrace.cc:15:0:
./ptrace.h:42:25: error: ambiguates old declaration ‘pyflame::user_regs_struct pyflame::PtraceGetRegs(pid_t)’
struct user_regs_struct PtraceGetRegs(pid_t pid);
^
ptrace.cc:126:27: error: aggregate ‘pyflame::user_regs_struct regs’ has incomplete type and cannot be defined
struct user_regs_struct regs;
^
ptrace.cc: In function ‘void pyflame::PtraceSetRegs(pid_t, pyflame::user_regs_struct)’:
ptrace.cc:135:6: error: ‘regs’ has incomplete type
void PtraceSetRegs(pid_t pid, struct user_regs_struct regs) {
^
In file included from ptrace.cc:15:0:
./ptrace.h:42:8: error: forward declaration of ‘struct pyflame::user_regs_struct’
struct user_regs_struct PtraceGetRegs(pid_t pid);
^
make[1]: *** [ptrace.o] Error 1
make[1]: Leaving directory `/home/ubuntu/Downloads/pyflame/src'
make: *** [install-recursive] Error 1
uname -a:
Linux tegra-ubuntu 3.10.40-ga7da876 #1 SMP PREEMPT Tue Jun 7 21:05:06 PDT 2016 armv7l armv7l armv7l GNU/Linux
tegra-ubuntu (aka L4T) is based on ubuntu 14.04, with support for GPU processing (CUDA).
The text was updated successfully, but these errors were encountered:
Build script:
Result:
uname -a:
Linux tegra-ubuntu 3.10.40-ga7da876 #1 SMP PREEMPT Tue Jun 7 21:05:06 PDT 2016 armv7l armv7l armv7l GNU/Linux
tegra-ubuntu (aka L4T) is based on ubuntu 14.04, with support for GPU processing (CUDA).
The text was updated successfully, but these errors were encountered: