#40 symbols redefined gcc error

open
nobody
None
1
2014-07-04
2014-07-04
No

cannot compile mcrypt 2.6.8 against libmhash 0.9.9 due to symbols redefined.

In file included from /opt/include/mutils/mincludes.h:34,
from /opt/include/mhash.h:6,
from ./defines.h:8,
from extra.c:24:
/opt/include/mutils/mhash_config.h:186:1: warning: "PACKAGE" redefined

my solution:
edit mutils/mhash_config.h and surround all PACKAGE_* and VERSION symbols with #ifndef/#endif.

Discussion


Log in to post a comment.