Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool2.mu.edu!uwm.edu!cs.utexas.edu!hellgate.utah.edu!fcom.cc.utah.edu!cc.utah.edu!cc.usu.edu!sl51k From: sl51k@cc.usu.edu Newsgroups: comp.windows.open-look Subject: Trouble with X Toolkit Message-ID: <1991Jan14.122310.46683@cc.usu.edu> Date: 14 Jan 91 18:23:09 GMT Lines: 19 I use X Toolkit to make a project on Sun Workstation.The trouble is that I use xmenu1.c which is a example of open window for menu in chapter 12 of Vol- ume 4,X Toolkit Intrinsics Programming Manual. If I link this example with a small C project,it works; but if it is linked with a larger project which con- sists of six files (nearly 10000 lines),then it does not work,the problem is XtInitialize() function doesn't work at this time.I use follow command to compile and link the project: cc xmenu1.c file1.c file2.c file3.c file4.c file5.c file6.c -o xmenu1 -lXaw -lXmu -lXt -lXext -lX11 -lm and as same as the smaller project.No any error message shown up during the processing,only when I run the larger project,it is locked in XtInitialize() func- funtion.Actually my original project is written in C code which is not included ah any XToolkit code,I just use xmenu1.c programe to link with the project.I don't know what h know what happened ? why it work on the small project not on the larger project? Would anyone give m Would anyone give me any sugestion please ? thanks vary much.P Chaoying Huo