Bugzilla – Bug 116
make under AIX 4.3.3 fails
Last modified: 2003-08-15 13:39:14 MDT
Using "./configure --prefix=/opt/tools --with-man --with- compress=/opt/tools/bin/gzip", configure went fine: checking build system type... powerpc-ibm-aix4.3.3.0 checking host system type... powerpc-ibm-aix4.3.3.0 checking for nroff... /usr/bin/nroff checking for sendmail... /usr/sbin/sendmail checking for gcc... no checking for cc... 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... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for an ANSI C-conforming const... yes checking for difftime... yes checking for err... no checking for __progname... no checking which macro set to use for manual... (cached) man checking type of off_t... long checking which man section to use for superuser manuals... 8 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h but make fails with " $ make cc -c -I. -I. "-DNEWSYSLOG_VERSION=\"1.1\"" -g newsyslog.c "newsyslog.c", line 439.17: 1506-068 (W) Operation between types "unsigned char* " and "int" is not allowed. "newsyslog.c", line 912.26: 1506-045 (S) Undeclared identifier DEV_BSIZE. "newsyslog.c", line 1164.16: 1506-007 (S) "struct tm" is undefined. "newsyslog.c", line 1167.13: 1506-068 (W) Operation between types "struct tm*" a nd "int" is not allowed. "newsyslog.c", line 1168.15: 1506-285 (S) The indirection operator cannot be app lied to a pointer to an incomplete struct or union. "newsyslog.c", line 1252.16: 1506-007 (S) "struct tm" is undefined. "newsyslog.c", line 1259.13: 1506-068 (W) Operation between types "struct tm*" a nd "int" is not allowed. "newsyslog.c", line 1260.15: 1506-285 (S) The indirection operator cannot be app lied to a pointer to an incomplete struct or union. make: The error code from the last command is 1. Stop. I'm using "C for AIX Compiler, Version 5" Thanx!
Please try ftp://ftp.newsyslog.org/pub/newsyslog/beta/newsyslog-1.2rc1.tar.gz and see if have have better luck with it on AIX.
You rock, dude! Thanx for the fix, and sorry it took so long for me to get back to you (business travel and deadlines). Compiled like a champ right out of the gate.