On 2014-02-12 09:05-0000 Arjen Markus wrote:

> Update:
>
>> -----Original Message-----
>> From: Arjen Markus [mailto:arjen.mar...@deltares.nl]
>>
>> ... With these
>> warnings turned off, the build proceeds as expected, though it is taking 
>> longer than I
>> anticipated. I am pretty sure I gave the command to build swig only and now 
>> it is
>> proceeding with other targets as well.
>>
>
> This was my mistake - I did not specify any target.
>
> It did reveal a problem in build_itk:
>
> [ 58%] Performing build step for 'build_itk'
> d:/plplot-svn/build-msys-28/epa_build/Source/build_itk/generic/itkArchetype.c:
>  I
> n function 'Itk_ArchetypeInit':
> d:/plplot-svn/build-msys-28/epa_build/Source/build_itk/generic/itkArchetype.c:95
> :17: warning: variable 'cmd' set but not used [-Wunused-but-set-variable]
>     Tcl_Command cmd;
>                 ^
> itkArchBase.o:itkArchBase.c:(.text+0x19): undefined reference to `tclStubsPtr'
> itkArchBase.o:itkArchBase.c:(.text+0x59): undefined reference to `tclStubsPtr'
> itkArchBase.o:itkArchBase.c:(.text+0xa2): undefined reference to `tclStubsPtr'
> itkArchBase.o:itkArchBase.c:(.text+0xb8): undefined reference to `tclStubsPtr'
> itkArchBase.o:itkArchBase.c:(.text+0xdc): undefined reference to `tclStubsPtr'
> itkArchBase.o:itkArchBase.c:(.text+0xfc): more undefined references to 
> `tclStubs
> Ptr' follow
> c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: 
> itkArchBas
> e.o: bad reloc address 0x20 in section `.eh_frame'
> collect2.exe: error: ld returned 1 exit status
> make.exe[3]: *** [itk400.dll] Error 1
> make[2]: *** [epa_build/Stamp/build_itk/build_itk-build] Error 2
> make[1]: *** [itk/CMakeFiles/build_itk.dir/all] Error 2
> make: *** [all] Error 2
>
> Regards,

Hi Arjen:

I am really pleased you figured out the swig build problem!

I suspect the remaining problem is your current build is confusing
Itcl/Itk version 3 headers with Itcl/Itk version 4 headers.  To avoid
that confusion it is essential that you set CMAKE_INCLUDE_PATH
appropriately following what I do in 
cmake/epa_build/setup/setup_mingw_msys_wine_toolchain and
cmake/epa_build/setup/setup_msys_makefiles.

If that solves the problem, good luck with the rest of it.

Signing off now for the night, and I am looking forward to releasing
~10 hours from now with however far you have gotten at that time with
the comprehensive MinGW/MSYS test.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to