|
From: | Joao Netto - [UOL] |
Subject: | Make fail |
Date: | Tue, 22 Mar 2005 12:08:20 -0300 |
Hi,
I have a problem when I compiling zebra-0.94 in my Sparc Solaris 5.8.
See the problem below,
# ./configure --disable-ipv6 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking for gcc... gcc checking for C compiler default output... 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 ANSI C... 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 a BSD-compatible install... ./install-sh -c checking whether make sets $(MAKE)... (cached) yes checking for ar... no checking for ranlib... : checking for egrep... egrep checking for AIX... 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... no checking for unistd.h... yes checking for string.h... (cached) yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking sys/conf.h usability... yes checking sys/conf.h presence... yes checking for sys/conf.h... yes checking sys/ksym.h usability... no checking sys/ksym.h presence... no checking for sys/ksym.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sysctl.h usability... no checking sys/sysctl.h presence... no checking for sys/sysctl.h... no checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking for sys/types.h... (cached) yes checking net/if_dl.h usability... yes checking net/if_dl.h presence... yes checking for net/if_dl.h... yes checking net/if_var.h usability... no checking net/if_var.h presence... no checking for net/if_var.h... no checking linux/version.h usability... no checking linux/version.h presence... no checking for linux/version.h... no checking kvm.h usability... yes checking kvm.h presence... yes checking for kvm.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking net/netopt.h usability... no checking net/netopt.h presence... no checking for net/netopt.h... no checking netinet/in_var.h usability... no checking netinet/in_var.h presence... yes configure: WARNING: netinet/in_var.h: present but cannot be compiled configure: WARNING: netinet/in_var.h: check for missing prerequisite headers? configure: WARNING: netinet/in_var.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for netinet/in_var.h... yes checking netinet/in6_var.h usability... no checking netinet/in6_var.h presence... no checking for netinet/in6_var.h... no checking netinet/in6.h usability... no checking netinet/in6.h presence... no checking for netinet/in6.h... no checking inet/nd.h usability... yes checking inet/nd.h presence... yes checking for inet/nd.h... yes checking asm/types.h usability... no checking asm/types.h presence... no checking for asm/types.h... no checking netinet/icmp6.h usability... no checking netinet/icmp6.h presence... yes configure: WARNING: netinet/icmp6.h: present but cannot be compiled configure: WARNING: netinet/icmp6.h: check for missing prerequisite headers? configure: WARNING: netinet/icmp6.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for netinet/icmp6.h... yes checking netinet6/nd6.h usability... no checking netinet6/nd6.h presence... no checking for netinet6/nd6.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for main in -lsocket... yes checking for main in -lnsl... yes checking whether byte ordering is bigendian... yes checking for bcopy... yes checking for bzero... yes checking for strerror... yes checking for inet_aton... no checking for daemon... no checking for snprintf... yes checking for vsnprintf... yes checking for strlcat... yes checking for strlcpy... yes checking for if_nametoindex... yes checking for if_indextoname... yes checking for getifaddrs... no checking for setproctitle... no checking for setproctitle in -lutil... no checking zebra between kernel interface method... socket checking route read method check... getmsg checking interface looking up method... ioctl checking ipforward method check... solaris checking for getaddrinfo... yes checking whether does this OS have IPv6 stack... disabled checking for inet_ntop in -lc... yes checking for inet_pton in -lc... yes checking for crypt in -lcrypt... yes checking for res_init in -lresolv... yes checking for main in -lm... yes checking for __inet_ntop... no checking for __inet_pton... no checking for __inet_aton... no checking for regexec in -lc... yes checking whether struct sockaddr has a sa_len field... no checking whether struct sockaddr_in has a sin_len field... no checking whether struct sockaddr_un has a sun_len field... no checking whther socklen_t is defined... yes checking whether struct sockaddr_dl exist... yes checking whether struct ifaliasreq exist... no checking whether struct if6_aliasreq exist... no checking whether struct rt_addrinfo exist... no checking whether struct in_pktinfo exist... no checking whether getrusage is available... yes checking pid file directory... /var/run checking for working htonl... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating zebra/Makefile config.status: creating ripd/Makefile config.status: creating ripngd/Makefile config.status: creating bgpd/Makefile config.status: creating ospfd/Makefile config.status: creating ospf6d/Makefile config.status: creating vtysh/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands
zebra configuration ------------------- zebra version : 0.94 host operationg system : solaris2.8 source code location : . compiler : gcc compiler flags : -g -O2 -Wall directory for pid files : /var/run
# make make all-recursive make[1]: Entering directory `/export/home/jnetto/tmp/zebra/zebra-0.94' Making all in lib make[2]: Entering directory `/export/home/jnetto/tmp/zebra/zebra-0.94/lib' echo '' >version.c echo 'char *host_name = "";' >>version.c source='version.c' object='version.o' libtool=no \ depfile='.deps/version.Po' tmpdepfile='.deps/version.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'version.c' || echo './'`version.c source='network.c' object='network.o' libtool=no \ depfile='.deps/network.Po' tmpdepfile='.deps/network.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'network.c' || echo './'`network.c source='pid_output.c' object='pid_output.o' libtool=no \ depfile='.deps/pid_output.Po' tmpdepfile='.deps/pid_output.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'pid_output.c' || echo './'`pid_output.c source='getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'getopt.c' || echo './'`getopt.c source='getopt1.c' object='getopt1.o' libtool=no \ depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'getopt1.c' || echo './'`getopt1.c source='daemon.c' object='daemon.o' libtool=no \ depfile='.deps/daemon.Po' tmpdepfile='.deps/daemon.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'daemon.c' || echo './'`daemon.c source='print_version.c' object='print_version.o' libtool=no \ depfile='.deps/print_version.Po' tmpdepfile='.deps/print_version.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'print_version.c' || echo './'`print_version.c source='checksum.c' object='checksum.o' libtool=no \ depfile='.deps/checksum.Po' tmpdepfile='.deps/checksum.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'checksum.c' || echo './'`checksum.c source='vector.c' object='vector.o' libtool=no \ depfile='.deps/vector.Po' tmpdepfile='.deps/vector.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'vector.c' || echo './'`vector.c source='linklist.c' object='linklist.o' libtool=no \ depfile='.deps/linklist.Po' tmpdepfile='.deps/linklist.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'linklist.c' || echo './'`linklist.c source='vty.c' object='vty.o' libtool=no \ depfile='.deps/vty.Po' tmpdepfile='.deps/vty.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'vty.c' || echo './'`vty.c source='command.c' object='command.o' libtool=no \ depfile='.deps/command.Po' tmpdepfile='.deps/command.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'command.c' || echo './'`command.c source='sockunion.c' object='sockunion.o' libtool=no \ depfile='.deps/sockunion.Po' tmpdepfile='.deps/sockunion.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'sockunion.c' || echo './'`sockunion.c source='prefix.c' object='prefix.o' libtool=no \ depfile='.deps/prefix.Po' tmpdepfile='.deps/prefix.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'prefix.c' || echo './'`prefix.c source='thread.c' object='thread.o' libtool=no \ depfile='.deps/thread.Po' tmpdepfile='.deps/thread.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'thread.c' || echo './'`thread.c source='if.c' object='if.o' libtool=no \ depfile='.deps/if.Po' tmpdepfile='.deps/if.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'if.c' || echo './'`if.c source='memory.c' object='memory.o' libtool=no \ depfile='.deps/memory.Po' tmpdepfile='.deps/memory.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'memory.c' || echo './'`memory.c source='buffer.c' object='buffer.o' libtool=no \ depfile='.deps/buffer.Po' tmpdepfile='.deps/buffer.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'buffer.c' || echo './'`buffer.c source='table.c' object='table.o' libtool=no \ depfile='.deps/table.Po' tmpdepfile='.deps/table.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'table.c' || echo './'`table.c source='hash.c' object='hash.o' libtool=no \ depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'hash.c' || echo './'`hash.c source='filter.c' object='filter.o' libtool=no \ depfile='.deps/filter.Po' tmpdepfile='.deps/filter.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'filter.c' || echo './'`filter.c source='routemap.c' object='routemap.o' libtool=no \ depfile='.deps/routemap.Po' tmpdepfile='.deps/routemap.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'routemap.c' || echo './'`routemap.c source='distribute.c' object='distribute.o' libtool=no \ depfile='.deps/distribute.Po' tmpdepfile='.deps/distribute.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'distribute.c' || echo './'`distribute.c source='stream.c' object='stream.o' libtool=no \ depfile='.deps/stream.Po' tmpdepfile='.deps/stream.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'stream.c' || echo './'`stream.c source='str.c' object='str.o' libtool=no \ depfile='.deps/str.Po' tmpdepfile='.deps/str.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'str.c' || echo './'`str.c source='log.c' object='log.o' libtool=no \ depfile='.deps/log.Po' tmpdepfile='.deps/log.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'log.c' || echo './'`log.c source='plist.c' object='plist.o' libtool=no \ depfile='.deps/plist.Po' tmpdepfile='.deps/plist.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'plist.c' || echo './'`plist.c source='zclient.c' object='zclient.o' libtool=no \ depfile='.deps/zclient.Po' tmpdepfile='.deps/zclient.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'zclient.c' || echo './'`zclient.c source='sockopt.c' object='sockopt.o' libtool=no \ depfile='.deps/sockopt.Po' tmpdepfile='.deps/sockopt.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'sockopt.c' || echo './'`sockopt.c source='smux.c' object='smux.o' libtool=no \ depfile='.deps/smux.Po' tmpdepfile='.deps/smux.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'smux.c' || echo './'`smux.c source='md5.c' object='md5.o' libtool=no \ depfile='.deps/md5.Po' tmpdepfile='.deps/md5.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'md5.c' || echo './'`md5.c source='keychain.c' object='keychain.o' libtool=no \ depfile='.deps/keychain.Po' tmpdepfile='.deps/keychain.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'keychain.c' || echo './'`keychain.c rm -f libzebra.a cru libzebra.a version.o network.o pid_output.o getopt.o getopt1.o daemon.o print_version.o checksum.o vector.o linklist.o vty.o command.o sockunion.o prefix.o thread.o if.o memory.o buffer.o table.o hash.o filter.o routemap.o distribute.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o keychain.o /bin/bash: cru: command not found make[2]: *** [libzebra.a] Error 127 make[2]: Leaving directory `/export/home/jnetto/tmp/zebra/zebra-0.94/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/jnetto/tmp/zebra/zebra-0.94' make: *** [all] Error 2
How can I do to resolve this problem ?
Best Regards,
Netto, Joao |
[Prev in Thread] | Current Thread | [Next in Thread] |