I've seen a thread from 2020 about the same error. It seemed to be
connected to ksh. What ksh version are you using?

On Wed, 15 Nov 2023 at 01:26, TCH via cdesktopenv-devel
<cdesktopenv-devel@lists.sourceforge.net> wrote:
>
> Hello,
>
> Yes, it is installed, at least there is an rpcgen binary in /usr/bin, 
> installed by the package libc-dev-bin.
>
> - TCH
>
> Sent with Proton Mail secure email.
>
> On Tuesday, November 14th, 2023 at 8:41 PM, Jon Trulson <j...@radscan.com> 
> wrote:
>
>
> > On 11/14/23 09:30, TCH via cdesktopenv-devel wrote:
> >
> > > Hello,
> >
> >
> > Hi,
> >
> > Just taking a stab here, but do you have rpcgen installed? It should build 
> > on debian 11. debian 12 requires you pull from master git.
> >
> > -jon
> >
> >
> > > I've tried to compile CDE on Debian 11 (x86_64), following the build 
> > > instructions to the letter (installing all required packages, etc.) and 
> > > compiling with ./autogen.sh, ./configure and make, but the compiler 
> > > cannot compile it, due missing definitions/constants/etc.
> > > The compiler is GCC 10.2.1, Motif is 2.3.8. The error messages were the 
> > > following:
> > > ================================================================================
> > > agent.c: In function ‘_DtCm_init_agent’:
> > > agent.c:145:43: error: ‘AGENTVERS’ undeclared (first use in this 
> > > function); did you mean ‘AGENTVERS_2’?
> > >   145 |         (void)pmap_unset(_DtCm_transient, AGENTVERS);
> > >       |                                           ^~~~~~~~~
> > >       |                                           AGENTVERS_2
> > > agent.c:145:43: note: each undeclared identifier is reported only once 
> > > for each function it appears in
> > > agent.c:152:46: error: ‘update_callback’ undeclared (first use in this 
> > > function)
> > >   152 |  if (registerrpc(_DtCm_transient, AGENTVERS, update_callback,
> > >       |                                              ^~~~~~~~~~~~~~~
> > > agent.c:153:25: error: ‘_DtCm_update_callback_1’ undeclared (first use in 
> > > this function); did you mean ‘cmcb_update_callback_2’?
> > >   153 |      (char *(*)(char *))_DtCm_update_callback_1, 
> > > (xdrproc_t)_DtCm_xdr_Table_Res_4,
> > >       |                         ^~~~~~~~~~~~~~~~~~~~~~~
> > >       |                         cmcb_update_callback_2
> > > agent.c:154:17: error: ‘_DtCm_xdr_Update_Status’ undeclared (first use in 
> > > this function); did you mean ‘_DtCm_xdr_Appt_Status_4’?
> > >   154 |      (xdrproc_t)_DtCm_xdr_Update_Status) == -1) {
> > >       |                 ^~~~~~~~~~~~~~~~~~~~~~~
> > >       |                 _DtCm_xdr_Appt_Status_4
> > > agent.c: In function ‘_DtCm_destroy_agent’:
> > > agent.c:187:44: error: ‘AGENTVERS’ undeclared (first use in this 
> > > function); did you mean ‘AGENTVERS_2’?
> > >   187 |         (void) pmap_unset(_DtCm_transient, AGENTVERS);
> > >       |                                            ^~~~~~~~~
> > >       |                                            AGENTVERS_2
> > > agent.c: At top level:
> > > agent.c:292:1: error: unknown type name ‘Update_Status’
> > >   292 | Update_Status *
> > >       | ^~~~~~~~~~~~~
> > > agent.c: In function ‘_DtCm_update_callback_1’:
> > > agent.c:295:9: error: unknown type name ‘Update_Status’
> > >   295 |  static Update_Status status = update_succeeded;
> > >       |         ^~~~~~~~~~~~~
> > > agent.c:295:32: error: ‘update_succeeded’ undeclared (first use in this 
> > > function)
> > >   295 |  static Update_Status status = update_succeeded;
> > >       |                                ^~~~~~~~~~~~~~~~
> > > agent.c:307:15: error: ‘AGENTVERS’ undeclared (first use in this 
> > > function); did you mean ‘AGENTVERS_2’?
> > >   307 |   cbi->vers = AGENTVERS;
> > >       |               ^~~~~~~~~
> > >       |               AGENTVERS_2
> > > agent.c: In function ‘_DtCm_handle_callback’:
> > > agent.c:467:20: error: ‘AGENTVERS’ undeclared (first use in this 
> > > function); did you mean ‘AGENTVERS_2’?
> > >   467 |   if (ptr->vers == AGENTVERS)
> > >       |                    ^~~~~~~~~
> > >       |                    AGENTVERS_2
> > > ================================================================================
> > > Is this a bug, or on Debian 11, something else is needed?
> > >
> > > - TCH
> > >
> > > Sent with Proton Mail secure email.
> > >
> > >
> > > _______________________________________________
> > > cdesktopenv-devel mailing list
> > > cdesktopenv-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
> >
> >
> >
> > --
> > Jon Trulson
> >
> >   "The less you know, the more you believe."
> >                            -- Bono
>
>
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to