David Morris wrote: : : I am trying to compile the Embedded Tk source code and run into an error : when the compiler tries to link to the tk library (gcc ... -ltk ...) : : Should I modify that to specify the particular version of the library to : look for. I do have the tcl74 tcl75 (current pointer) tcl75-dev, tk40 tk41 : (current pointer) and tk41-dev packages installed.
Since the libtk versions are incompatible (at API level, as far as I can guess -- I've tried (now successfully) to adopt source written for < tk7.4 (?) and for every new libtk (7.4, 7.4) I encountered slight changes at API level) you should consider change your makefiles to the proper library (-ltk74 rsp. -ltk75). : While I have compiled a few programs using make, I am clueless so far : about it (but want to start figuring it out), so my question is the : broader one as well... if I have -ltk in the command line for gcc, what : specific file will gcc look for? gcc will look for (not 100% sure, you should read the gcc manual or info pages) libtk.so libtk.a in the library path (normally .:/lib:/usr/lib:/usr/local/lib). The path can be changed with -L/tmp/lib or similar. !!! This all is written from mind, please rely too much on this. Read !!! the manual pages for the truth. Heiko -- email : [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] pgp : A1 7D F6 7B 69 73 48 35 E1 DE 21 A7 A8 9A 77 92 finger: [EMAIL PROTECTED] [EMAIL PROTECTED]