OK so after jumping through hoops to get the FreeBSD ports system to take a modified version of the WSJT-X source I was able to try to edit the line..

character*22 msgsent

to..

character(len=*) :: msgsent

and tried to recompile, the program seems to have built fine but then when you start it it starts to launch then hangs and eventually core dumps.

One thing to note is that I was just about to get the latest 2.5.4 version this afternoon so at least I'm up to date but this problem has been present at least for me since 2.1.2

Anyway I'm more than happy to try other changes anyone might have.


Thanks

Jason


On 1/6/22 19:02, Jason Selwitz wrote:
Thanks Alex!

I tool a look at where it was failing and it appears to be coming from ..

/usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx/lib/gen65.f90

which looks like it contains the following..

Line 1: subroutine gen65(msg0,ichk,msgsent,itone,itype)

I did find something similar to what you sent but not exactly so not sure how  or if I should modify it

Line 9: character*22 msgsent

Not sure if that applies or not but then again I don't know fortran :-)


thanks again..

Jason


On 1/6/22 17:54, Alex Lelievre via wsjt-devel wrote:
Hi Jason,

I’ve seen this error with the Apple M1 port.  It’s because the version of the fortran compiler you are using is newer and treats this as an error instead of a warning like the older fortran compiler.  I’m not sure what the recommended version is for WSJT-X but for Intel Macs it was 6.x.


If this error is coming from lib/grid2deg.f90 then you can try this patch:

Remove the line:
   character*6 grid0,grid

And replace with:
  character(len=*) :: grid0
  character*6 grid


alex
K6LOT

On Jan 6, 2022, at 2:22 PM, Jason Selwitz via wsjt-devel <wsjt-devel@lists.sourceforge.net> wrote:

   Hi there,

I was wondering if anyone had seen the following error it usually happens when I try to double click on another callsign to start attempting to make a contact Ive tried removing and rebuilding the configuration and tried changing a few settings in the software to try to find a work around but so far no luck. if anyone has any tip, suggestions, etc it would be much appreciated, if this is not the right place I can always try to follow up with the FreeBSD porters team.

Fortran runtime error: Actual string length is shorter than the declared one for dummy argument 'msgsent' (-4294967274/22)

Thanks, again!

Jason



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


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


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

Reply via email to