inn 2.4.1 failed (aix)

Carlos Robinson carlos at
Thu Mar 18 18:05:44 UTC 2004

Tried to update my inn 2.4.0 to 2.4.1 and the gcc compile
failed on AIX, see below:

# gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3/specs
Configured with: ./configure 
Thread model: aix
gcc version 3.3
# uname -a
AIX olditsa 1 5 000397734C00
# oslevel
# ./configure --with-sendmail=/usr/local/lib --with-perl
loading cache ./config.cache
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 how to run the C preprocessor... (cached) gcc -E
checking for AIX... yes
checking for POSIXized ISC... no
checking for object suffix... (cached) o
checking if gcc supports -c -o file.o... (cached) yes
checking host system type... powerpc-ibm-aix5.1.0.0
checking if BerkeleyDB is desired... no
checking if OpenSSL is desired... no
checking if SASL is desired... no
checking whether gcc needs -traditional... (cached) no
checking for flex... (cached) lex
checking for yywrap in -ll... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for bison... no
checking for byacc... no
checking for ctags... (cached) /bin/ctags
checking for awk... (cached) /bin/awk
checking for egrep... (cached) /bin/egrep
checking for perl... (cached) /bin/perl
checking for sh... (cached) /bin/sh
checking for sed... (cached) /bin/sed
checking for sort... (cached) /bin/sort
checking for Perl version... (cached) 5.008
checking for gpgv... no
checking for pgpv... (cached) /usr/local/bin/pgp
checking for wget... no
checking for ncftpget... no
checking for ncftp... no
checking for compress... (cached) /bin/compress
checking for gzip... (cached) /bin/gzip
checking for sendmail... /usr/local/lib
checking for uustat... (cached) DO
checking for library containing setproctitle... (cached) no
checking for pstat... (cached) no
checking for library containing gethostbyname... (cached) none required
checking for library containing socket... (cached) none required
checking for library containing inet_aton... (cached) none required
checking for library containing crypt... (cached) none required
checking for library containing getspnam... (cached) no
checking for library containing dbm_open... (cached) none required
checking for library containing pam_start... (cached) -lpam
checking for library containing krb5_parse_name... (cached) no
checking for krb5_init_ets... (cached) no
checking for Perl linkage... /usr/local/lib/perl5/5.8.0/aix
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for crypt.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for limits.h... (cached) yes
checking for ndbm.h... (cached) yes
checking for pam/pam_appl.h... (cached) no
checking for stdbool.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) no
checking for string.h... (cached) yes
checking for sys/bitypes.h... (cached) no
checking for sys/filio.h... (cached) no
checking for sys/loadavg.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/sysinfo.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether h_errno must be declared... (cached) no
checking whether inet_aton must be declared... (cached) no
checking whether inet_ntoa must be declared... (cached) no
checking whether snprintf must be declared... (cached) no
checking whether vsnprintf must be declared... (cached) no
checking whether byte ordering is bigendian... (cached) yes
checking for working const... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for ssize_t... (cached) yes
checking for C99 variadic macros... (cached) yes
checking for GNU-style variadic macros... (cached) yes
checking for long long int... (cached) yes
checking for sig_atomic_t... (cached) yes
checking for socklen_t... (cached) yes
checking value of IOV_MAX... (cached) set in limits.h
checking for SUN_LEN... (cached) yes
checking for tm_gmtoff in struct tm... (cached) no
checking for tm_zone in struct tm... (cached) no
checking for timezone variable... (cached) no
checking for tzname variable... (cached) yes
checking size of int... (cached) 4
checking for int32_t... (cached) yes
checking for uint32_t... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking return type of signal handlers... (cached) void
checking for working inet_ntoa... (cached) yes
checking whether struct sockaddr has sa_len... (cached) yes
checking for SA_LEN(s) macro... (cached) no
checking for struct sockaddr_storage... (cached) yes
checking for RFC 2553 style sockaddr_storage member names... (cached) yes
checking for working snprintf... (cached) no
checking for atexit... (cached) yes
checking for getloadavg... (cached) no
checking for getrlimit... (cached) yes
checking for getrusage... (cached) yes
checking for getspnam... (cached) no
checking for setbuffer... (cached) yes
checking for sigaction... (cached) yes
checking for setgroups... (cached) yes
checking for setrlimit... (cached) yes
checking for setsid... (cached) yes
checking for socketpair... (cached) yes
checking for statvfs... (cached) yes
checking for strncasecmp... (cached) yes
checking for strtoul... (cached) yes
checking for symlink... (cached) yes
checking for sysconf... (cached) yes
checking for fseeko... (cached) yes
checking for ftello... (cached) yes
checking for getpagesize... (cached) yes
checking for hstrerror... (cached) yes
checking for inet_aton... (cached) yes
checking for mkstemp... (cached) yes
checking for pread... (cached) yes
checking for pwrite... (cached) yes
checking for seteuid... (cached) yes
checking for strcasecmp... (cached) yes
checking for strerror... (cached) yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for strspn... (cached) yes
checking for setenv... (cached) yes
checking for working mmap... (cached) yes
checking for madvise... (cached) yes
checking whether mmap sees writes... (cached) yes
checking whether msync is needed... (cached) no
checking how many arguments msync takes... (cached) 3
checking for Unix domain sockets... (cached) yes
checking log facility for news... (cached) LOG_NEWS
creating ./config.status
creating include/paths.h
creating samples/inn.conf
creating samples/innreport.conf
creating samples/newsfeeds
creating samples/sasl.conf
creating scripts/inncheck
creating scripts/innshellvars
creating scripts/
creating scripts/innshellvars.tcl
creating scripts/news.daily
creating support/fixscript
creating include/config.h
include/config.h is unchanged

