#66 Mac OS X (10.4.9-PPC) - make error

0.13
open
nobody
5
2007-05-06
2007-05-06
filippo_zeus
No

Hi,
make fails when built on Mac OS X 10.4.9 PPC with Xcode 2.4.1 (gcc version 4.0.1 (Apple Computer, Inc. build 5367))

I'm tryng to build as dynamic 'cause os x not support static linking

Here are the logs:

[zeus80@lifeware ~/aide-0.13.1] % ./configure --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for pkg-config... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for library containing syslog... none required
checking for vsyslog... yes
checking how to run the C preprocessor... gcc -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 whether byte ordering is bigendian... yes
checking for byte... no
checking for ushort... yes
checking for ulong... no
checking for u16... no
checking for u32... no
checking for u64... no
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for ANSI C header files... (cached) yes
checking for strtoll... yes
checking for strtoimax... yes
checking for readdir... yes
checking args to readdir_r... POSIX
checking for stricmp... no
checking for strnstr... yes
checking for strnlen... no
checking for mmap... yes
checking for fcntl... yes
checking for ftruncate... yes
checking for posix_fadvice... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for ISO C99 compliant snprintf... yes
checking for ISO C99 compliant vsnprintf... yes
checking for open/O_NOATIME... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for inttypes.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for sun-acl-support... no
checking for posix-acl-support... no
checking for selinux-support... no
checking for xattr-support... no
checking for lstat64... no
checking for LFS ino_t... ino_t
checking for LFS dirent... dirent
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzdopen in -lz... yes
checking for regexec... yes
checking for regcomp... yes
checking for mhash_get_block_size in -lmhash... yes
checking for crypt in -lc... yes
checking for PostgresSQL support... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/aide.conf
config.status: creating doc/aide.1
config.status: creating doc/aide.conf.5
config.status: creating aide.spec
config.status: creating config.h
config.status: executing depfiles commands
[zeus80@lifeware ~/aide-0.13.1] % make
make all-recursive
Making all in src
bison -y -d -p conf -o conf_yacc.c ../src/conf_yacc.y
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -g -O2 -MT conf_yacc.o -MD -MP -MF ".deps/conf_yacc.Tpo" \ -c -o conf_yacc.o `test -f 'conf_yacc.c' || echo './'`conf_yacc.c; \ then mv -f ".deps/conf_yacc.Tpo" ".deps/conf_yacc.Po"; \ else rm -f ".deps/conf_yacc.Tpo"; exit 1; \ fi
In file included from ../include/report.h:26,
from ../include/aide.h:24,
from ../src/conf_yacc.y:21:
../include/db_config.h:86:19: error: mhash.h: No such file or directory
In file included from ../include/report.h:26,
from ../include/aide.h:24,
from ../src/conf_yacc.y:21:
../include/db_config.h:283: error: parse error before 'MHASH'
../include/db_config.h:283: warning: no semicolon at end of struct or union
../include/db_config.h:284: warning: data definition has no type or storage class
../include/db_config.h:287: error: parse error before 'dbhmactype'
../include/db_config.h:287: warning: data definition has no type or storage class
../include/db_config.h:288: error: parse error before 'dbnewmd'
../include/db_config.h:288: warning: data definition has no type or storage class
../include/db_config.h:289: error: parse error before 'dboldmd'
../include/db_config.h:289: warning: data definition has no type or storage class
../include/db_config.h:341: error: parse error before '}' token
../include/db_config.h:341: warning: data definition has no type or storage class
In file included from ../src/conf_yacc.y:21:
../include/aide.h:101: error: parse error before '*' token
../include/aide.h:101: warning: data definition has no type or storage class
In file included from ../src/conf_yacc.y:29:
../include/db.h:31: error: parse error before '*' token
../include/db.h:33: error: parse error before 'db_config'
../include/db.h:35: error: parse error before '*' token
../src/conf_yacc.y: In function 'confparse':
../src/conf_yacc.y:171: error: request for member 'selrxlst' in something not a structure or union
../src/conf_yacc.y:171: error: request for member 'selrxlst' in something not a structure or union
../src/conf_yacc.y:174: error: request for member 'equrxlst' in something not a structure or union
../src/conf_yacc.y:174: error: request for member 'equrxlst' in something not a structure or union
../src/conf_yacc.y:177: error: request for member 'negrxlst' in something not a structure or union
../src/conf_yacc.y:177: error: request for member 'negrxlst' in something not a structure or union
../src/conf_yacc.y:179: error: request for member 'negrxlst' in something not a structure or union
../src/conf_yacc.y:179: error: request for member 'negrxlst' in something not a structure or union
../src/conf_yacc.y:264: error: request for member 'do_configmd' in something not a structure or union
../src/conf_yacc.y:265: error: request for member 'old_confmdstr' in something not a structure or union
../src/conf_yacc.y:290: error: request for member 'warn_dead_symlinks' in something not a structure or union
../src/conf_yacc.y:294: error: request for member 'warn_dead_symlinks' in something not a structure or union
../src/conf_yacc.y:299: error: request for member 'gzip_dbout' in something not a structure or union
../src/conf_yacc.y:306: error: request for member 'gzip_dbout' in something not a structure or union
../src/conf_yacc.y:316: error: request for member 'config_version' in something not a structure or union
make[2]: *** [conf_yacc.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Discussion

  • filippo_zeus
    filippo_zeus
    2007-05-06

    Logged In: YES
    user_id=1649757
    Originator: YES

    On 10.4.9 Intel same configuration it works with no problems