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 email@example.com