Package: wily
Version: 0.13.41-6
Severity: normal
Tags: patch

Lauching the "win" tool from wily fail with the message :

        win: unable to open master pty at win.c:729 in __FUNCTION__()

Recompiling from Debian sources gives the same error. But if I add the
-DHAVE_DEV_PTMX=1 option in the Makefile for win, it works. Below is the very
small diff -u :

----------------------------------------------------------------------------
--- wily-0.13.41/tools/win/Makefile     2005-07-17 23:41:49.103931704 +0200
+++ wily-0.13.41.ok/tools/win/Makefile  2005-07-18 00:08:15.000838728 +0200
@@ -13,7 +13,7 @@
 
 CC                             = gcc
 CFLAGS                 = -g -O2 -Wall -I../.. -I$(srcdir)/../../include
-DEFS                   =  -DHAVE_LIBNSL=1 
+DEFS                   =  -DHAVE_LIBNSL=1 -DHAVE_DEV_PTMX=1
 LIBS                   = -lnsl  ../../libmsg/libmsg.a  ../../libXg/libXg.a
 LDFLAGS                        = 
-----------------------------------------------------------------------------
 
The "win" compiled with -DHAVE_DEV_PTMX=1 runs fine and give a shell in wily,
as expected.

By the way, the above error message shows that the code
stringize(__FUNCTION__) doesn't work. It stops gcc warnings about __FUNCTION__
beeing deprecated, but don't replace __FUNCTION__ with the real name of the C
function.

May you excuse my bad english and be thanked for your work.



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8.custom
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages wily depends on:
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to