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

Kunal Rao kunalgrao at gmail.com
Wed Jul 7 15:48:14 EDT 2010


Hey Chris,

 Thank you very much. That worked !!

Regards,
Kunal

On Wed, Jul 7, 2010 at 11:29 AM, Christoper Daley <cdaley at flash.uchicago.edu
> wrote:

> 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 HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20100707/ed2f964e/attachment.htm>


More information about the flash-users mailing list