Path: utzoo!attcan!uunet!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.ms.programmer Subject: X Toolkit question Message-ID: <1991Jan11.163854.46632@cc.usu.edu> Date: 11 Jan 91 22:38:54 GMT Lines: 18 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 XtInitize() 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 XtInitize() func- tion.I don't know what happened ? Why it works on the smaller project,but not on the larger project? Would you give me some sugestion to solve this problem please ? thanks. Chaoying Huo