Aubit4gl compilation in Ubuntu 24 (gcc 13.3)

Sergio Szychowski <[email protected]> Sat, 10 May 2025 17:57:17 -0300
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAHrRhujewjT2UyQyzVj3f6wO+u07Lefaht9oBAFD3xRk4qHOJg@mail.gmail.com>
--===============4454287983347281356==
Content-Type: multipart/alternative; boundary="000000000000af05c60634ce54f5"

--000000000000af05c60634ce54f5
Content-Type: text/plain; charset="UTF-8"

When I was trying to generate the 4ae on Ubuntu 24 with gcc 13 does not
allow the repetition of variable definitions in the global of different
modules, giving errors such as: */usr/bin/ld: file1.ao:(.bss+0xNNN):
multiple definition of `w_algo'; file2.ao:(.bss+0xXXX): first defined here*
This is *solved* by exporting before compiling: *export CFLAGS=-fcommon*

Best regards

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

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large"><br=
></div><div class=3D"gmail_default" style=3D"font-size:large">When I was tr=
ying to generate the 4ae on Ubuntu 24 with gcc 13 does not allow the repeti=
tion of variable definitions in the global of different modules, giving err=
ors such as: <b>/usr/bin/ld: file1.ao:(.bss+0xNNN): multiple definition of =
`w_algo&#39;; file2.ao:(.bss+0xXXX): first defined here</b><br>This is <b>s=
olved</b> by exporting before compiling: <b>export CFLAGS=3D-fcommon</b></d=
iv><div class=3D"gmail_default" style=3D"font-size:large"><b><br></b></div>=
<div class=3D"gmail_default" style=3D"font-size:large">Best regards</div></=
div>

--000000000000af05c60634ce54f5--


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


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

--===============4454287983347281356==--