Hi Alan,


Stupid mistake of mine: the current version of the GCC compiler is 4.9.3 and my 
script had a reference to 4.9.2. After correcting that the Ada binding could be 
enabled as far as that was concerned, however I get build errors:



[ 39%] Linking Ada executable x00a.exe

cd 
/cygdrive/d/plplot-svn/comprehensive_test_disposeable/shared/noninteractive/build_tree/examples/ada
 && /usr/bin/cmake.exe -E cmake_link_script CMakeFiles/x00a.dir/link.txt 
--verbose=1

/usr/bin/gnatmake.exe  -Wl,--enable-auto-import 
-aI/cygdrive/d/plplot-svn/plplot-git/examples/ada 
-aI/cygdrive/d/plplot-svn/plplot-git/bindings/ada 
-aL/cygdrive/d/plplot-svn/comprehensive_test_disposeable/shared/noninteractive/build_tree/bindings/ada/CMakeFiles/plplotada.dir
 x00a.adb -cargs  -largs  ../../dll/libplplotada.dll.a 
../../dll/libplplot.dll.a -lltdl -Wl,-Bstatic -ldl -lshp -Wl,-Bdynamic 
-lfreetype ../../dll/libcsirocsa.dll.a ../../dll/libcsironn.dll.a -lqhull 
../../dll/libqsastime.dll.a

gcc -c -I./ -Wl,--enable-auto-import 
-I/cygdrive/d/plplot-svn/plplot-git/examples/ada 
-I/cygdrive/d/plplot-svn/plplot-git/bindings/ada -I- 
/cygdrive/d/plplot-svn/plplot-git/examples/ada/x00a.adb

gnatbind -aI/cygdrive/d/plplot-svn/plplot-git/examples/ada 
-aI/cygdrive/d/plplot-svn/plplot-git/bindings/ada 
-aO/cygdrive/d/plplot-svn/comprehensive_test_disposeable/shared/noninteractive/build_tree/bindings/ada/CMakeFiles/plplotada.dir
 -x x00a.ali

gnatlink x00a.ali ../../dll/libplplotada.dll.a ../../dll/libplplot.dll.a -lltdl 
-Wl,-Bstatic -ldl -lshp -Wl,-Bdynamic -lfreetype ../../dll/libcsirocsa.dll.a 
../../dll/libcsironn.dll.a -lqhull ../../dll/libqsastime.dll.a

/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/adalib/libgnat.a(a-except.o): In function 
`__gnat_begin_handler':

/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/build/gcc/ada/rts/a-exexpr.adb:274:
 multiple definition of `__gnat_begin_handler'

../../dll/libplplotada.dll.a(d000034.o):(.text+0x0): first defined here

/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/adalib/libgnat.a(a-except.o): In function 
`__gnat_end_handler':

/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/build/gcc/ada/rts/a-exexpr.adb:280:
 multiple definition of `__gnat_end_handler'

../../dll/libplplotada.dll.a(d000065.o):(.text+0x0): first defined here

/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/adalib/libgnat.a(a-except.o): In function 
`__gnat_reraise_zcx':

/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/build/gcc/ada/rts/a-exexpr.adb:295:
 multiple definition of `__gnat_reraise_zcx'

../../dll/libplplotada.dll.a(d000223.o):(.text+0x0): first defined here

/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/adalib/libgnat.a(a-except.o): In function 
`__gnat_unhandled_except_handler':

/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/build/gcc/ada/rts/a-exexpr.adb:389:
 multiple definition of `__gnat_unhandled_except_handler'

../../dll/libplplotada.dll.a(d000263.o):(.text+0x0): first defined here

/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/adalib/libgnat.a(a-except.o): In function 
`__gnat_rcheck_CE_Access_Check':

/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/build/gcc/ada/rts/a-except.adb:1213:
 multiple definition of `__gnat_rcheck_CE_Access_Check'

../../dll/libplplotada.dll.a(d000176.o):(.text+0x0): first defined here

/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/adalib/libgnat.a(a-except.o): In function 
`__gnat_rcheck_CE_Index_Check':

/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/build/gcc/ada/rts/a-except.adb:1248:
 multiple definition of `__gnat_rcheck_CE_Index_Check'

../../dll/libplplotada.dll.a(d000181.o):(.text+0x0): first defined here

/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/adalib/libgnat.a(a-except.o): In function 
`__gnat_rcheck_CE_Invalid_Data':

/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/build/gcc/ada/rts/a-except.adb:1255:
 multiple definition of `__gnat_rcheck_CE_Invalid_Data'

../../dll/libplplotada.dll.a(d000183.o):(.text+0x0): first defined here



I do not know how to solve these. Any suggestions anyone?



Regards,



Arjen

>
> Ia. disabling of Ada
>
> Please do not disable Ada. I worked hard on that language support during this
> release cycle (see 2.2 in README.release).  I am pretty sure Greg 
> participated in
> testing those results for Cygwin and MinGW-w64/MSYS2. so it should "just work"
> on Cygwin.  In fact, if it does not, then there is obviously more Ada work 
> for me to
> do.

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to