Please check the following files before running make, to ensure that 
everything was set correctly.

# telnet localhost nntp
Connected to loopback.
Escape character is '^]'.
200 olditsa InterNetNews server INN 2.4.0 ready
ehlg   quit
205 .
Connection closed.
# make
        cd include   && make all
        ../support/mkversion '2.4.1' '' > inn/version.h
Target "all" is up to date.
        cd lib       && make all
         gcc -g -O2 -I../include   -c setproctitle.c
         gcc -g -O2 -I../include   -c strlcat.c
         gcc -g -O2 -I../include   -c strlcpy.c
         gcc -g -O2 -I../include   -c buffer.c
         gcc -g -O2 -I../include   -c cleanfrom.c
         gcc -g -O2 -I../include   -c clientactive.c
         gcc -g -O2 -I../include   -c clientlib.c
         gcc -g -O2 -I../include   -c concat.c
         gcc -g -O2 -I../include   -c conffile.c
         gcc -g -O2 -I../include   -c confparse.c
         gcc -g -O2 -I../include   -c daemonize.c
         gcc -g -O2 -I../include   -c date.c
         gcc -g -O2 -I../include   -c dbz.c
         gcc -g -O2 -I../include   -c defdist.c
         gcc -g -O2 -I../include   -c fdflags.c
         gcc -g -O2 -I../include   -c fdlimit.c
         gcc -g -O2 -I../include   -c genid.c
         gcc -g -O2 -I../include   -c getfqdn.c
         gcc -g -O2 -I../include   -c getmodaddr.c
         gcc -g -O2 -I../include   -c gettime.c
         gcc -g -O2 -I../include   -c hash.c
         gcc -g -O2 -I../include   -c hashtab.c
         gcc -g -O2 -I../include   -c innconf.c
         gcc -g -O2 -I../include   -c inndcomm.c
         gcc -g -O2 -I../include   -c list.c
         gcc -g -O2 -I../include   -c localopen.c
         gcc -g -O2 -I../include   -c lockfile.c
         gcc -g -O2 -I../include   -c makedir.c
         gcc -g -O2 -I../include   -c md5.c
         gcc -g -O2 -I../include   -c messages.c
         gcc -g -O2 -I../include   -c mmap.c
         gcc -g -O2 -I../include   -c parsedate.c
         gcc -g -O2 -I../include   -c qio.c
         gcc -g -O2 -I../include   -c radix32.c
         gcc -g -O2 -I../include   -c readin.c
         gcc -g -O2 -I../include   -c remopen.c
         gcc -g -O2 -I../include   -c reservedfd.c
         gcc -g -O2 -I../include   -c resource.c
         gcc -g -O2 -I../include   -c sendarticle.c
         gcc -g -O2 -I../include   -c sendpass.c
         gcc -g -O2 -I../include   -c sequence.c
         gcc -g -O2 -I../include   -c sockaddr.c
         gcc -g -O2 -I../include   -c timer.c
         gcc -g -O2 -I../include   -c tst.c
         gcc -g -O2 -I../include   -c uwildmat.c
         gcc -g -O2 -I../include   -c vector.c
         gcc -g -O2 -I../include   -c version.c
         gcc -g -O2 -I../include   -c wire.c
         gcc -g -O2 -I../include   -c xfopena.c
         gcc -g -O2 -I../include   -c xmalloc.c
         gcc -g -O2 -I../include   -c xsignal.c
         gcc -g -O2 -I../include   -c xwrite.c
        ar r libinn.a setproctitle.o snprintf.o strlcat.o strlcpy.o buffer.o cleanfrom.o clientactive.o clientlib.o concat.o conffile.o confparse.o daemonize.o date.o dbz.o defdist.o fdflags.o fdlimit.o genid.o getfqdn.o getmodaddr.o gettime.o hash.o hashtab.o innconf.o inndcomm.o list.o localopen.o lockfile.o makedir.o md5.o messages.o mmap.o parsedate.o qio.o radix32.o readin.o remopen.o reservedfd.o resource.o sendarticle.o sendpass.o sequence.o sockaddr.o timer.o tst.o uwildmat.o vector.o version.o wire.o xfopena.o xmalloc.o xsignal.o xwrite.o
        ranlib libinn.a
        gcc -g -O2 -I../include   -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -qlonglong  -I/usr/local/lib/perl5/5.8.0/aix/CORE   -c perl.c
