SUMMARY: qpopper under du4.0d not compiling (Qualcomm's 2.52 popper)

From: Bugs Brouillard <bb1_at_axe.humboldt.edu>
Date: Thu, 16 Jul 1998 12:39:53 -0700 (PDT)

Thanks to Michele for the answer to my problem. It now builds!!!

From: Michele Tomkin <michele_at_uclink4.berkeley.edu>

Hi Bugs,

I responded to your original posting suggesting that you needed the
md5 patch for apop. Since then I had occasion to reinstall and have
had to revisit compiliation.

The complaints about AUTH are caused by the fact that AUTH is used both
within Qualcomm's code and the Digital Unix include files. We solved
this conflict by changing all ocurrences of AUTH in qualcomm's
distribution to AUTH_DU:

        # diff Makefile Makefile.orig
        34,36c34
        < DEFS = -DHAVE_CONFIG_H -DAUTH_DU -DBIND43 -DSERVER_MODE -DDEBUG \
        < -DNONAUTHFILE=\"/usr/local/etc/nonauthfile.pop\"
        <
        ---
> DEFS = -DHAVE_CONFIG_H
        38c36
        < prefix = /usr/local/etc
        ---
> prefix = /usr/local
        41c39
        < INSTALLDIR = ${exec_prefix}
        ---
> INSTALLDIR = ${exec_prefix}/bin
        # diff pop_pass.c pop_pass.c.orig
        123c123
        < #ifdef AUTH_DU
        ---
> #ifdef AUTH
        479c479
        < #else /* NOT AUTH _DU*/
        ---
> #else /* NOT AUTH */
        500c500
        < #endif /* AUTH_DU*/
        ---
> #endif /* AUTH */
        507,509c507,509
        < /* AUTH_DU gets defined in rpc/... */
        < # ifdef AUTH_DU
        < # undef AUTH_DU
        ---
> /* AUTH gets defined in rpc/... */
> # ifdef AUTH
> # undef AUTH
        # diff popper.c popper.c.orig
        34c34
        < #if defined(AUTH_DU)
        ---
> #if defined(AUTH)
        70c70
        < #if defined(POPSCO) || defined(AUTH_DU)
        ---
> #if defined(POPSCO) || defined(AUTH)
        # exit

Regards, Michele Tomkin
UC Berkeley

****************************************************************

My original query:

I have Alpha's with du4.0d and 2 with du4.0a
All run with Enhanced security. I am able to build popper on the 4.0a
systems, but not with the 4.0d systems. The Jumbo patch for 4.0d is also
installed. This is not critical yet, but in a few weeks, i wont have
any more 4.0a systems.
I have asked this before, but the 2 replies did not solve the problem.
I also tried gnu's make, same errors
Thanks for your help.


62 /prg/src/qpopper2.52> /bin/make
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 flock.c -o flock.o
cc: Warning: flock.c, line 84: Source file does not contain any declarations.

^
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_dele.c -o pop_dele.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_dropcopy.c -o pop_dropcopy.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_get_command.c -o
pop_get_command.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_get_subcommand.c -o
pop_get_subcommand.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_init.c -o pop_init.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_last.c -o pop_last.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_list.c -o pop_list.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_log.c -o pop_log.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_lower.c -o pop_lower.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_msg.c -o pop_msg.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_parse.c -o pop_parse.o
cc -c -I. -I. -g -DHAVE_CONFIG_H -DAUTH -DOSF1 pop_pass.c -o pop_pass.o
cc: Error: /usr/include/rpc/auth.h, line 127: Invalid declarator.
} AUTH;
--^
cc: Error: /usr/include/rpc/auth.h, line 184: Invalid declarator.
extern AUTH *authunix_create __((char *, uid_t, gid_t, int, gid_t *));
-------^
cc: Error: /usr/include/rpc/auth.h, line 185: Invalid declarator.
extern AUTH *authunix_create_default __((void)); /* takes no parameters */
-------^
cc: Error: /usr/include/rpc/auth.h, line 186: Invalid declarator.
extern AUTH *authnone_create __((void)); /* takes no parameters */
-------^
cc: Error: /usr/include/rpc/auth.h, line 188: Invalid declarator.
extern AUTH *authdes_create __((void));
-------^
cc: Error: /usr/include/rpc/clnt.h, line 128: Missing type specifier or type
qualifier.
        AUTH *cl_auth; /* authenticator */
--------^
*** Exit 1
Stop.


Bugs Brouillard Unix system administrator
Humboldt State Univ. 707-826-6123
Arcata, Calif Fax 707-826-6100

email bb1_at_humboldt.edu
Received on Thu Jul 16 1998 - 21:40:52 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT