nis-utils - make error mp.h not found

An H Nguyen an.h.nguyen at sjsu.edu
Mon Jul 25 18:27:46 MDT 2011


Hello,
I try to compile nis-utils-1.4.1 on rhel-6 and got this error:
I hope to get the right inputs to fix this problem.
Thanks in advance.

below is the error log:


make[3]: Leaving directory `/root/nis-utils-1.4.1/lib/nisdb'
Making all in key_common
make[3]: Entering directory `/root/nis-utils-1.4.1/lib/key_common'
gcc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/local/include  -W -Wall
-Wbad-function-cast -Wcast-align -Wcast-qual -Winline -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef
-g -O2 -D_REENTRANT -c generic.c
generic.c:30:16: error: mp.h: No such file or directory
generic.c: In function âgenkeysâ:
generic.c:79: error: âMINTâ undeclared (first use in this function)
generic.c:79: error: (Each undeclared identifier is reported only once
generic.c:79: error: for each function it appears in.)
generic.c:79: error: âpkâ undeclared (first use in this function)
generic.c:79: warning: implicit declaration of function âitomâ
generic.c:79: warning: nested extern declaration of âitomâ
generic.c:80: error: âskâ undeclared (first use in this function)
generic.c:81: error: âtmpâ undeclared (first use in this function)
generic.c:82: error: âbaseâ undeclared (first use in this function)
generic.c:83: error: ârootâ undeclared (first use in this function)
generic.c:84: error: âmodulusâ undeclared (first use in this function)
generic.c:84: warning: implicit declaration of function âxtomâ
generic.c:84: warning: nested extern declaration of âxtomâ
generic.c:94: warning: implicit declaration of function âmultâ
generic.c:94: warning: nested extern declaration of âmultâ
generic.c:95: warning: implicit declaration of function âmaddâ
generic.c:95: warning: nested extern declaration of âmaddâ
generic.c:96: warning: implicit declaration of function âmfreeâ
generic.c:96: warning: nested extern declaration of âmfreeâ
generic.c:99: warning: implicit declaration of function âmdivâ
generic.c:99: warning: nested extern declaration of âmdivâ
generic.c:101: warning: implicit declaration of function âpowâ
generic.c:101: warning: incompatible implicit declaration of built-in
function âpowâ
generic.c:101: error: too many arguments to function âpowâ
generic.c:102: warning: implicit declaration of function âmtoxâ
generic.c:102: warning: nested extern declaration of âmtoxâ
make[3]: *** [generic.o] Error 1
make[3]: Leaving directory `/root/nis-utils-1.4.1/lib/key_common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/nis-utils-1.4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nis-utils-1.4.1'
make: *** [all-recursive-am] Error 2
root at devbox:~/nis-utils-1.4.1>which gcc
/usr/bin/gcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/linux-nisplus/attachments/20110725/fe56c953/attachment.html>


More information about the linux-nisplus mailing list