Hi all!
I am new to bsd (but not to Linux) and i'm trying to compile BIRD on freebsd but unfortunatelly with no success.
I've installed the linux dependencies (linux_enable=YES)
What could cause the error?
After changing objdir:
Big thanks for suggestions!
I am new to bsd (but not to Linux) and i'm trying to compile BIRD on freebsd but unfortunatelly with no success.
I've installed the linux dependencies (linux_enable=YES)
Code:
jasper# cd /usr/src/bird-1.2.5
jasper# ./configure
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 library containing clock_gettime... none required
checking build system type... i386-unknown-freebsd8.1
checking host system type... i386-unknown-freebsd8.1
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking what CFLAGS should we use... -g -O2 -Wall -Wstrict-prototypes -Wno-parentheses -Wno-pointer-sign
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for flex... flex
checking for bison... bison
checking for gm4... gm4
checking which OS configuration should we use... ./sysdep/cf/bsd.h
checking system-dependent directories... sysdep/unix sysdep/bsd lib
checking protocols... ok
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking whether 'struct sockaddr' has sa_len... yes
checking whether byte ordering is bigendian... no
checking for char... yes
checking size of char... 1
checking for short int... yes
checking size of short int... 2
checking for int... yes
checking size of int... 4
checking for long int... yes
checking size of long int... 4
checking for 8-bit type... char
checking for 16-bit type... short int
checking for 32-bit type... int
checking usual alignment of structures... 8
checking characteristics of time_t... 32-bit signed
checking for struct ip_mreqn... yes
checking for add_history in -lhistory... yes
checking for tgetent in -lncurses... yes
checking for rl_callback_read_char in -lreadline... yes
checking for rl_crlf in -lreadline... yes
checking for rl_ding in -lreadline... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating obj/Makefile
config.status: creating obj/Rules
config.status: creating obj/sysdep/autoconf.h
config.status: executing merge commands
Merging system-dependent modules (sysdep/unix sysdep/bsd lib)
BIRD was configured with the following options:
Source directory: .
Object directory: obj
System configuration: ./sysdep/cf/bsd.h
Debugging: no
Routing protocols: bgp ospf pipe rip static
Client: yes
jasper# make
make -C obj all
make: chdir obj: No such file or directory
*** Error code 1
Stop in /usr/src/bird-1.2.5.
What could cause the error?
After changing objdir:
Code:
jasper# cat Makefile
# Makefile for in place build of BIRD
# (c) 1999--2000 Martin Mares <mj@ucw.cz>
objdir=/usr/src/bird-1.2.5/obj
all depend tags install install-docs:
$(MAKE) -C $(objdir) $@
docs userdocs progdocs:
$(MAKE) -C doc $@
clean:
$(MAKE) -C $(objdir) clean
find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name depend -or -name ".#*" | xargs rm -f
distclean: clean
$(MAKE) -C doc distclean
rm -rf $(objdir) autom4te.cache
rm -f config.* configure sysdep/autoconf.h sysdep/paths.h Makefile
jasper# make
make -C /usr/src/bird-1.2.5/obj all
"Rules", line 44: Need an operator
"Rules", line 48: Need an operator
"Rules", line 50: Need an operator
"Rules", line 55: Need an operator
Error expanding embedded variable.
*** Error code 2
Stop in /usr/src/bird-1.2.5.
Big thanks for suggestions!