[comp.windows.open-look] Trouble with X Toolkit

sl51k@cc.usu.edu (01/15/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
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