[FLASH-USERS] Linking error: error LNK2019: unresolved external symbol

Christoper Daley cdaley at flash.uchicago.edu
Wed Jul 7 11:29:03 EDT 2010


Hi Kunal,

I believe this could be the same build error that I encountered
several months ago on Jaguar.  It happens because the FLASH
Makefiles included in UG simulations do not specify that we need
to link against the interface-definition module named
gr_interface.

Can you please try the following patch (created for FLASH3.2
release).  Go to the top level FLASH directory and type:
patch -p0 < gr_interface_patch.diff

Then re-run the setup script.  Does this work for you?

(For Flash center folks, I made the change in r11049 and r11050)

Chris


On 06/07/10 18:16, Kunal Rao wrote:
> Hi
>
> I have done the setup as follows:
>
> $setup Sedov -auto -makefile=pg +ug +noio -ostype=Linux -portable
>
> The setup is done successfully and the object directory is created. 
> But when I do $ make in the object directory,
> I get the following error:
>
>    
>  --------------------------------------------------------------------------------------
>     Grid_putBlkData.o : error LNK2001: unresolved external symbol 
> gr_interface_
>     Grid_putPlaneData.o : error LNK2001: unresolved external symbol 
> gr_interface_
>     Grid_putPointData.o : error LNK2001: unresolved external symbol 
> gr_interface_
>     Grid_putRowData.o : error LNK2001: unresolved external symbol 
> gr_interface_
>     Grid_getBlkData.o : error LNK2001: unresolved external symbol 
> gr_interface_
>     Grid_getPlaneData.o : error LNK2019: unresolved external symbol 
> gr_interface_ re
>     ferenced in function grid_getplanedata_
>     Grid_getPointData.o : error LNK2001: unresolved external symbol 
> gr_interface_
>     Grid_getRowData.o : error LNK2001: unresolved external symbol 
> gr_interface_
>     flash3.exe : fatal error LNK1120: 1 unresolved externals
>
>    
>  ----------------------------------------------------------------------------------------
>
> which linking am I missing here ?
>
> Thanks & Regards,
> Kunal
>
>
>
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gr_interface_patch.diff
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20100707/8182a24c/attachment-0001.ksh>


More information about the flash-users mailing list