<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=2>Ok I got past that.... now I have another problem. My exe 
fails at /opt/wine/port.c:wine_dlopen(...)&nbsp; at dlopen function. Following 
is the gdb trace for it.</FONT></DIV>
<DIV><FONT size=2>NOTE: I am working on SunSPARC with gcc v3.0</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Any help is greatly appreciated.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>THANKS </FONT></DIV>
<DIV><FONT size=2>Mrugan</FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>542&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ret = 
  dlopen( filename, flag );<BR>(gdb) n<BR>warning: Lowest section in 
  /usr/lib/libintl.so.1 is .hash at 00000074<BR>warning: Lowest section in 
  /usr/lib/libw.so.1 is .hash at 00000074<BR>[New Thread 1 (LWP 1)]<BR>[New 
  LWP&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<BR>[New 
  LWP&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<BR>ERROR: 
  ExpandFullLibraryName: The environment variable MACHINE_TYPE is 
  undefined.<BR>libthread panic: failed to reset hdlr<BR>&nbsp;: dumping core 
  (PID: 7768 LWP 1)<BR>stacktrace:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  feb58798<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  feb4dc84<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  feb504ac<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  feb593e0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ff2d56f0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ff27c7a8<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ff2d4d2c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ff36208c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ff2d5028<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ff2d7708<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  181d4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  1205c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>Program received signal SIGABRT, Aborted.<BR>[Switching to 
  Thread 1 (LWP 1)]<BR>0xfef9b218 in _lwp_kill () from 
  /usr/lib/libc.so.1<BR>(gdb) q</FONT></DIV></BLOCKQUOTE>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message 
</DIV></BLOCKQUOTE></FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=mrugan@hotmail.com href="mailto:mrugan@hotmail.com">Mrugan</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Newsgroups:</B> wine.devel</DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=wine-devel@winehq.com 
  href="mailto:wine-devel@winehq.com">wine-devel@winehq.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 17, 2001 3:42 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Problem with kernel32 on SPARC 
  solaris 8.0</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=2>I am trying to link kernel32 and ntdll libraries to my 
  source code on SPARC Solaris 8.0. My executable does not exit.</FONT></DIV>
  <DIV><FONT size=2>It gets stuck after spawning 4 threads. The gdb trace is as 
  below:</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><FONT size=2>
    <DIV><BR>Starting program: 
    /export/home/mrugan/src/HACore/HaNuanceChannelComRCE/nuancetest.exe<BR>warning: 
    Lowest section in /usr/lib/libintl.so.1 is .hash at 00000074<BR>warning: 
    Lowest section in /usr/lib/libw.so.1 is .hash at 00000074<BR>[New LWP 
    1]<BR>[New LWP 2]<BR>[New LWP 3]<BR>[New LWP 4]<BR>^C<BR>Program received 
    signal SIGINT, Interrupt.<BR>0xff19b390 in ___lwp_cond_wait () from 
    /usr/lib/libc.so.1<BR>(gdb) where<BR>#0&nbsp; 0xff19b390 in ___lwp_cond_wait 
    () from /usr/lib/libc.so.1<BR>#1&nbsp; 0xff192c08 in _lwp_cond_wait () from 
    /usr/lib/libc.so.1<BR>#2&nbsp; 0xfef8c2f0 in _lrw_wrlock () from 
    /usr/lib/libthread.so.1<BR>#3&nbsp; 0xff3bdacc in ?? ()<BR>#4&nbsp; 
    0xff3c34f0 in ?? ()<BR>#5&nbsp; 0xff3b29a0 in ?? ()<BR>#6&nbsp; 0xff0863c8 
    in __DTOR_END__ () from /opt/wine/dlls/libkernel32.so<BR>#7&nbsp; 0xff02e140 
    in frame_dummy () from /opt/wine/dlls/libkernel32.so<BR>#8&nbsp; 0xff02cf80 
    in _init () from /opt/wine/dlls/libkernel32.so<BR>#9&nbsp; 0xff3bada0 in ?? 
    ()<BR>#10 0xff3baa18 in ?? ()<BR>#11 0xff3c4da0 in ?? ()<BR>#12 0xff3b2958 
    in ?? ()</DIV>
    <DIV>(gdb) inf thr<BR>&nbsp; 8 Thread 
    3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xfef8d948 in 
    _reap_wait () from /usr/lib/libthread.so.1<BR>&nbsp; 7 Thread 2 (LWP 
    2)&nbsp; 0xff19ad50 in _signotifywait () from /usr/lib/libc.so.1<BR>&nbsp; 6 
    Thread 1 (LWP 1)&nbsp; 0xff19b390 in ___lwp_cond_wait () from 
    /usr/lib/libc.so.1<BR>* 5 LWP&nbsp;&nbsp;&nbsp; 
    1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xff19b390 in 
    ___lwp_cond_wait () from /usr/lib/libc.so.1<BR>&nbsp; 4 
    LWP&nbsp;&nbsp;&nbsp; 
    4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xff19b390 in 
    ___lwp_cond_wait () from /usr/lib/libc.so.1<BR>&nbsp; 3 
    LWP&nbsp;&nbsp;&nbsp; 
    3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xff1988f4 in 
    door_restart () from /usr/lib/libc.so.1<BR>&nbsp; 2 LWP&nbsp;&nbsp;&nbsp; 
    2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xff19ad50 in 
    _signotifywait () from /usr/lib/libc.so.1<BR>* 1 LWP&nbsp;&nbsp;&nbsp; 
    1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0xff19b390 in 
    ___lwp_cond_wait () from /usr/lib/libc.so.1</DIV></BLOCKQUOTE>
  <DIV dir=ltr>Note that I had to hit cntl-C to come out of thread 
message.</DIV>
  <DIV dir=ltr>I guess this is happening because kernel32 tries to use thread 
  library. Is there any way I can make it use pthread or is there any other 
  solution to this?</DIV>
  <DIV dir=ltr>&nbsp;</DIV>
  <DIV dir=ltr>Any help will be greatly appreciated</DIV>
  <DIV dir=ltr>&nbsp;</DIV>
  <DIV dir=ltr>Thanks</DIV>
  <DIV dir=ltr>Mrugan</DIV>
  <DIV dir=ltr>&nbsp;</DIV></BLOCKQUOTE></FONT></BODY></HTML>