delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/12/24/02:09:52

From: corinna DOT vinschen AT cityweb DOT de (Corinna Vinschen)
Subject: Problems with winsup-981223
24 Dec 1998 02:09:52 -0800 :
Message-ID: <36820E45.F08619FA.cygnus.cygwin32.developers@cityweb.de>
Mime-Version: 1.0
To: "Christopher G. Faylor" <cgf AT cygnus DOT com>, cygwin32-developers AT cygnus DOT com

Hi,

if compiling with -D_MT_SAFE=1:
-----------
In file included from winsup.h:37,
                 from assert.cc:11:
thread.h:99: field `_localtime_buf' has incomplete type
make: *** [assert.o] Error 1
-----------
This is corrected by additional #include <time.h>


While linking:
-----------
undefined symbol from libc.a(execvp.o): posix_path_list_p
-----------
The function now is named 'cygwin_posix_path_list_p',
which I have corrected by changing the call in libc::execvp.c

Now it's compilable and linkable, but 
- if it's compiled with -D_MT_SAFE=1, starting e.g. tcsh from
  cmd results in immediate exit of tcsh without any error output.
- if it's compiled without thread safeness, it doesn't run correct
  in tty mode. The telnet session suddenly outputs `ogin:' instead
  of `login:' and the first key press results in lost connection
  to telnetd.

Regards,
Corinna

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019