#27 Failing to compile on AIX 4.1.5

open
nobody
5
2015-01-16
2003-03-12
No

I've been trying to compile afbackup with not much luck
on a AIX 4.1.5 system. I've been using the Install script
provided but I alway get the same error:

Running configure now ...

loading cache ./config.cache
checking for ranlib... (cached) ranlib
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) cc -
E
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for POSIXized ISC... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) no
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for LC_MESSAGES... (cached) yes
checking whether NLS is requested... yes
checking for gettext... (cached) no
checking whether included gettext is requested... no
checking for libintl.h... (cached) no
checking whether catgets can be used... no
checking for msgfmt... (cached) msgfmt
checking for gmsgfmt... (cached) msgfmt
checking for xgettext... (cached) :
checking for catalogs to be installed... it de
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for intl/locale.h... (cached) no
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for mntent.h... (cached) no
checking for netinet/ip.h... (cached) yes
checking for netinet/tcp.h... (cached) yes
checking for netinet/in_systm.h... (cached) yes
checking for pthread.h... (cached) yes
checking for regex.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/acl.h... (cached) yes
checking for sys/fs_types.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/mode.h... (cached) yes
checking for sys/mntctl.h... (cached) yes
checking for sys/mnttab.h... (cached) no
checking for sys/mount.h... (cached) no
checking for sys/mtio.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/statfs.h... (cached) yes
checking for sys/statvfs.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/timers.h... (cached) yes
checking for sys/ucred.h... (cached) no
checking for sys/vfs.h... (cached) yes
checking for sys/vmount.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for termios.h... (cached) yes
checking for termio.h... (cached) yes
checking for time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for values.h... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking whether time.h and sys/time.h may both be
included... (cached) yes
checking whether struct tm is in sys/time.h or time.h...
(cached) time.h
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for 8-bit clean memcmp... (cached) yes
checking return type of signal handlers... (cached) void
checking whether utime accepts a null argument...
(cached) yes
checking for vprintf... (cached) yes
checking for a BSD compatible install... ./install-sh -c
checking for sys_errlist declaration... (cached) no
checking for signal_t... (cached) yes
checking for pthread_join in -lpthread... (cached) no
checking for pthread_join in -lthread... (cached) no
checking for pthread_join... (cached) no
checking for FreeBSD-like pthreads... (cached) no
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking for bsearch... (cached) yes
checking for door_create... (cached) no
checking for drand48... (cached) yes
checking for endmntent... (cached) no
checking for getcwd... (cached) yes
checking for getfsstat... (cached) no
checking for getmntent... (cached) no
checking for gettimeofday... (cached) yes
checking for inet_ntoa... (cached) yes
checking for isatty... (cached) yes
checking for isnan... (cached) no
checking for lchown... (cached) yes
checking for lfind... (cached) yes
checking for lsearch... (cached) yes
checking for madvise... (cached) yes
checking for memmove... (cached) yes
checking for mkfifo... (cached) yes
checking for mktime... (cached) yes
checking for mnt_names... (cached) no
checking for mntctl... (cached) yes
checking for putenv... (cached) yes
checking for qsort... (cached) yes
checking for rand... (cached) yes
checking for re_comp... (cached) yes
checking for regcomp... (cached) yes
checking for re_compile_pattern... (cached) no
checking for rint... (cached) yes
checking for seed48... (cached) yes
checking for select... (cached) yes
checking for setenv... (cached) no
checking for seteuid... (cached) yes
checking for setreuid... (cached) yes
checking for setresuid... (cached) no
checking for setegid... (cached) yes
checking for setmntent... (cached) no
checking for setregid... (cached) yes
checking for setresgid... (cached) no
checking for setitimer... (cached) yes
checking for sighold... (cached) yes
checking for sigrelse... (cached) yes
checking for socket... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for strcasestr... (cached) no
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strrstr... (cached) no
checking for strstr... (cached) yes
checking for timer_create... (cached) no
checking for uname... (cached) yes
checking for acl... (cached) no
checking for setacl... (cached) no
checking for chacl... (cached) yes
checking for sys_errlist... (cached) no
checking for stat64... (cached) no
checking for statfs... (cached) yes
checking for statvfs... (cached) yes
checking for unsetenv... (cached) no
checking for vsnprintf... (cached) yes
checking for vsyslog... (cached) no
checking for environ array... (cached) yes
checking for acl_get_file in -lacl... (cached) no
checking for acl_get_file in -lpacl... (cached) no
checking for acl_get_file in -lattr... (cached) no
checking for acl_get_file... (cached) no
creating ./config.status
creating lconf.h
creating budefs.h
creating des_aux.h
creating Makefile
creating server.conf
creating client.conf
creating shwish.head
creating xcc
creating xsc
creating xrs
creating xss
creating clientconfig
creating serverconfig
creating autocptapes
creating afclient.8
creating cartis.8
creating cartready.8
creating afserver.8
creating afmserver.8
creating label_tape.8
creating cart_ctl.8
creating full_backup.8
creating incr_backup.8
creating afrestore.8
creating afverify.8
creating update_indexes.8
creating copy_tape.8
creating xafrestore.8
creating afclient.conf.8
creating afserver.conf.8
creating CONFIG
creating intl/Makefile
creating po/Makefile.in
creating config.h
config.h is unchanged
linking ./intl/libgettext.h to intl/libintl.h

Running make now ...

gcc -c -I. -I/u/local/lib/zlib-1.1.4/include -DAIX_4 -
DOSNAME=AIX_4 -DUSE_ZLIB
-O2 -DORIG_DEFAULTS -
DLOCALEDIR=\"/usr/local/afbackup/common/share/local
e\" un
pack.c
In file included from conf.h:66,
from unpack.c:15:
/usr/include/sys/vfs.h:154: warning: `struct statfs'
declared inside parameter l
ist
/usr/include/sys/vfs.h:154: warning: its scope is only
this definition or declar
ation, which is probably not what you want.
unpack.c: In function `pack_verify':
unpack.c:3394: `fd_set' undeclared (first use in this
function)
unpack.c:3394: (Each undeclared identifier is reported
only once
unpack.c:3394: for each function it appears in.)
unpack.c:3394: parse error before `rfds'
unpack.c:4108: `rfds' undeclared (first use in this
function)
unpack.c:4156: `wfds' undeclared (first use in this
function)
gmake: *** [unpack.o] Error 1

Damn. Something went wrong. Please contact the
author.
Stopping here.

Any ideas

Thanks

Jason

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks