Re: building and compiling the source locally

Mansour Al Akeel <[email protected]> Tue, 3 Oct 2023 19:14:25 -0400
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAFvvX=axbfU=Mdzm2UkirHmpi9-Ez9n-+zoT=VV9iCMkjccndA@mail.gmail.com>
--===============2137283445828284672==
Content-Type: multipart/alternative; boundary="000000000000e4c7ee0606d8093f"

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

Mike,

I just installed the library as you suggested "net-libs/rpcsvc-proto". The
build is working fine now.
Thank you.


On Tue, Oct 3, 2023 at 10:52=E2=80=AFAM Mike Aubury <[email protected]> wrote:

> 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
>> with 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/xd=
r.h:275:1:
>> warning: function declaration isn=E2=80=99t a prototype [-Wstrict-protot=
ypes]
>>   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/rp=
c.h:62,
>>                  from form_x_xdr.c:1:
>> /home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/au=
th.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/au=
th.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/au=
th.h:81:1:
>> warning: function declaration isn=E2=80=99t a prototype [-Wstrict-protot=
ypes]
>>    81 | extern bool_t xdr_des_block ();
>>       | ^~~~~~
>> ..
>>
>> Thank you.
>>
>>
>>
>>
>> _______________________________________________
>> Aubit4gl-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>>
>

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

<div dir=3D"ltr"><div>Mike,</div><div><br></div><div>I just installed the l=
ibrary as you=C2=A0suggested &quot;net-libs/rpcsvc-proto&quot;. The build i=
s working fine now.</div><div>Thank you.</div><div><br></div></div><br><div=
 class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Oct 3,=
 2023 at 10:52=E2=80=AFAM Mike Aubury &lt;<a href=3D"mailto:[email protected]"=
>[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr">Hi<div><br></div><div>Thats using the prege=
nerated xdr outputs - which are now &quot;starting to not work&quot; on a l=
ot of systems.</div><div>Easiest fix is to install the sunrpc packages for =
your system (whatever contains rpcgen - possibly=C2=A0net-libs/rpcsvc-proto=
 for you according 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 aren&#39;t=C2=A0required any more (we have other ways of stor=
ing data), and are starting to be more trouble than they are worth..</div><=
/div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">O=
n Sun, 1 Oct 2023 at 15:40, Mansour Al Akeel &lt;<a href=3D"mailto:mansour.=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrot=
e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"l=
tr"><div>Hello all,</div><div><br></div><div>I am trying to build the sourc=
e, but I am getting the following error with both versions 1.5.3 and 1.6.1<=
/div><div>I am working on linux with<br></div><div><br></div><div>gcc versi=
on 11.3.1 20230427 (Gentoo 11.3.1_p20230427 p9) <br></div><div><br></div><d=
iv>The error:</div><div>...</div><div><br></div><div>/home/mansour/workspac=
e/4gl/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/xdr.h:275:1: warning: funct=
ion declaration isn=E2=80=99t a prototype [-Wstrict-prototypes]<br>=C2=A0 2=
75 | 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/wor=
kspace/4gl/aubit4glsrc-1.6.1/tools/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/aubit4glsrc-1.6.1/tools/no_rpc/cygwin/rpc/a=
uth.h:74:5: error: unknown type name =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/workspace/4gl/aubit4glsrc-1.6.1/tools/no_rpc/c=
ygwin/rpc/auth.h:75:5: error: unknown type name =E2=80=98u_int32=E2=80=99<b=
r>=C2=A0 =C2=A075 | =C2=A0 =C2=A0 u_int32 low; <br>=C2=A0 =C2=A0 =C2=A0 | =
=C2=A0 =C2=A0 ^~~~~~~<br>/home/mansour/workspace/4gl/aubit4glsrc-1.6.1/tool=
s/no_rpc/cygwin/rpc/auth.h:81:1: warning: function declaration isn=E2=80=99=
t 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></div><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>
</blockquote></div>

--000000000000e4c7ee0606d8093f--


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


--===============2137283445828284672==
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

--===============2137283445828284672==--