Re: [wsjt-devel] PSE Fixed patch for CMakeFiles/qmap_impl.dir/q65c.f90.o

2023-06-13 Thread Manfred Antar {KN6KBS} via wsjt-devel
I just verified that wsjtx will build without errors with OSX macports gcc10 
(gfortran-mp-10)
The error occurs with gcc11 and gcc12 fortran compilers



> On Jun 13, 2023, at 11:22 AM, Marco Calistri via wsjt-devel 
>  wrote:
> 
> Il 13/06/23 12:19, Joe Taylor via wsjt-devel ha scritto:
>> Marco,
>> 
>> As far as I'm aware your problem involves only an attempt to build program 
>> QMAP.  Almost certainly you have no current use for QMAP, and no real 
>> interest in building it for Linux.
>> 
>> I suggest the simple expedient of moving the statement "endif ()", line 1435 
>> of the top-level CMakeFiles.txt down by two lines so that it comes after the 
>> statement "add_subdirectory (qmap)".  Then   you will not run into the 
>> fussy compiler warnings that are currently bothering you.
>> 
>> -- 73, Joe, K1JT
>> 
>> 
>> ___
>> wsjt-devel mailing list
>> wsjt-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
> 
> 
> Hello Joe, you are right, I don't use QMAP at all!
> 
> Many thanks for this easy workaround, I will follow your directions in case I 
> need to recompile the WSJTX source!
> 
> Best regards,
> ---
> 73 de Marco, PY1ZRJ (former IK5BCU)
> <630404BYw2B5Wom7.jpeg>
> ___
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel



signature.asc
Description: Message signed with OpenPGP
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] PSE Fixed patch for CMakeFiles/qmap_impl.dir/q65c.f90.o

2023-06-12 Thread Manfred Antar {KN6KBS} via wsjt-devel
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 
>  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)
> 
> ___
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel



signature.asc
Description: Message signed with OpenPGP
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel