I get the same error on Mac OSX Mojave

Have manually edit qmap/libqmap/q65c.f90 and remove:

nfa
nfb
max_drift

references to get it to compile

Using gfortran-mp-11 which is the macports version of gcc11 same error on gcc12 
gfortran


> On Jun 12, 2023, at 12:59 PM, Marco Calistri via wsjt-devel 
> <wsjt-devel@lists.sourceforge.net> wrote:
> 
> Hi,
> 
> Tried also to build WSJTX from git repository and faced same error I faced by 
> using the tgz archive.
> 
> In my distro OpenSUSE Tumbleweed applying the standard WSJT-X single patch 
> "wsjtx.patch" do not works and I need to apply it to all the files involved 
> in the error.
> 
> I supposed that at least in the git this issue were resolved.
> 
> In my opinion (maybe I'm wrong) it looks that the major code attention being 
> reserved to Windows more than on Linux O.S. with this software.
> 
> In any case the behavior between OpenSUSE, Fedora, Ubuntu is certainly 
> different on some aspects and for this specific issue of apply the patch it 
> looks to really be different.
> 
> [ 94%] Automatic MOC for target qmap_impl
> [ 94%] Built target qmap_impl_autogen
> [ 94%] Building Fortran object 
> qmap/libqmap/CMakeFiles/qmap_impl.dir/q65c.f90.o
> /home/marco/WSJT-X_build/git/src/qmap/libqmap/q65c.f90:23:39:
> 
>   23 |        ndepth,ndiskdat,neme,newdat,nfa,nfb,nfcal,nfshift,              
>    &
>      |                                       1
> Error: Symbol ‘nfa’ at (1) is USE associated from module ‘q65’ and cannot 
> occur in COMMON
> gmake[2]: *** [qmap/libqmap/CMakeFiles/qmap_impl.dir/build.make:336: 
> qmap/libqmap/CMakeFiles/qmap_impl.dir/q65c.f90.o] Error 1
> gmake[1]: *** [CMakeFiles/Makefile2:2109: 
> qmap/libqmap/CMakeFiles/qmap_impl.dir/all] Error 2
> gmake: *** [Makefile:156: all] Error 2
> ---
> 73 de Marco, PY1ZRJ (former IK5BCU)
> <mKPuc9m0n87ziXr4.jpeg>
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Attachment: signature.asc
Description: Message signed with OpenPGP

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

Reply via email to