I had this problem on Fedora.  I installed the rpcgen package and was able
to compile through that section.

Name         : rpcgen
Version      : 1.4
Release      : 4.fc32
Architecture : x86_64
Size         : 53 k
Source       : rpcsvc-proto-1.4-4.fc32.src.rpm
Repository   : fedora
Summary      : RPC protocol compiler
URL          : https://github.com/thkukuk/rpcsvc-proto
License      : BSD and LGPLv2+
Description  : rpcgen is a tool that generates C code to implement an RPC
             : protocol. The input to rpcgen is a language similar to C
known as
             : RPC Language (Remote Procedure Call Language).

By my hand, I am,

Michael E. Griffin


On Wed, Oct 21, 2020 at 3:55 AM Нина Диденко <nina.dide...@gmail.com> wrote:

> Hi.
> According to git bisect, after updating glibc from 2.31 to 2.32 in NixOS
> distro, CDE 2.3.2 now fails to build,
> Could anyone please provide a fix?
>
> make[3]: Entering directory '/build/cde-2.3.2/lib/csa'
> rm -f agent.o
> gcc -g -pipe -c -O2 -fno-strict-aliasing -Wno-write-strings
> -Wno-unused-result -ansi  -I.
> -I/nix/store/wn4skrmv9gbag04pyj76c7qaw7x4cdq1-libtirpc-1.2.7-rc4-dev/include/tirpc
>  -I../.. -I../../exports/include -I../../imports/motif/include
> -I/nix/store/ky9k6ifn9mn09lq6bb2q9npz4nx4459z-x11ProjectRoot/include
>  -D__linux__ -D__x86_64__ -D_POSIX_SOURCE -D_DEFAULT_SOURCE
>                -D_BSD_SOURCE -D_SVID_SOURCE
>  -D__NO_STRING_INLINES -D__NO_MATH_INLINES
>  -DANSICPP -DMULTIBYTE -DNLS16  -DOSMAJORVERSION=5 -DOSMINORVERSION=4
>  -DFUNCPROTO=15 -DNARROWPROTO -D_REENTRANT -DXUSE_MTSAFE_API   -DRFC_MIME
> -DLINE_COUNT -DV2 -DOW_I18N     -DREL="54"      -DRELMAJOR="5"
> -DRELMINOR="4"    -fPIC agent.c
> agent.c: In function '_DtCm_init_agent':
> agent.c:150:43: error: 'AGENTVERS' undeclared (first use in this
> function); did you mean 'AGENTVERS_2'?
>   150 |         (void)pmap_unset(_DtCm_transient, AGENTVERS);
>       |                                           ^~~~~~~~~
>       |                                           AGENTVERS_2
> agent.c:150:43: note: each undeclared identifier is reported only once for
> each function it appears in
> agent.c:157:46: error: 'update_callback' undeclared (first use in this
> function)
>   157 |  if (registerrpc(_DtCm_transient, AGENTVERS, update_callback,
>       |                                              ^~~~~~~~~~~~~~~
> agent.c:158:19: error: '_DtCm_update_callback_1' undeclared (first use in
> this function); did you mean 'cmcb_update_callback_2'?
>   158 |      (char *(*)())_DtCm_update_callback_1,
> (xdrproc_t)_DtCm_xdr_Table_Res_4,
>       |                   ^~~~~~~~~~~~~~~~~~~~~~~
>       |                   cmcb_update_callback_2
> agent.c:159:17: error: '_DtCm_xdr_Update_Status' undeclared (first use in
> this function); did you mean '_DtCm_xdr_Appt_Status_4'?
>   159 |      (xdrproc_t)_DtCm_xdr_Update_Status) == -1) {
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~
>       |                 _DtCm_xdr_Appt_Status_4
> agent.c: In function '_DtCm_destroy_agent':
> agent.c:192:44: error: 'AGENTVERS' undeclared (first use in this
> function); did you mean 'AGENTVERS_2'?
>   192 |         (void) pmap_unset(_DtCm_transient, AGENTVERS);
>       |                                            ^~~~~~~~~
>       |                                            AGENTVERS_2
> agent.c: At top level:
> agent.c:297:1: error: unknown type name 'Update_Status'
>   297 | Update_Status *
>       | ^~~~~~~~~~~~~
> agent.c: In function '_DtCm_update_callback_1':
> agent.c:300:9: error: unknown type name 'Update_Status'
>   300 |  static Update_Status status = update_succeeded;
>       |         ^~~~~~~~~~~~~
> agent.c:300:32: error: 'update_succeeded' undeclared (first use in this
> function)
>   300 |  static Update_Status status = update_succeeded;
>       |                                ^~~~~~~~~~~~~~~~
> agent.c:312:15: error: 'AGENTVERS' undeclared (first use in this
> function); did you mean 'AGENTVERS_2'?
>   312 |   cbi->vers = AGENTVERS;
>       |               ^~~~~~~~~
>       |               AGENTVERS_2
> agent.c: In function '_DtCm_handle_callback':
> agent.c:472:20: error: 'AGENTVERS' undeclared (first use in this
> function); did you mean 'AGENTVERS_2'?
>   472 |   if (ptr->vers == AGENTVERS)
>       |                    ^~~~~~~~~
>       |                    AGENTVERS_2
> make[3]: *** [Makefile:789: agent.o] Error 1
> make[3]: Leaving directory '/build/cde-2.3.2/lib/csa'
> make[2]: *** [Makefile:735: all] Error 2
> make[2]: Leaving directory '/build/cde-2.3.2/lib'
> make[1]: *** [xmakefile:734: all] Error 2
> make[1]: Leaving directory '/build/cde-2.3.2'
> make: *** [Makefile:61: World] Error 2
> builder for '/nix/store/4cg9k04l90b1gqzbfm9chpwj6n42la2m-cde-2.3.2.drv'
> failed with exit code 2
> error: build of
> '/nix/store/4cg9k04l90b1gqzbfm9chpwj6n42la2m-cde-2.3.2.drv' failed
> _______________________________________________
> 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