Building the Strace Package

From Linux/Xtensa
Jump to navigation Jump to search
   [root@hifi ~]# cd /home/default/src/strace-4.5.15
   [root@hifi strace-4.5.15]# ./configure           
   checking for a BSD-compatible install... /usr/bin/install -c 
   checking whether build environment is sane... yes            
   checking for gawk... no                                      
   checking for mawk... no                                      
   checking for nawk... no                                      
   checking for awk... awk                                      
   checking whether make sets $(MAKE)... yes                    
   checking whether to enable maintainer-specific portions of Makefiles... no
   checking build system type... xtensa_test_mmuhifi_c3-unknown-linux-uclibc 
   checking host system type... xtensa_test_mmuhifi_c3-unknown-linux-uclibc  
   checking for supported operating system... linux                          
   checking for supported architecture... xtensa                             
   checking for gcc... gcc                                                   
   checking for C compiler default output file name... a.out                 
   checking whether the C compiler works... yes                              
   checking whether we are cross compiling... no                             
   checking for suffix of executables...                                     
   checking for suffix of object files... o                                  
   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 for style of include used by make... GNU                                                                                                      
   checking dependency style of gcc... gcc3                                                                                                               
   checking how to run the C preprocessor... gcc -E                                                                                                       
   checking for grep that handles long lines and -e... /bin/grep                                                                                          
   checking for egrep... /bin/grep -E                                                                                                                     
   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 minix/config.h usability... no                                                                                                                              
   checking minix/config.h presence... no                                                                                                                               
   checking for minix/config.h... no                                                                                                                                    
   checking whether it is safe to define __EXTENSIONS__... yes                                                                                                          
   checking for primary include directory... /usr/include                                                                                                               
   checking how to run the C preprocessor... gcc -E                                                                                                                     
   checking whether gcc needs -traditional... no                                                                                                                              
   checking for a BSD-compatible install... /usr/bin/install -c                                                                                                               
   checking for an ANSI C-conforming const... yes                                                                                                                      
   checking for ANSI C header files... (cached) yes                                                                                                                    
   checking for dirent.h that defines DIR... yes                                                                                                                       
   checking for library containing opendir... none required                                                                                                            
   checking whether stat file-mode macros are broken... no                                                                                                             
   checking for struct stat.st_blksize... yes                                                                                                                          
   checking for struct stat.st_blocks... yes                                                                                                                           
   checking for struct stat.st_aclcnt... no                                                                                                                            
   checking for struct stat.st_flags... no                                                                                                                             
   checking for struct stat.st_fstype... no                                                                                                                            
   checking for struct stat.st_gen... no                                                                                                                               
   checking for struct stat.st_level... no                                                                                                                             
   checking for struct stat.st_rdev... yes                                                                                                                             
   checking for stat64 in (asm|sys)/stat.h... yes                                                                                                                      
   checking for statfs64 in sys/(statfs|vfs).h... yes                                                                                                                  
   checking return type of signal handlers... void                                                                                                                     
   checking for uid_t in sys/types.h... yes                                                                                                                            
   checking for mode_t... yes                                                                                                                                          
   checking type of array argument to getgroups... gid_t                                                                                                               
   checking whether sys/types.h defines makedev... yes                                                                                                                 
   checking for sig_atomic_t... yes                                                                                                                                    
   checking for siginfo_t... yes                                                                                                                                       
   checking for struct sockaddr_in6.sin6_scope_id... yes                                                                                                               
   checking for long long... yes                                                                                                                                       
   checking for little endian long long... yes                                                                                                                         
   checking for long long off_t... no                                                                                                                                  
   checking for long long rlim_t... no                                                                                                                                 
   checking for struct opthdr... no                                                                                                                                    
   checking for struct t_opthdr... no                                                                                                                                  
   checking for sigaction... yes                                                                                                                                       
   checking for strerror... yes                                                                                                                                        
   checking for strsignal... yes                                                                                                                                       
   checking for pread... yes                                                                                                                                           
   checking for sys_siglist... no                                                                                                                                      
   checking for _sys_siglist... no                                                                                                                                     
   checking for getdents... no                                                                                                                                         
   checking for mctl... no                                                                                                                                             
   checking for prctl... yes                                                                                                                                           
   checking for sendmsg... yes                                                                                                                                         
   checking for inet_ntop... yes                                                                                                                                       
   checking for if_indextoname... yes                                                                                                                                  
   checking sys/reg.h usability... no                                                                                                                                  
   checking sys/reg.h presence... no                                                                                                                                   
   checking for sys/reg.h... no                                                                                                                                        
   checking sys/filio.h usability... no                                                                                                                                
   checking sys/filio.h presence... no                                                                                                                                 
   checking for sys/filio.h... no                                                                                                                                      
   checking sys/acl.h usability... no                                                                                                                                  
   checking sys/acl.h presence... no                                                                                                                                   
   checking for sys/acl.h... no                                                                                                                                        
   checking sys/asynch.h usability... no                                                                                                                               
   checking sys/asynch.h presence... no                                                                                                                                
   checking for sys/asynch.h... no                                                                                                                                     
   checking sys/door.h usability... no                                                                                                                                 
   checking sys/door.h presence... no                                                                                                                                  
   checking for sys/door.h... no                                                                                                                                       
   checking stropts.h usability... no                                                                                                                                  
   checking stropts.h presence... no                                                                                                                                   
   checking for stropts.h... no                                                                                                                                        
   checking sys/conf.h usability... no                                                                                                                                 
   checking sys/conf.h presence... no                                                                                                                                  
   checking for sys/conf.h... no                                                                                                                                       
   checking sys/stream.h usability... no                                                                                                                               
   checking sys/stream.h presence... no                                                                                                                                
   checking for sys/stream.h... no                                                                                                                                     
   checking sys/tihdr.h usability... no                                                                                                                                
   checking sys/tihdr.h presence... no                                                                                                                                 
   checking for sys/tihdr.h... no                                                                                                                                      
   checking sys/tiuser.h usability... no                                                                                                                               
   checking sys/tiuser.h presence... no                                                                                                                                
   checking for sys/tiuser.h... no                                                                                                                                     
   checking sys/sysconfig.h usability... no                                                                                                                            
   checking sys/sysconfig.h presence... no                                                                                                                             
   checking for sys/sysconfig.h... no                                                                                                                                  
   checking ioctls.h usability... no                                                                                                                                   
   checking ioctls.h presence... no                                                                                                                                    
   checking for ioctls.h... no                                                                                                                                         
   checking sys/ioctl.h usability... yes                                                                                                                               
   checking sys/ioctl.h presence... yes                                                                                                                                
   checking for sys/ioctl.h... yes                                                                                                                                     
   checking sys/ptrace.h usability... yes                                                                                                                              
   checking sys/ptrace.h presence... yes                                                                                                                               
   checking for sys/ptrace.h... yes                                                                                                                                    
   checking termio.h usability... yes                                                                                                                                  
   checking termio.h presence... yes                                                                                                                                   
   checking for termio.h... yes                                                                                                                                        
   checking linux/ptrace.h usability... yes                                                                                                                            
   checking linux/ptrace.h presence... yes                                                                                                                             
   checking for linux/ptrace.h... yes                                                                                                                                  
   checking asm/reg.h usability... no                                                                                                                                  
   checking asm/reg.h presence... no                                                                                                                                   
   checking for asm/reg.h... no                                                                                                                                        
   checking sys/uio.h usability... yes                                                                                                                                 
   checking sys/uio.h presence... yes                                                                                                                                  
   checking for sys/uio.h... yes                                                                                                                                       
   checking sys/aio.h usability... no                                                                                                                                  
   checking sys/aio.h presence... no                                                                                                                                   
   checking for sys/aio.h... no                                                                                                                                        
   checking poll.h usability... yes                                                                                                                                    
   checking poll.h presence... yes                                                                                                                                     
   checking for poll.h... yes                                                                                                                                          
   checking sys/poll.h usability... yes                                                                                                                                
   checking sys/poll.h presence... yes                                                                                                                                 
   checking for sys/poll.h... yes                                                                                                                                      
   checking sys/vfs.h usability... yes                                                                                                                                 
   checking sys/vfs.h presence... yes                                                                                                                                  
   checking for sys/vfs.h... yes                                                                                                                                       
   checking asm/sysmips.h usability... no                                                                                                                              
   checking asm/sysmips.h presence... no                                                                                                                               
   checking for asm/sysmips.h... no                                                                                                                                    
   checking linux/utsname.h usability... yes                                                                                                                           
   checking linux/utsname.h presence... yes                                                                                                                            
   checking for linux/utsname.h... yes                                                                                                                                 
   checking sys/nscsys.h usability... no                                                                                                                               
   checking sys/nscsys.h presence... no                                                                                                                                
   checking for sys/nscsys.h... no                                                                                                                                     
   checking mqueue.h usability... yes                                                                                                                                  
   checking mqueue.h presence... yes                                                                                                                                   
   checking for mqueue.h... yes                                                                                                                                        
   checking sys/epoll.h usability... yes                                                                                                                               
   checking sys/epoll.h presence... yes                                                                                                                                
   checking for sys/epoll.h... yes                                                                                                                                     
   checking libaio.h usability... no                                                                                                                                   
   checking libaio.h presence... no                                                                                                                                    
   checking for libaio.h... no                                                                                                                                         
   checking for inttypes.h... (cached) yes                                                                                                                             
   checking for linux/icmp.h... yes                                                                                                                                    
   checking for linux/in6.h... yes                                                                                                                                     
   checking for linux/netlink.h... yes                                                                                                                                 
   checking for linux/if_packet.h... yes                                                                                                                               
   checking for asm/sigcontext.h... no                                                                                                                                 
   checking for netinet/tcp.h... yes                                                                                                                                   
   checking for netinet/udp.h... yes                                                                                                                                   
   checking for MP procfs... no                                                                                                                                        
   checking for pollable procfs... no                                                                                                                                  
   checking for struct msghdr.msg_control... yes                                                                                                                       
   checking for pr_syscall in struct prstatus... no                                                                                                                    
   checking for struct T_conn_res.QUEUE_ptr... no                                                                                                                      
   checking for struct T_conn_res.ACCEPTOR_id... no                                                                                                                    
   checking for struct __old_kernel_stat... no                                                                                                                         
   checking for struct pt_all_user_regs... no                                                                                                                          
   checking for struct ia64_fpreg... no                                                                                                                                
   checking for struct user_desc... no                                                                                                                                 
   checking for struct dqblk.dqb_curblocks... yes                                                                                                                      
   checking whether sys_errlist is declared... no                                                                                                                      
   checking whether sys_siglist is declared... no                                                                                                                      
   checking whether _sys_siglist is declared... no                                                                                                                     
   checking for perl... no                                                                                                                                             
   configure: creating ./config.status                                                                                                                                 
   config.status: creating Makefile                                                                                                                                    
   config.status: creating config.h                                                                                                                                    
   config.status: executing depfiles commands                                                                                                                          
                                                                                                                                                                       
                                                                                                                                                                       
   [root@hifi strace-4.5.15]# make                                                                                                                               
   make  all-am                                                                                                                                                        
   make[1]: Entering directory `/home/default/src/strace-4.5.15'                                                                                                       
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT strace.o -MD -MP -MF ".deps/strace.Tpo" -\                  
           then mv -f ".deps/strace.Tpo" ".deps/strace.Po"; else rm -f ".deps/strace.Tpo"; exit 1; fi                                                                  
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT syscall.o -MD -MP -MF ".deps/syscall.Tpo"\                  
           then mv -f ".deps/syscall.Tpo" ".deps/syscall.Po"; else rm -f ".deps/syscall.Tpo"; exit 1; fi                                                               
   syscall.c:645: warning: 'decode_subcall' defined but not used                                                                                                       
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT count.o -MD -MP -MF ".deps/count.Tpo" -c \                  
           then mv -f ".deps/count.Tpo" ".deps/count.Po"; else rm -f ".deps/count.Tpo"; exit 1; fi                                                                     
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o\                  
           then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi                                                                        
   util.c: In function 'printcall':                                                                                                                                    
   util.c:1231: warning: pointer targets in passing argument 3 of 'upeek' differ in signedness                                                                         
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT desc.o -MD -MP -MF ".deps/desc.Tpo" -c -o\                  
           then mv -f ".deps/desc.Tpo" ".deps/desc.Po"; else rm -f ".deps/desc.Tpo"; exit 1; fi                                                                        
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o\                  
           then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi                                                                        
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT ipc.o -MD -MP -MF ".deps/ipc.Tpo" -c -o i\                  
           then mv -f ".deps/ipc.Tpo" ".deps/ipc.Po"; else rm -f ".deps/ipc.Tpo"; exit 1; fi                                                                           
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT io.o -MD -MP -MF ".deps/io.Tpo" -c -o io.\                  
           then mv -f ".deps/io.Tpo" ".deps/io.Po"; else rm -f ".deps/io.Tpo"; exit 1; fi                                                                              
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT ioctl.o -MD -MP -MF ".deps/ioctl.Tpo" -c \                  
           then mv -f ".deps/ioctl.Tpo" ".deps/ioctl.Po"; else rm -f ".deps/ioctl.Tpo"; exit 1; fi                                                                     
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT mem.o -MD -MP -MF ".deps/mem.Tpo" -c -o m\                  
           then mv -f ".deps/mem.Tpo" ".deps/mem.Po"; else rm -f ".deps/mem.Tpo"; exit 1; fi                                                                           
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o n\                  
           then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi                                                                           
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT process.o -MD -MP -MF ".deps/process.Tpo"\                  
           then mv -f ".deps/process.Tpo" ".deps/process.Po"; else rm -f ".deps/process.Tpo"; exit 1; fi                                                               
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT bjm.o -MD -MP -MF ".deps/bjm.Tpo" -c -o b\                  
           then mv -f ".deps/bjm.Tpo" ".deps/bjm.Po"; else rm -f ".deps/bjm.Tpo"; exit 1; fi                                                                           
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT quota.o -MD -MP -MF ".deps/quota.Tpo" -c \                  
           then mv -f ".deps/quota.Tpo" ".deps/quota.Po"; else rm -f ".deps/quota.Tpo"; exit 1; fi                                                                     
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT resource.o -MD -MP -MF ".deps/resource.Tp\                  
           then mv -f ".deps/resource.Tpo" ".deps/resource.Po"; else rm -f ".deps/resource.Tpo"; exit 1; fi                                                            
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT signal.o -MD -MP -MF ".deps/signal.Tpo" -\                  
           then mv -f ".deps/signal.Tpo" ".deps/signal.Po"; else rm -f ".deps/signal.Tpo"; exit 1; fi                                                                  
   signal.c:1448:2: warning: #warning No sys_sigreturn() for this architecture                                                                                         
   signal.c:1449:2: warning: #warning (no problem, just a reminder :-)                                                                                                 
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT sock.o -MD -MP -MF ".deps/sock.Tpo" -c -o\                  
           then mv -f ".deps/sock.Tpo" ".deps/sock.Po"; else rm -f ".deps/sock.Tpo"; exit 1; fi                                                                        
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT system.o -MD -MP -MF ".deps/system.Tpo" -\                  
           then mv -f ".deps/system.Tpo" ".deps/system.Po"; else rm -f ".deps/system.Tpo"; exit 1; fi                                                                  
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT term.o -MD -MP -MF ".deps/term.Tpo" -c -o\                  
           then mv -f ".deps/term.Tpo" ".deps/term.Po"; else rm -f ".deps/term.Tpo"; exit 1; fi                                                                        
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT time.o -MD -MP -MF ".deps/time.Tpo" -c -o\                  
           then mv -f ".deps/time.Tpo" ".deps/time.Po"; else rm -f ".deps/time.Tpo"; exit 1; fi                                                                        
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT proc.o -MD -MP -MF ".deps/proc.Tpo" -c -o\                  
           then mv -f ".deps/proc.Tpo" ".deps/proc.Po"; else rm -f ".deps/proc.Tpo"; exit 1; fi                                                                        
   if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/xtensa -I./linux/xtensa -Ilinux -I./linux   -Wall -g -O2 -MT stream.o -MD -MP -MF ".deps/stream.Tpo" -\                  
           then mv -f ".deps/stream.Tpo" ".deps/stream.Po"; else rm -f ".deps/stream.Tpo"; exit 1; fi                                                                  
   gcc -Wall -g -O2   -o strace  strace.o syscall.o count.o util.o desc.o file.o ipc.o io.o ioctl.o mem.o net.o process.o bjm.o quota.o resource.o s                   
   make[1]: Leaving directory `/home/default/src/strace-4.5.15'                                                                                                        
    
   
   [root@hifi strace-4.5.15]# make install
   make  install-am
   make[1]: Entering directory `/home/default/src/strace-4.5.15'
   make[2]: Entering directory `/home/default/src/strace-4.5.15'
   test -z "/usr/local/bin" || /bin/sh ./mkinstalldirs "/usr/local/bin"
   mkdir /usr/local/bin
     /usr/bin/install -c 'strace' '/usr/local/bin/strace'
   test -z "/usr/local/bin" || /bin/sh ./mkinstalldirs "/usr/local/bin"
    /usr/bin/install -c 'strace-graph' '/usr/local/bin/strace-graph'
   test -z "/usr/local/share/man/man1" || /bin/sh ./mkinstalldirs "/usr/local/share/man/man1"
   mkdir /usr/local/share
   mkdir /usr/local/share/man
   mkdir /usr/local/share/man/man1
    /usr/bin/install -c -m 644 './strace.1' '/usr/local/share/man/man1/strace.1'
   make[2]: Leaving directory `/home/default/src/strace-4.5.15'
   make[1]: Leaving directory `/home/default/src/strace-4.5.15'
   [root@hifi strace-4.5.15]#