Shrikant Kulahalli wrote:
> The problem was:
> 1. Auto configure did not work. Caused multiply defined symbols error at ld
> Used: configure --with-x-libs=/usr/X11R5/lib4.5/libX11.a
Do you think autoconf can be fixed to do this right?
> 2. Linker now gave getpseudotty() unresolved external error. (Hardest
> problem of it all)
> The OpenPTY version inside #ifdef(sequent) block in pty.c was where the
> error was.
> Changed the code to use the SVR4 ifdef'd version of OpenPTY and that took
> care of the problem. There is no getpseudotty
> or open_controlling_tty anywhere in the libraries that the distributed pty.c
> expected. The /dev/ptms and /dev/pts devices exist and hence the SVR4
> version worked without any problems.
I could add a check in configure for the getpseudotty() function. There is
one catch: It might be defined in a header file instead of implemented in
some library. Do you, or does anybody with a Sequent machine, find
getpseudotty() somewhere under /usr/include?
grep -r getpseudotty /usr/include
Another solution would be to move the Sequent version of OpenPTY() to after
the SVR4 one. The SVR4 one is then used when configure thinks it would work.
Bumper sticker: Honk if you love peace and quiet.
/// Bram Moolenaar -- Bram@...
((( Creator of Vim - http://www.vim.org
-- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org