#276 Problem building on FreeBSD 8.0

build
open
nobody
utilities (15)
5
2010-01-03
2010-01-03
Pedro F. Giffuni
No

===> Configuring for jfsutils-1.1.14
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) gawk
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ln... /bin/ln
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
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 endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
checking for unistd.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... no
checking sys/sysmacros.h presence... no
checking for sys/sysmacros.h... no
checking sys/disklabel.h usability... yes
checking sys/disklabel.h presence... yes
checking for sys/disklabel.h... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working memcmp... yes
checking for getcwd... yes
checking for getmntinfo... yes
checking for strtol... yes
checking for strtoul... yes
checking for posix_memalign... yes
checking for memalign... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libfs/Makefile
config.status: creating include/Makefile
config.status: creating fsck/Makefile
config.status: creating fscklog/Makefile
config.status: creating logdump/Makefile
config.status: creating mkfs/Makefile
config.status: creating tune/Makefile
config.status: creating xpeek/Makefile
config.status: creating jfsutils.spec
config.status: creating config.h
config.status: executing depfiles commands
===> Building for jfsutils-1.1.14
gmake all-recursive
gmake[1]: Entering directory `/usr/ports/sysutils/jfsutils/work/jfsutils-1.1.14'
Making all in libfs
gmake[2]: Entering directory `/usr/ports/sysutils/jfsutils/work/jfsutils-1.1.14/libfs'
cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=athlon-mp -MT fssubs.o -MD -MP -MF .deps/fssubs.Tpo -c -o fssubs.o fssubs.c
fssubs.c: In function 'Is_Device_Mounted':
fssubs.c:274: error: 'ST_NOWAIT' undeclared (first use in this function)
fssubs.c:274: error: (Each undeclared identifier is reported only once
fssubs.c:274: error: for each function it appears in.)
fssubs.c:274: warning: passing argument 1 of 'getmntinfo' from incompatible pointer type
fssubs.c:284: error: 'struct statvfs' has no member named 'f_mntfromname'
fssubs.c:290: error: 'struct statvfs' has no member named 'f_fstypename'
fssubs.c: In function 'Is_Device_Type_JFS':
fssubs.c:327: error: 'ST_NOWAIT' undeclared (first use in this function)
fssubs.c:327: warning: passing argument 1 of 'getmntinfo' from incompatible pointer type
fssubs.c:337: error: 'struct statvfs' has no member named 'f_mntfromname'
fssubs.c:343: error: 'struct statvfs' has no member named 'f_fstypename'
gmake[2]: *** [fssubs.o] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/jfsutils/work/jfsutils-1.1.14/libfs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/jfsutils/work/jfsutils-1.1.14'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/sysutils/jfsutils.

Discussion