Hi,  I have been trying to install Zebra on a z/VM-Linux 390 virtual machine
and
have a problem with the make process.

Everything appears to go well until .....
rt_socket.c: In function `kernel_rtm_ipv4':
rt_socket.c:100: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:100: (Each undeclared identifier is reported only once
rt_socket.c:100: for each function it appears in.)
rt_socket.c:105: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv4':
rt_socket.c:183: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv4':
rt_socket.c:189: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_rtm_ipv6_multipath':
rt_socket.c:317: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:322: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv6':
rt_socket.c:417: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6':
rt_socket.c:423: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6_old':
rt_socket.c:431: `RTM_DELETE' undeclared (first use in this function)
make[2]: *** [rt_socket.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a/zebra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.39744 (%build)

I looked earlier in the process and found
zebra configuration
-------------------
zebra version           : 0.92a
host operationg system  :
source code location    : .
compiler                : gcc
compiler flags          : -g -O2 -Wall
directory for pid files : /var/run

+ make
make  all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a'
Making all in lib
make[2]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a/lib'
echo '' >version.c
echo 'char *host_name = "s390x-unknown-linux-gnu";' >>version.c
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/\" -I.. -I.. -I../lib    -g -O2 -Wal
l -c version.c

and even earlier
+ ./configure --prefix=/usr --sysconfdir=/etc
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking build system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for s390x-unknown-linux-gnu-ar... ar

any help would be appreciated

Mick Megson

Reply via email to