as additional info to my earlier post, this is where i'm getting
stuck trying to cross-compile lftp-3.2.1 for the powerpc using the
ELDK3.1.1 toolchain from www.denx.de.

  $ export CC=ppc_8xx-gcc
  $ ./configure --with-ssl --disable-static --host=powerpc-linux

  ... much configure output here, until ...

===================================
...
checking for XML_ParserCreateNS in -lexpat... yes
checking for "/dev/ptc"... configure: error: cannot check for file
existence when cross compiling

$
===================================

  as i read it, in the "configure" file, starting at line 26477, there
is a check is the host contains "linux" or is a version of SCO and, if
so, it hardcodes that there is no /dev/ptmx file, which skips the next
several lines.  this is a good thing since, if it didn't, it would
have aborted there for the same reason.

  however, there is no such check when testing for /dev/ptc, which
causes the configure step to abort, complaining that it can't test for
file existence when cross-compiling.

  so what's the normal solution to this?  thanks for any info.

rday

Reply via email to