sl51k@cc.usu.edu (01/14/91)
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 XtInitialize() func- funtion.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