Newbie Question: Tcl/tk undefined reference
Eric L T Tan
eltan@Glue.umd.edu
Sat Mar 8 17:16:00 GMT 2003
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@Glue.umd.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/
More information about the Cygwin
mailing list