Re: installing Lingua::LinkParser on Win32



Rob - I sure did download from there.

>>From my working directory in the blib\arch\auto\Lingua\LinkParser
directory there is a lib file named LinkParser.lib, but is created when
I run nmake. There is no *.obj file.

So I am tough out of luck?

Thanks,
Nat

Sisyphus wrote:
> <natdavis_2000@xxxxxxxxx> wrote in message
> news:1121895795.458238.218910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > I am trying to install Lingua::LinkParser on a Win32 machine. I have
> > downloaded and installed the Win32 version of the Link Parser tool. I
> > can build the makefile successfully, but when I run nmake I get the
> > following errors:
> >
> > LinkParser.obj : error LNK2001: unresolved external symbol
> > _dictionary_create
> > LinkParser.obj : error LNK2001: unresolved external symbol
> > _dictionary_delete
> > LinkParser.obj : error LNK2001: unresolved external symbol
> > _dictionary_get_max_cost
> > LinkParser.obj : error LNK2001: unresolved external symbol
> > _linkage_and_cost
> >
>
> Looks like you're failing to link to whichever library ('.lib' file) it is
> that resolves those symbols - I guess it's a library that's part of the
> "Link Parser tool" you referred to. (Actually, looking at the module source,
> it appears that you're expected to link to object files rather than a
> library archive.)
>
> If you installed from
> http://www.link.cs.cmu.edu/link/ftp-site/link-grammar/link-4.1b/windows/link41b.zip
> then, unfortunately that package doesn't contain a '.lib' file or any object
> files - and therein lies a problem.
>
> Did you get your "Link Parser tool" from there ?
> Do you have either a library or object files to link to ?
>
> Cheers,
> Rob

.