I was trying to build w3m and when it tried to build boehm-gc as a
dependency that failed. Does anyone know what the problem is?
Please CC me, I'm nott on the list.

$ cd /usr/ports/devel/boehm-gc
$ sudo make
===>  boehm-gc-6.2p1 depends on: metaauto-0.5 - found
===>  boehm-gc-6.2p1 depends on: autoconf-2.54p1 - found
===>  boehm-gc-6.2p1 depends on: libtool-1.5.22p0 - found
===>  Checking files for boehm-gc-6.2p1
`/mnt/cf/distfiles/gc6.2.tar.gz' is up to date.
Checksum OK for gc6.2.tar.gz. (sha1)
===>  Extracting for boehm-gc-6.2p1
===>  Patching for boehm-gc-6.2p1
Running autoconf-2.54 in /usr/ports/devel/boehm-gc/w-boehm-gc-6.2p1/gc6.2
Touching ./include/Makefile.am
Touching ./doc/Makefile.am
Touching ./Makefile.am
Touching configure.in
Touching acinclude.m4
Touching aclocal.m4
Touching ./include/Makefile.in
Touching ./doc/Makefile.in
Touching ./Makefile.in
Touching configure
===>  Configuring for boehm-gc-6.2p1
configure: loading site script /usr/ports/infrastructure/db/config.site
checking build system type... arm-unknown-openbsd4.0
checking host system type... arm-unknown-openbsd4.0
checking target system type... arm-unknown-openbsd4.0
checking GC version numbers... major=6 minor=2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g bin
checking whether build environment is sane... yes
checking for gawk... (cached) nawk
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... cc
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... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... gcc3
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /usr/bin/install -c -o root -g bin
checking whether to enable maintainer-specific portions of Makefiles... no
checking for thread model used by GCC... single
checking for dlopen in -ldl... no
checking whether to build shared libraries... yes
checking which machine-dependent code should be used...
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic ELF
[0-9][0-9]*-bit [LM]SB shared object
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... cc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... openbsd4.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking if host is AViiON running DGUX... checking sys/dg_sys_info.h
usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
no
checking whether Solaris gcc optimization fix is necessary... no
configure: WARNING: "Must define GC_DEBUG and use debug alloc. in clients."
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: executing depfiles commands
config.status: executing default commands
===>  Building for boehm-gc-6.2p1
Making all in doc
Making all in include
source='allchblk.c' object='allchblk.lo' libtool=yes
depfile='.deps/allchblk.Plo' tmpdepfile='.deps/allchblk.TPlo'
depmode=gcc3 /bin/sh ./depcomp  /usr/local/bin/libtool  --mode=compile
cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\"
-DPACKAGE_VERSION=\"6.2\" -DPACKAGE_STRING=\"gc\ 6.2\"
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DGC_VERSION_MAJOR=6
-DGC_VERSION_MINOR=2 -DPACKAGE=\"gc\" -DVERSION=\"6.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-DKEEP_BACK_PTRS=1 -DDBG_HDRS_ALL=1 -I./include     -fexceptions -O2
-pipe -fexceptions -c -o allchblk.lo `test -f 'allchblk.c' || echo
'./'`allchblk.c
mkdir .libs
cc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\"
-DPACKAGE_VERSION=\"6.2\" "-DPACKAGE_STRING=\"gc 6.2\""
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DGC_VERSION_MAJOR=6
-DGC_VERSION_MINOR=2 -DPACKAGE=\"gc\" -DVERSION=\"6.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-DKEEP_BACK_PTRS=1 -DDBG_HDRS_ALL=1 -I./include -fexceptions -O2 -pipe
-fexceptions -c allchblk.c -MT allchblk.lo -MD -MP -MF
.deps/allchblk.TPlo  -fPIC -DPIC -o .libs/allchblk.o
In file included from include/private/gc_priv.h:66,
                from allchblk.c:19:
include/private/gcconfig.h:443: error: syntax error before '--' token
In file included from include/private/gc_priv.h:66,
                from allchblk.c:19:
include/private/gcconfig.h:442:1: unterminated #ifndef
include/private/gcconfig.h:25:1: unterminated #ifndef
In file included from allchblk.c:19:
include/private/gc_priv.h:65:1: unterminated #ifndef
include/private/gc_priv.h:19:1: unterminated #ifndef
*** Error code 1

Stop in /usr/ports/devel/boehm-gc/w-boehm-gc-6.2p1/gc6.2.
*** Error code 1

Stop in /usr/ports/devel/boehm-gc/w-boehm-gc-6.2p1/gc6.2 (line 577 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/boehm-gc (line 1942 of
/usr/ports/infrastructure/mk/bsd.port.mk).

Reply via email to