This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie Question: Tcl/tk undefined reference


In fact, I got away with adding -ltcl -ltk to the gcc -o ... line in the
Makefile. Somehow the ./configure didn't do this for me.

Thanks anyways..
Eric

On Sat, 8 Mar 2003, Andrew Markebo wrote:

> Hi!
>
> Just a quick thought, throw us the command-line that gives the error
> too.. And there are a good way to dump a bunch of info regarding your
> system.. throw that here too, think it is in the faq.
>
>          /A
>
> / Eric L T Tan <eltan at Glue dot umd dot edu> wrote:
> | Hi all,
> |
> |   I encountered a linking problem when trying to make Tim's program
> | xcircuit(http://xcircuit.ece.jhu.edu/) that uses tcltk. The linker
> | conplains that  undefined reference to `_Tcl_NewObj' ...etc.
> |
> |   I am sure I installed tcl/tk when installing Cygwin. In
> | addition, doing "cygcheck -c"
> | produces an entry
> |
> | tcltk                   20030214-1
> |
> | among the list of packages. But if I do "cygcheck -h" tcltk then it says
> | "could not find tcltk".
> |
> | Please show me how to make the linker know where to find this library..
> | Thanks in advance!
> | Eric
> |
> |
> |
>
> --
>  The eye of the beholder rests on the beauty!
>
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]