www.delorie.com/gnu/docs/octave/kpathsea_44.html   search  
 
Buy GNU books!


Kpathsea: A library for path searching

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.6.5.6 XtStrings

You may find that linking X programs results in an error from the linker that `XtStrings' is undefined, something like this:

 
gcc -o virmf ...
.../x11.c:130: undefined reference to `XtStrings'

This generally happens because of a mismatch between the X include files with which you compiled and the X libraries with which you linked; often, the include files are from MIT and the libraries from Sun.

The solution is to use the same X distribution for compilation and linking. Probably `configure' was unable to guess the proper directories from your installation. You can use the configure options `--x-includes=path' and `--x-libraries=path' to explicitly specify them.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003