On Fri, Mar 21, 2008 at 04:22:44PM -0700, [EMAIL PROTECTED] wrote:
> Revision: 8309
>           http://plplot.svn.sourceforge.net/plplot/?rev=8309&view=rev
> Author:   jbauck
> Date:     2008-03-21 16:22:44 -0700 (Fri, 21 Mar 2008)
> 
> Log Message:
> -----------
> 
> Revert "pragma Import(C, plimage, "plimage")" in plplot_thin.ads.
> 
> Modified Paths:
> --------------
>     trunk/bindings/ada/plplot_thin.ads.cmake
>     trunk/plplot_test/test_ada.sh.in
> 
> Modified: trunk/bindings/ada/plplot_thin.ads.cmake
> ===================================================================
> --- trunk/bindings/ada/plplot_thin.ads.cmake  2008-03-21 12:18:37 UTC (rev 
> 8308)
> +++ trunk/bindings/ada/plplot_thin.ads.cmake  2008-03-21 23:22:44 UTC (rev 
> 8309)
> @@ -1396,7 +1396,7 @@
>      plimage( data : Long_Float_Pointer_Array; nx : PLINT; ny : PLINT;
>           xmin : PLFLT; xmax : PLFLT; ymin : PLFLT; ymax : PLFLT; zmin : 
> PLFLT; zmax : PLFLT;
>           Dxmin : PLFLT; Dxmax : PLFLT; Dymin : PLFLT; Dymax : PLFLT);
> -    pragma Import(C, plimage, "c_plimage");
> +    pragma Import(C, plimage, "plimage");
>  
>      -- Set up a new line style 

Jerry,

This change has broken the ada examples for me. Compiling example 1
fails with 
home/andrew/software/plplot/build/bindings/ada/CMakeFiles/plplotadad.dir/plplot_traditional.o:
In function `plplot_traditional__plimage':
plplot_traditional.adb:(.text+0x1ab71): undefined reference to `plimage'
collect2: ld returned 1 exit status
gnatlink: cannot call /usr/bin/gcc-4.1
gnatmake: *** link failed.

Reverting this change fixes the problem for me. Can you explain the
reason for the change? 

This is on Ubuntu Gutsy with gnat-4.1.

Cheers

Andrew

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to