Great Circle Associates Majordomo-Users
(July 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: 'make' errors in Linux 1.2.8
From: Louis Zirkel III <lzirkel @ styx . sportct . com>
Date: Sat, 20 Jul 1996 22:54:22 -0600 (MDT)
To: "Michael S. James" <mjames @ xicom . com>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <Pine.LNX.3.91.960720193450.3862A-100000@noah.xicom.com>

On Sat, 20 Jul 1996, Michael S. James wrote:

> I'm trying to unltimately track down a condition that causes Majordomo 
> v1.93 to abort on my Linux box.  One observation relates to some error I 
> get back when compiling the system with the first 'make'.  During the make 
> process, I get the following gripes from the C compiler:
> 
> 	wrapper.c: In function `main':
> 	wrapper.c:65: warning: comparison between pointer and integer
> 	wrapper.c:99: warning: initialization makes integer from pointer without 
>   	a cast
> 
> Evidently, the wrapper source code is not clean enough for this 
> compiler.  Despite the warnings, I can run Majordomo works competely when 
> I sent messages to Majordomo on the same machine it resides on.  I have 
> a  few other Internet accounts and got Majordomo to respond w/o aborting.
> 
> However, when I send messages to Majordomo from a machine on the same 
> subnet as Majordomo is on, it aborts.  It also aborted when I send mail 
> to it from Prodigy and my day office at HP.

When I first got hold of Majordomo I had these same errors with Linux 
1.2.13 and I fixed them by adding <string.h> to the includes because line 
65 references the strchr() function.  Line 99 (100 after the <string.h> 
addition) then is a char definition as follows:

 char setgroups_used = "setgroups_was_included";

which obviously is incorrect because it should use a char *, not just a 
char.  I changed that, and presto I was off.

Hope this helps.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Louis Zirkel III                                     lzirkel@styx.sportct.com
                                                       lzirkel@parkcityus.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



Follow-Ups:
References:
Indexed By Date Previous: 'make' errors in Linux 1.2.8
From: "Michael S. James" <mjames@xicom.com>
Next: Re: Bug in resend script and other requests
From: Brock Rozen <brozen@netvoyage.net>
Indexed By Thread Previous: 'make' errors in Linux 1.2.8
From: "Michael S. James" <mjames@xicom.com>
Next: Re: 'make' errors in Linux 1.2.8
From: "Michael S. James" <mjames@xicom.com>

Google
 
Search Internet Search www.greatcircle.com