#4 Compiling Error

open
nobody
Compilation (2)
5
2012-09-14
2003-12-07
Sam Hamilton
No

I am trying to get AIDE working and so i am installing
mhash.

./configure works fine and i cannot see any errors
when i 'make' it goes a bit funny?

blue# make
make all-recursive
Making all in lib
source='mhash.c' object='mhash.lo' libtool=yes
depfile='.deps/mhash.Plo' tmpdepfile='.deps/mhash.TPlo'
depmode=gcc /bin/sh ../depcomp /bin/sh ../libtool --
silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -
I.. -g -O2 -c -o mhash.lo test -f 'mhash.c' || echo './'mhash.c
mhash.c:97: warning: initialization from incompatible
pointer type
mhash.c:98: warning: initialization from incompatible
pointer type
mhash.c:98: warning: initialization from incompatible
pointer type
mhash.c:99: warning: initialization from incompatible
pointer type
mhash.c:100: warning: initialization from incompatible
pointer type
mhash.c:100: warning: initialization from incompatible
pointer type
mhash.c:104: warning: initialization from incompatible
pointer type
mhash.c:105: warning: initialization from incompatible
pointer type
mhash.c:105: warning: initialization from incompatible
pointer type
mhash.c:109: warning: initialization from incompatible
pointer type
mhash.c:110: warning: initialization from incompatible
pointer type
mhash.c:110: warning: initialization from incompatible
pointer type
mhash.c:114: warning: initialization from incompatible
pointer type
mhash.c:115: warning: initialization from incompatible
pointer type
mhash.c:115: warning: initialization from incompatible
pointer type
mhash.c:119: warning: initialization from incompatible
pointer type
mhash.c:120: warning: initialization from incompatible
pointer type
mhash.c:120: warning: initialization from incompatible
pointer type
mhash.c:120: warning: initialization from incompatible
pointer type
mhash.c:124: warning: initialization from incompatible
pointer type
mhash.c:125: warning: initialization from incompatible
pointer type
mhash.c:125: warning: initialization from incompatible
pointer type
mhash.c:125: warning: initialization from incompatible
pointer type
mhash.c:129: warning: initialization from incompatible
pointer type
mhash.c:130: warning: initialization from incompatible
pointer type
mhash.c:130: warning: initialization from incompatible
pointer type
mhash.c:131: warning: initialization from incompatible
pointer type
mhash.c:132: warning: initialization from incompatible
pointer type
mhash.c:132: warning: initialization from incompatible
pointer type
mhash.c:133: warning: initialization from incompatible
pointer type
mhash.c:134: warning: initialization from incompatible
pointer type
mhash.c:134: warning: initialization from incompatible
pointer type
mhash.c:135: warning: initialization from incompatible
pointer type
mhash.c:136: warning: initialization from incompatible
pointer type
mhash.c:136: warning: initialization from incompatible
pointer type
mhash.c:137: warning: initialization from incompatible
pointer type
mhash.c:138: warning: initialization from incompatible
pointer type
mhash.c:138: warning: initialization from incompatible
pointer type
mhash.c:142: warning: initialization from incompatible
pointer type
mhash.c:143: warning: initialization from incompatible
pointer type
mhash.c:143: warning: initialization from incompatible
pointer type
mhash.c:143: warning: initialization from incompatible
pointer type
mhash.c:147: warning: initialization from incompatible
pointer type
mhash.c:148: warning: initialization from incompatible
pointer type
mhash.c:148: warning: initialization from incompatible
pointer type
mhash.c:148: warning: initialization from incompatible
pointer type
mhash.c:149: warning: initialization from incompatible
pointer type
mhash.c:150: warning: initialization from incompatible
pointer type
mhash.c:150: warning: initialization from incompatible
pointer type
mhash.c:150: warning: initialization from incompatible
pointer type
mhash.c:151: warning: initialization from incompatible
pointer type
mhash.c:152: warning: initialization from incompatible
pointer type
mhash.c:152: warning: initialization from incompatible
pointer type
mhash.c:152: warning: initialization from incompatible
pointer type
mhash.c:156: warning: initialization from incompatible
pointer type
mhash.c:157: warning: initialization from incompatible
pointer type
mhash.c:157: warning: initialization from incompatible
pointer type

after that it looks fine and appears to compile fine, it
also installs fine, but when i come to install aide it says

checking for mhash_get_block_size in -lmhash... no
configure: error: You must have libmhash properly
installed.

I have rebooted and also checked that mhash is linked
properly with ldconfig -r

62:-lmhash.2.0 => /usr/local/lib/libmhash.so.2.0

what is up?

Discussion