[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling problem



Hi,  I need to call a ns command from a C++ code. My test code has the
instructions to get the tcl instance (Tcl& tcl = Tcl::instance()). The
compilation is Ok, but when I try to use the loader to make a program, I
get "Undefined reference" to Tcl::instance(). I am using Red Hat 6.0 and
gcc, also I indicated  tclc and Tcl libraries and their paths  as
options (-l and -L)  for gcc, but doesn't work. Anybody can help me?

  Elvis Melo Vieira