Fresh gnome-terminal failed to compile



gnome-terminal compilation failed at linking stage with error message:

/opt/gnome/lib/libzvt.so: undefined reference to `login_tty'

The HAVE_LOGIN_TTY is defined in gnome-libs/config.h  because configure
found login_tty in libutil:
...
checking for libutil.h... no
checking for openpty in -lutil... yes
checking for login_tty in -lutil... yes
checking for grantpt... no
checking for utmpxname... no
...

and, as a result "int login_tty (int fd);" have not been compiled into
libzvt But -lutil option was not given to gcc for linking with
gnome-terminal.

Does anyone knows what went wrong?


My system is RH5.2 with updates and everything compiled just fine
yesterday(before change in zvt). 


 Sergey



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