gcc: unrecognized option `-qmaxmem=16384'
gcc: unrecognized option `-qnoansialias'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
Target "all" is up to date.
        cd storage   && make library
         gcc -g -O2 -I../include   -I.  -c -o expire.o expire.c
        ../support/fixscript -i
         gcc -g -O2 -I../include   -I.  -c -o interface.o interface.c
         gcc -g -O2 -I../include   -I.  -c -o methods.o methods.c
         gcc -g -O2 -I../include   -I.  -c -o ov.o ov.c
         gcc -g -O2 -I../include   -I.  -c -o overdata.o overdata.c
kk       gcc -g -O2 -I../include   -I.  -c -o ovmethods.o ovmethods.c
         gcc -g -O2 -I../include   -I.  -c -o buffindexed/buffindexed.o buffindexed/buffindexed.c
         gcc -g -O2 -I../include   -I.  -c -o cnfs/cnfs.o cnfs/cnfs.c
         gcc -g -O2 -I../include   -I.  -c -o ovdb/ovdb.o ovdb/ovdb.c
         gcc -g -O2 -I../include   -I.  -c -o timecaf/timecaf.o timecaf/timecaf.c
         gcc -g -O2 -I../include   -I.  -c -o timehash/timehash.o timehash/timehash.c
         gcc -g -O2 -I../include   -I.  -c -o tradindexed/tdx-group.o tradindexed/tdx-group.c
         gcc -g -O2 -I../include   -I.  -c -o tradspool/tradspool.o tradspool/tradspool.c
         gcc -g -O2 -I../include   -I.  -c -o trash/trash.o trash/trash.c
        ar r libstorage.a expire.o interface.o methods.o ov.o overdata.o ovmethods.o buffindexed/buffindexed.o cnfs/cnfs.o ovdb/ovdb.o timecaf/caf.o timecaf/timecaf.o timehash/timehash.o tradindexed/tdx-cache.o tradindexed/tdx-data.o tradindexed/tdx-group.o tradindexed/tradindexed.o tradspool/tradspool.o trash/trash.o
        ranlib libstorage.a
Target "library" is up to date.
        cd history   && make all
        ../support/fixscript -i
         gcc -g -O2 -I../include   -I. -c -o his.o his.c
         gcc -g -O2 -I../include   -I. -c -o hismethods.o hismethods.c
        ar r libinnhist.a his.o hismethods.o hisv6/hisv6.o
        ranlib libinnhist.a
Target "all" is up to date.
        cd innd      && make all
        gcc -g -O2 -I../include    -c art.c
        gcc -g -O2 -I../include    -c cc.c
        gcc -g -O2 -I../include    -c chan.c
        gcc -g -O2 -I../include    -c icd.c
        gcc -g -O2 -I../include    -c innd.c
        gcc -g -O2 -I../include    -c keywords.c
        gcc -g -O2 -I../include    -c lc.c
        gcc -g -O2 -I../include    -c nc.c
        gcc -g -O2 -I../include    -c newsfeeds.c
        gcc -g -O2 -I../include    -c ng.c
        gcc -g -O2 -I../include    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -qlonglong  -I/usr/local/lib/perl5/5.8.0/aix/CORE -c perl.c
gcc: unrecognized option `-qmaxmem=16384'
gcc: unrecognized option `-qnoansialias'
gcc: unrecognized option `-q32'
gcc: unrecognized option `-qlonglong'
        gcc -g -O2 -I../include    -c proc.c
        gcc -g -O2 -I../include     -c python.c
        gcc -g -O2 -I../include    -c rc.c
        gcc -g -O2 -I../include    -c site.c
        gcc -g -O2 -I../include    -c status.c
        gcc -g -O2 -I../include    -c tcl.c
        gcc -g -O2 -I../include    -c util.c
        gcc -g -O2 -I../include    -c wip.c
         gcc   -o innd art.o cc.o chan.o icd.o innd.o keywords.o lc.o nc.o  newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o  status.o tcl.o util.o wip.o /home/carlos/newnews/inn-2.4.1/storage/libstorage.a /home/carlos/newnews/inn-2.4.1/history/libinnhist.a /home/carlos/newnews/inn-2.4.1/lib/libinn.a       /home/carlos/newnews/inn-2.4.1/lib/perl.o -bE:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp  -brtl -L/usr/local/lib -b32 /usr/local/lib/perl5/5.8.0/aix/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.0/aix/CORE -lperl -lbind -lnsl -ldl -lld -lm -lcrypt -lbsd -lPW
gcc: `-b' must come at the start of the command line
make: 1254-004 The error code from the last command is 1.

make: 1254-004 The error code from the last command is 2.


More information about the inn-bugs mailing list