LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-07-2004, 06:08 AM   #1
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
NIS installation generic error


I am trying to configure NIS server on Mandrake 9.2

#i run the ./configure command
and then make

and it gives me error


generic.c:30:16: 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: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:94: warning: implicit declaration of function `mult'
generic.c:95: warning: implicit declaration of function `madd'
generic.c:96: warning: implicit declaration of function `mfree'
generic.c:99: warning: implicit declaration of function `mdiv'
generic.c:101: warning: implicit declaration of function `pow'
generic.c:102: warning: implicit declaration of function `mtox'
generic.c:102: warning: assignment makes pointer from integer without a cast
generic.c:104: warning: assignment makes pointer from integer without a cast
make[3]: *** [generic.o] Error 1
make[3]: Leaving directory `/home/emailssent/opt/nis/nis-utils-1.4/lib/key_common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/emailssent/opt/nis/nis-utils-1.4/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/emailssent/opt/nis/nis-utils-1.4'
make: *** [all-recursive-am] Error 2

So, when checked generic.c file (a partial generic.c file is given below)

void genkeys (char *public, char *secret, char *pass)
{
unsigned int i;

#define BASEBITS (8*sizeof(short) - 1)
#define BASE (1 << BASEBITS)

MINT *pk = itom (0); ///line 79
MINT *sk = itom (0);
MINT *tmp;
MINT *base = itom (BASE);
MINT *root = itom (PROOT);
MINT *modulus = xtom (HEXMODULUS);
unsigned short r;
unsigned short seed[KEYSIZE / BASEBITS + 1];
char *xkey;

getseed ((char *) seed, sizeof (seed), (u_char *) pass);
for (i = 0; i < KEYSIZE / BASEBITS + 1; ++i)
{
r = seed[i] % ((unsigned short) BASE);
tmp = itom (r);

As above error say error at line 79 in generic.c "undecleared MINT", so how to declare it or what to do to solve the problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nis.schema error naveenlinux Suse/Novell 0 11-25-2005 04:02 AM
NIS configuration error tonyr321 Linux - Software 0 07-27-2005 08:24 AM
strange NIS error pudhiyavan Linux - Networking 1 03-10-2005 11:20 AM
Opera Generic Error Maurice Arthur Mandriva 2 11-28-2004 11:34 PM
generic packet error with Kopete Jon Hew Linux - Software 2 05-20-2004 09:37 AM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration