From an.h.nguyen at sjsu.edu Mon Jul 25 18:27:46 2011 From: an.h.nguyen at sjsu.edu (An H Nguyen) Date: Mon, 25 Jul 2011 17:27:46 -0700 Subject: nis-utils - make error mp.h not found Message-ID: 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: