Re: [wsjt-devel] Windows build issue

2016-10-16 Thread Greg Beam
Hi Edson,

Ok, I'm glad its working now.

Just remember, as your one of the core developers, leaving those options 
enabled will force a full rebuild of the entire project each iteration, 
adding a fare amount of time to the build and building elements that 
were not modified, which may not be necessary if you are working on just 
one aspect of the code. CMake / Make is pretty smart, it knows what to 
build and when.

For non-development activities / testers, it is probably wise to just 
leave them enabled as it's only adds a minute or two, which is 
insignificant for those purposes.

73's
Greg, KI7MT

On 10/16/2016 12:14 PM, Edson W. R. Pereira wrote:
>
> Thank you, Greg! The enable-rcfg and enable-clean did resolve the issue.
>
> 73, Edson PY2SDR
>
> ---
> - We humans have the capability to do amazing things if we work together.
> - Nós seres humanos temos a capacidade de fazer coisas incríveis se
> trabalharmos juntos.
>
> On Sun, Oct 16, 2016 at 3:03 PM, Greg Beam  > wrote:
>
> Hi Edson,
>
> A build environment issue is possible, but not likely if you've not
> changed anything recently. I've seen these type of errors in the past
> for couple of different reasons: the build tree getting corrupted
> somehow or the computer itself not handling parallel builds properly.
> Why the latter happens I've never been able to determine.
>
> To ensure it is not the build tree causing the issue, I would:
>
> enable-rcfg
> enable-clean
> build-wsjtx rinstall
>
> if that fails, try separating the builds:
>
> enable-separate
> build-wsjtx rinstall
>
>
> If both the methods above fail, then I would start to suspect the build
> environment or the box is somehow contributing to the problem. I doubt
> the WSJT-X source code is the issue or others would be reporting similar
> issues, but it is possible.
>
>
> 73's
> Greg, KI7MT
>
>
> On 10/16/2016 9:09 AM, Edson W. R. Pereira wrote:
> >
> > While trying to compile the svn head today, I've got some missing
> > references:
> >
> > [...]
> > Linking CXX executable jt65.exe
> > [ 87%] Built target jt65code
> > libwsjt_fort.a(jt65_decode.f90.obj):jt65_decode.f90:(.text+0x30c1):
> > undefined re
> > ference to `qra64a_'
> > libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x2d0): undefined
> > reference to
> > `pctile_'
> > libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x66d): undefined
> > reference to
> > `peakup_'
> >
> 
> c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../
> > i686-w64-mingw32/bin/ld.exe: libwsjt_fort.a(sync65.f90.obj): bad reloc
> > address 0
> > x20 in section `.eh_frame'
> >
> 
> c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../
> > i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
> > collect2.exe: error: ld returned 1 exit status
> > CMakeFiles\jt65.dir\build.make:143: recipe for target 'jt65.exe'
> failed
> > mingw32-make.exe[2]: *** [jt65.exe] Error 1
> > CMakeFiles\Makefile2:261: recipe for target
> 'CMakeFiles/jt65.dir/all' failed
> > mingw32-make.exe[1]: *** [CMakeFiles/jt65.dir/all] Error 2
> > mingw32-make.exe[1]: *** Waiting for unfinished jobs
> > [ 87%] [ 87%] Building Fortran object
> > CMakeFiles/jt65sim.dir/lib/jt65sim.f90.obj
> >
> > Building RC object CMakeFiles/jt65sim.dir/wsjtx.rc.obj
> > [ 87%] Building CXX object
> CMakeFiles/jt65sim.dir/jt65sim_automoc.cpp.obj
> > Linking CXX executable jt65sim.exe
> > [ 87%] Built target jt65sim
> > makefile:136: recipe for target 'all' failed
> > mingw32-make.exe: *** [all] Error 2
> > [...]
> >
> >
> > My Windows JTSDK info is:
> >
> > SVN Check
> > 
> >
> > Update from SVN Before Building? ( y/n )
> >
> > Type Response: y
> >
> > 
> >  Folder Locations
> > 
> >
> >  JTSDK Option: Folder Separation Disabled
> >  JTSDK Option: QT55 Disabled
> >
> >  Build ...: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build
> >  Install .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\install
> >  Package .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\package
> >
> > 
> >  Build Information
> > 
> >
> >  Name : wsjtx Release Candidate
> >  Version .: 1.7.0
> >  SVN .: r7185
> >  Type : Release
> >  Target ..: install
> >  Tool Chain ..: qt52
> >  SRC .: C:\JTSDK\src\wsjtx
> >  Build ...: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build
> >  Install 

Re: [wsjt-devel] Windows build issue

2016-10-16 Thread Edson W. R. Pereira
Thank you, Greg! The enable-rcfg and enable-clean did resolve the issue.

73, Edson PY2SDR

---
- We humans have the capability to do amazing things if we work together.
- Nós seres humanos temos a capacidade de fazer coisas incríveis se
trabalharmos juntos.

On Sun, Oct 16, 2016 at 3:03 PM, Greg Beam  wrote:

> Hi Edson,
>
> A build environment issue is possible, but not likely if you've not
> changed anything recently. I've seen these type of errors in the past
> for couple of different reasons: the build tree getting corrupted
> somehow or the computer itself not handling parallel builds properly.
> Why the latter happens I've never been able to determine.
>
> To ensure it is not the build tree causing the issue, I would:
>
> enable-rcfg
> enable-clean
> build-wsjtx rinstall
>
> if that fails, try separating the builds:
>
> enable-separate
> build-wsjtx rinstall
>
>
> If both the methods above fail, then I would start to suspect the build
> environment or the box is somehow contributing to the problem. I doubt
> the WSJT-X source code is the issue or others would be reporting similar
> issues, but it is possible.
>
>
> 73's
> Greg, KI7MT
>
>
> On 10/16/2016 9:09 AM, Edson W. R. Pereira wrote:
> >
> > While trying to compile the svn head today, I've got some missing
> > references:
> >
> > [...]
> > Linking CXX executable jt65.exe
> > [ 87%] Built target jt65code
> > libwsjt_fort.a(jt65_decode.f90.obj):jt65_decode.f90:(.text+0x30c1):
> > undefined re
> > ference to `qra64a_'
> > libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x2d0): undefined
> > reference to
> > `pctile_'
> > libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x66d): undefined
> > reference to
> > `peakup_'
> > c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-
> mingw32/4.8.0/../../../../
> > i686-w64-mingw32/bin/ld.exe: libwsjt_fort.a(sync65.f90.obj): bad reloc
> > address 0
> > x20 in section `.eh_frame'
> > c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-
> mingw32/4.8.0/../../../../
> > i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
> > collect2.exe: error: ld returned 1 exit status
> > CMakeFiles\jt65.dir\build.make:143: recipe for target 'jt65.exe' failed
> > mingw32-make.exe[2]: *** [jt65.exe] Error 1
> > CMakeFiles\Makefile2:261: recipe for target 'CMakeFiles/jt65.dir/all'
> failed
> > mingw32-make.exe[1]: *** [CMakeFiles/jt65.dir/all] Error 2
> > mingw32-make.exe[1]: *** Waiting for unfinished jobs
> > [ 87%] [ 87%] Building Fortran object
> > CMakeFiles/jt65sim.dir/lib/jt65sim.f90.obj
> >
> > Building RC object CMakeFiles/jt65sim.dir/wsjtx.rc.obj
> > [ 87%] Building CXX object CMakeFiles/jt65sim.dir/
> jt65sim_automoc.cpp.obj
> > Linking CXX executable jt65sim.exe
> > [ 87%] Built target jt65sim
> > makefile:136: recipe for target 'all' failed
> > mingw32-make.exe: *** [all] Error 2
> > [...]
> >
> >
> > My Windows JTSDK info is:
> >
> > SVN Check
> > 
> >
> > Update from SVN Before Building? ( y/n )
> >
> > Type Response: y
> >
> > 
> >  Folder Locations
> > 
> >
> >  JTSDK Option: Folder Separation Disabled
> >  JTSDK Option: QT55 Disabled
> >
> >  Build ...: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build
> >  Install .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\install
> >  Package .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\package
> >
> > 
> >  Build Information
> > 
> >
> >  Name : wsjtx Release Candidate
> >  Version .: 1.7.0
> >  SVN .: r7185
> >  Type : Release
> >  Target ..: install
> >  Tool Chain ..: qt52
> >  SRC .: C:\JTSDK\src\wsjtx
> >  Build ...: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build
> >  Install .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\install
> >  Package .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\package
> >  SVN URL .: http://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx
> >  TC File .: c:/JTSDK/scripts/wsjtx-toolchain.cmake
> >
> > [..]
> >
> > COMPILER INFO ( Mingw 48_32 )
> > -
> >  C++ : 4.8.0
> >  GFortran ...: 4.8.0
> >  GNU Make ...: 3.82.90
> >
> > CRITICAL APP INFO
> > -
> >  Asciidoctor..: 1.5.3
> >  Cmake ...: 3.0.2
> >  Cpack ...: 3.0.2
> >  QT5 .: 5.2.1
> >  QMake ...: 3.0
> >  NSIS : v3.0b1
> >  InnoSetup ...: 5.5.5a
> >  Pkg-Cfg .: 0.28
> >
> > (JTSDK-QT 5.2 ) C:\JTSDK)
> >
> > Could the issue be something in build environment?
> >
> > 73, Edson PY2SDR
> >
> > ---
> > - We humans have the capability to do amazing things if we work together.
> > - Nós seres humanos temos a capacidade de fazer coisas incríveis se
> > trabalharmos juntos.
> >
>
> 

Re: [wsjt-devel] Windows build issue

2016-10-16 Thread Greg Beam
Hi Edson,

A build environment issue is possible, but not likely if you've not 
changed anything recently. I've seen these type of errors in the past 
for couple of different reasons: the build tree getting corrupted 
somehow or the computer itself not handling parallel builds properly. 
Why the latter happens I've never been able to determine.

To ensure it is not the build tree causing the issue, I would:

enable-rcfg
enable-clean
build-wsjtx rinstall

if that fails, try separating the builds:

enable-separate
build-wsjtx rinstall


If both the methods above fail, then I would start to suspect the build 
environment or the box is somehow contributing to the problem. I doubt 
the WSJT-X source code is the issue or others would be reporting similar 
issues, but it is possible.


73's
Greg, KI7MT


On 10/16/2016 9:09 AM, Edson W. R. Pereira wrote:
>
> While trying to compile the svn head today, I've got some missing
> references:
>
> [...]
> Linking CXX executable jt65.exe
> [ 87%] Built target jt65code
> libwsjt_fort.a(jt65_decode.f90.obj):jt65_decode.f90:(.text+0x30c1):
> undefined re
> ference to `qra64a_'
> libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x2d0): undefined
> reference to
> `pctile_'
> libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x66d): undefined
> reference to
> `peakup_'
> c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../
> i686-w64-mingw32/bin/ld.exe: libwsjt_fort.a(sync65.f90.obj): bad reloc
> address 0
> x20 in section `.eh_frame'
> c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../
> i686-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
> collect2.exe: error: ld returned 1 exit status
> CMakeFiles\jt65.dir\build.make:143: recipe for target 'jt65.exe' failed
> mingw32-make.exe[2]: *** [jt65.exe] Error 1
> CMakeFiles\Makefile2:261: recipe for target 'CMakeFiles/jt65.dir/all' failed
> mingw32-make.exe[1]: *** [CMakeFiles/jt65.dir/all] Error 2
> mingw32-make.exe[1]: *** Waiting for unfinished jobs
> [ 87%] [ 87%] Building Fortran object
> CMakeFiles/jt65sim.dir/lib/jt65sim.f90.obj
>
> Building RC object CMakeFiles/jt65sim.dir/wsjtx.rc.obj
> [ 87%] Building CXX object CMakeFiles/jt65sim.dir/jt65sim_automoc.cpp.obj
> Linking CXX executable jt65sim.exe
> [ 87%] Built target jt65sim
> makefile:136: recipe for target 'all' failed
> mingw32-make.exe: *** [all] Error 2
> [...]
>
>
> My Windows JTSDK info is:
>
> SVN Check
> 
>
> Update from SVN Before Building? ( y/n )
>
> Type Response: y
>
> 
>  Folder Locations
> 
>
>  JTSDK Option: Folder Separation Disabled
>  JTSDK Option: QT55 Disabled
>
>  Build ...: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build
>  Install .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\install
>  Package .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\package
>
> 
>  Build Information
> 
>
>  Name : wsjtx Release Candidate
>  Version .: 1.7.0
>  SVN .: r7185
>  Type : Release
>  Target ..: install
>  Tool Chain ..: qt52
>  SRC .: C:\JTSDK\src\wsjtx
>  Build ...: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build
>  Install .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\install
>  Package .: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\package
>  SVN URL .: http://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx
>  TC File .: c:/JTSDK/scripts/wsjtx-toolchain.cmake
>
> [..]
>
> COMPILER INFO ( Mingw 48_32 )
> -
>  C++ : 4.8.0
>  GFortran ...: 4.8.0
>  GNU Make ...: 3.82.90
>
> CRITICAL APP INFO
> -
>  Asciidoctor..: 1.5.3
>  Cmake ...: 3.0.2
>  Cpack ...: 3.0.2
>  QT5 .: 5.2.1
>  QMake ...: 3.0
>  NSIS : v3.0b1
>  InnoSetup ...: 5.5.5a
>  Pkg-Cfg .: 0.28
>
> (JTSDK-QT 5.2 ) C:\JTSDK)
>
> Could the issue be something in build environment?
>
> 73, Edson PY2SDR
>
> ---
> - We humans have the capability to do amazing things if we work together.
> - Nós seres humanos temos a capacidade de fazer coisas incríveis se
> trabalharmos juntos.
>

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Windows build issue

2016-10-16 Thread Black Michael
Sounds like you need to remove everything and do a reinstall.  You've got old 
versions of gcc. of stuff.
     _ _     _  __      ___ _    | |_   _/ ___||  _ \| |/ /     
/ _ \_   _| _  | | | | \___ \| | | | ' /_| | | || || |_| | | |  ___) | |_| 
| . \_| |_| || | \___/  |_| |/|/|_|\_\     \__\_\|_| v2.0.5-1 
Release 696

BUILD APPLICATIONS: ( WSJT-X WSPR-X MAP65 
)-
USAGE:  build-(app_name) (type)
 App Names : wsjtx wsprx map65 Release Types : rconfig 
rinstall package Debug Types ..: dconfig dinstall
HELP SCREENS- 
JTSDK-QT Help, Type ..: help-qtenv Checkout Help, Type ..: help-checkout Build 
Help, Type .: help-(app_name) List Options, Type ...: list-options
COMPILER INFO ( Mingw 49_32 
)- C++ : 
4.9.2 GFortran ...: 4.9.2 GNU Make ...: 4.1
CRITICAL APP INFO- 
Asciidoctor..: 1.5.3 Cmake ...: 3.0.2 Cpack ...: 3.0.2 QT5 .: 
5.5.0 QMake ...: 3.0 NSIS : v3.0b1 InnoSetup ...: 5.5.5a Pkg-Cfg 
.: 0.28
 --- 
Michael D. Black

  From: Edson W. R. Pereira 
 To: WSJT-devel-List  
 Sent: Sunday, October 16, 2016 10:09 AM
 Subject: [wsjt-devel] Windows build issue
   

While trying to compile the svn head today, I've got some missing references:
[...]Linking CXX executable jt65.exe[ 87%] Built target 
jt65codelibwsjt_fort.a(jt65_decode.f90.obj):jt65_decode.f90:(.text+0x30c1): 
undefined reference to 
`qra64a_'libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x2d0): undefined 
reference to`pctile_'libwsjt_fort.a(sync65.f90.obj):sync65.f90:(.text+0x66d): 
undefined reference 
to`peakup_'c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe:
 libwsjt_fort.a(sync65.f90.obj): bad reloc address 0x20 in section 
`.eh_frame'c:/jtsdk/qt5/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe:
 final link failed: Invalid operationcollect2.exe: error: ld returned 1 exit 
statusCMakeFiles\jt65.dir\build.make:143: recipe for target 'jt65.exe' 
failedmingw32-make.exe[2]: *** [jt65.exe] Error 1CMakeFiles\Makefile2:261: 
recipe for target 'CMakeFiles/jt65.dir/all' failedmingw32-make.exe[1]: *** 
[CMakeFiles/jt65.dir/all] Error 2mingw32-make.exe[1]: *** Waiting for 
unfinished jobs[ 87%] [ 87%] Building Fortran object 
CMakeFiles/jt65sim.dir/lib/jt65sim.f90.obj
Building RC object CMakeFiles/jt65sim.dir/wsjtx.rc.obj[ 87%] Building CXX 
object CMakeFiles/jt65sim.dir/jt65sim_automoc.cpp.objLinking CXX executable 
jt65sim.exe[ 87%] Built target jt65simmakefile:136: recipe for target 'all' 
failedmingw32-make.exe: *** [all] Error 2[...]

My Windows JTSDK info is:
SVN Check
Update from SVN Before Building? ( y/n )
Type Response: y
 Folder 
Locations
 JTSDK Option: Folder Separation Disabled JTSDK Option: QT55 Disabled
 Build ...: C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build Install .: 
C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\install Package .: 
C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\package
 Build 
Information
 Name : wsjtx Release Candidate Version .: 1.7.0 SVN .: 
r7185 Type : Release Target ..: install Tool Chain ..: qt52 SRC 
.: C:\JTSDK\src\wsjtx Build ...: 
C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\build Install .: 
C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\install Package .: 
C:\JTSDK\wsjtx\devel\qt52\1.7.0\Release\package SVN URL .: 
http://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx TC File .: 
c:/JTSDK/scripts/wsjtx-toolchain.cmake
[..]
COMPILER INFO ( Mingw 48_32 
)- C++ : 
4.8.0 GFortran ...: 4.8.0 GNU Make ...: 3.82.90
CRITICAL APP INFO- 
Asciidoctor..: 1.5.3 Cmake ...: 3.0.2 Cpack ...: 3.0.2 QT5 .: 
5.2.1 QMake ...: 3.0 NSIS : v3.0b1 InnoSetup ...: 5.5.5a Pkg-Cfg 
.: 0.28
(JTSDK-QT 5.2 ) C:\JTSDK)
Could the issue be something in build environment?
73, Edson PY2SDR
 We humans have the capability to do amazing things if we work together.
- Nós seres humanos temos a capacidade de fazer coisas incríveis se 
trabalharmos juntos.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot