Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: undefined reference????

Reply
Thread Tools

Re: undefined reference????

 
 
Codemutant
Guest
Posts: n/a
 
      05-29-2004
**** Post for FREE via your newsreader at post.usenet.com ****

It is actually a program taken from an API documentation of "link
parser" (www.link.cs.cmu.edu/link/)

I was planning to use the API, but as you can see i got problems making
the example program run. I have no clue of why the example given in the
documentation should be wrong.. may be its because i got wrong somewhere
in the installation of the link parser or any of its api files.. but i
havent got a clue.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
*** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
http://www.usenet.com
Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
Reply With Quote
 
 
 
 
John Carson
Guest
Posts: n/a
 
      05-29-2004
"Codemutant" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)
> **** Post for FREE via your newsreader at post.usenet.com ****
>
> It is actually a program taken from an API documentation of "link
> parser" (www.link.cs.cmu.edu/link/)
>
> I was planning to use the API, but as you can see i got problems
> making the example program run. I have no clue of why the example
> given in the documentation should be wrong.. may be its because i got
> wrong somewhere in the installation of the link parser or any of its
> api files.. but i havent got a clue.
>



I am pretty sure that it is a setup/compiler issue. I went to here

http://www.link.cs.cmu.edu/link/ftp-...mar/link-4.1a/

and downloaded the Windows version. It compiled and ran without a problem.
Several files in the download have a main() function, but I established that
the one being used was parse.c. I removed it from the project and replaced
it with the example file that is giving you trouble. It too compiled and ran
without a problem.

I don't use gcc, so I can only guess what the problem might be. Is
"undefined reference" a compiler or a linker error? The Windows version
requires about 30 source files found in the src subdirectory. You need to
make sure that they are being compiled and linked as well.


--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
typeof x == 'undefined' or x == undefined? -Lost Javascript 13 01-31-2007 12:04 AM
undefined vs. undefined (was: new Array() vs []) VK Javascript 45 09-12-2006 05:26 PM
pass an undefined number of datasets Andreas VHDL 5 05-31-2005 06:06 PM
undefined behavior or not undefined behavior? That is the question Mantorok Redgormor C Programming 70 02-17-2004 02:46 PM
NET::NNTP Undefined value error Gene Mat Perl 0 07-07-2003 11:38 PM



Advertisments