Re: building and compiling the source locally

Mike Aubury <[email protected]> Tue, 3 Oct 2023 15:52:01 +0100
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WG25CpP4CJ1Ou4uoFQgD+cfatfX-mH8PmMV5Gg=tGoGMw@mail.gmail.com>
--===============1463316769448416819==
Content-Type: multipart/alternative; boundary="0000000000002e27970606d10905"

--0000000000002e27970606d10905
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi

Thats using the pregenerated xdr outputs - which are now "starting to not
work" on a lot of systems.
Easiest fix is to install the sunrpc packages for your system (whatever
contains rpcgen - possibly net-libs/rpcsvc-proto for you according to
google ?)
and reconfigure and try again..

I'm likely to need to remove the pre-generated headers, they
aren't required any more (we have other ways of storing data), and are
starting to be more trouble than they are worth..

On Sun, 1 Oct 2023 at 15:40, Mansour Al Akeel <[email protected]>
wrote:

> Hello all,
>
> I am trying to build the source, but I am getting the following error wit=
h
> both versions 1.5.3 and 1.6.1
> I am working on linux with
>
> gcc version 11.3.1 20230427 (Gentoo 11.3.1_p20230427 p9)
>
> The error:
> ...
>
> /home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/xdr=
.h:275:1:
> warning: function declaration isn=E2=80=99t a prototype [-Wstrict-prototy=
pes]
>   275 | extern bool_t xdrrec_eof ();    /* true if no more input */
>       | ^~~~~~
> In file included from
> /home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/rpc=
.h:62,
>                  from form_x_xdr.c:1:
> /home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/aut=
h.h:74:5:
> error: unknown type name =E2=80=98u_int32=E2=80=99
>    74 |     u_int32 high;
>       |     ^~~~~~~
> /home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/aut=
h.h:75:5:
> error: unknown type name =E2=80=98u_int32=E2=80=99
>    75 |     u_int32 low;
>       |     ^~~~~~~
> /home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/aut=
h.h:81:1:
> warning: function declaration isn=E2=80=99t a prototype [-Wstrict-prototy=
pes]
>    81 | extern bool_t xdr_des_block ();
>       | ^~~~~~
> ..
>
> Thank you.
>
>
>
>
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>

--0000000000002e27970606d10905
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi<div><br></div><div>Thats using the pregenerated xdr out=
puts - which are now &quot;starting to not work&quot; on a lot of systems.<=
/div><div>Easiest fix is to install the sunrpc packages for your system (wh=
atever contains rpcgen - possibly=C2=A0net-libs/rpcsvc-proto for you accord=
ing to google ?)</div><div>and reconfigure and try again..</div><div><br></=
div><div>I&#39;m likely to need to remove the pre-generated headers, they a=
ren&#39;t=C2=A0required any more (we have other ways of storing data), and =
are starting to be more trouble than they are worth..</div></div><br><div c=
lass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, 1 Oct 20=
23 at 15:40, Mansour Al Akeel &lt;<a href=3D"mailto:[email protected]=
om">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hello all,</div><div><br=
></div><div>I am trying to build the source, but I am getting the following=
 error with both versions 1.5.3 and 1.6.1</div><div>I am working on linux w=
ith<br></div><div><br></div><div>gcc version 11.3.1 20230427 (Gentoo 11.3.1=
_p20230427 p9) <br></div><div><br></div><div>The error:</div><div>...</div>=
<div><br></div><div>/home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tools/no_=
rpc/cygwin/rpc/xdr.h:275:1: warning: function declaration isn=E2=80=99t a p=
rototype [-Wstrict-prototypes]<br>=C2=A0 275 | extern bool_t xdrrec_eof ();=
 =C2=A0 =C2=A0/* true if no more input */<br>=C2=A0 =C2=A0 =C2=A0 | ^~~~~~<=
br>In file included from /home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tool=
s/no_rpc/cygwin/rpc/rpc.h:62,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0from form_x_xdr.c:1:<br>/home/mansour/workspace/4gl/aub=
it4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/auth.h:74:5: error: unknown type nam=
e =E2=80=98u_int32=E2=80=99<br>=C2=A0 =C2=A074 | =C2=A0 =C2=A0 u_int32 high=
;<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 ^~~~~~~<br>/home/mansour/workspac=
e/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/auth.h:75:5: error: unknown=
 type name =E2=80=98u_int32=E2=80=99<br>=C2=A0 =C2=A075 | =C2=A0 =C2=A0 u_i=
nt32 low; <br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 ^~~~~~~<br>/home/mansour=
/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/auth.h:81:1: warni=
ng: function declaration isn=E2=80=99t a prototype [-Wstrict-prototypes]<br=
>=C2=A0 =C2=A081 | extern bool_t xdr_des_block ();<br>=C2=A0 =C2=A0 =C2=A0 =
| ^~~~~~</div><div>..</div><div><br></div><div>Thank you.</div><div><br></d=
iv><div><br></div><div><br></div><div><br></div></div>
_______________________________________________<br>
Aubit4gl-discuss mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss" r=
el=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/lis=
tinfo/aubit4gl-discuss</a><br>
</blockquote></div>

--0000000000002e27970606d10905--


--===============1463316769448416819==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============1463316769448416819==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss

--===============1463316769448416819==--