<BR>Hello, I installed the gromacs4.0.5, when I made, it had lots of&nbsp;mistakes, below is some of the mistakes: 
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from ngmx.c:50:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>Xstuff.h:48:22: error: X11/Xlib.h: No such file or directory</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>Xstuff.h:49:23: error: X11/Xutil.h: No such file or directory</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>Xstuff.h:51:28: error: X11/cursorfont.h: No such file or directory</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>Xstuff.h:52:27: error: X11/Xresource.h: No such file or directory</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from ./xutil.h:43,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ./xdlgitem.h:42,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from xdlg.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from dialogs.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./x11.h:57: error: expected specifier-qualifier-list before 'Display'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./x11.h:79: error: expected declaration specifiers or '...' before 'XEvent'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./x11.h:79: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./x11.h:82: error: expected specifier-qualifier-list before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from ./xdlgitem.h:42,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from xdlg.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from dialogs.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:49: error: expected specifier-qualifier-list before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:57: error: expected ')' before 'win'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:61: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:63: error: expected declaration specifiers or '...' before 'XFontStruct'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:63: error: expected declaration specifiers or '...' before 'Drawable'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:67: error: expected declaration specifiers or '...' before 'Drawable'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:75: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:77: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:79: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:81: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:84: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:87: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:89: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xutil.h:91: error: expected ')' before '*' token</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from xdlg.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from dialogs.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xdlgitem.h:66: error: expected specifier-qualifier-list before 'Pixmap'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xdlgitem.h:98: error: expected declaration specifiers or '...' before 'XEvent'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>./xdlgitem.h:142: error: expected declaration specifiers or '...' before 'Pixmap'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from dialogs.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>xdlg.h:63: error: expected specifier-qualifier-list before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>xdlg.h:81: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>xdlg.h:140: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from pulldown.h:40,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from dialogs.h:41,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>popup.h:44: error: expected specifier-qualifier-list before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>popup.h:53: error: expected specifier-qualifier-list before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>popup.h:58: error: expected specifier-qualifier-list before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>popup.h:64: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from dialogs.h:41,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>pulldown.h:51: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from manager.h:45,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from dialogs.h:42,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>nleg.h:54: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from manager.h:46,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from dialogs.h:42,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>buttons.h:64: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>buttons.h:64: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>buttons.h:69: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>buttons.h:69: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from dialogs.h:42,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>manager.h:133: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from dialogs.h:43,</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM><SPAN style="mso-spacerun: yes"></SPAN>from ngmx.c:54:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>logo.h:44: error: expected specifier-qualifier-list before 'XFontStruct'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>logo.h:53: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>In file included from ngmx.c:57:</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>nmol.h:43: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:65: error: expected declaration specifiers or '...' before 'Window'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c: In function 'dump_xw':</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:70: error: 'w' undeclared (first use in this function)</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:70: error: (Each undeclared identifier is reported only once</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:70: error: for each function it appears in.)</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:411: error: 't_x11' has no member named 'bg'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:412: warning: passing argument 7 of 'init_pd' makes pointer from integer without a cast</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:412: warning: passing argument 8 of 'init_pd' from incompatible pointer type</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:412: warning: passing argument 9 of 'init_pd' from incompatible pointer type</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>ngmx.c:412: error: too many arguments to function 'init_pd'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>make[3]: *** [ngmx.o] Error 1</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>make[3]: Leaving directory `/mnt/soft/chemtec/gromacs-<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:chsdate Year="1899" Month="12" Day="30" IsLunarDate="False" IsROCDate="False" w:st="on">4.0.5</st1:chsdate>/src/ngmx'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>make[2]: *** [all-recursive] Error 1</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>make[2]: Leaving directory `/mnt/soft/chemtec/gromacs-<st1:chsdate Year="1899" Month="12" Day="30" IsLunarDate="False" IsROCDate="False" w:st="on">4.0.5</st1:chsdate>/src'</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>make[1]: *** [all] Error 2</EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><EM>make[1]: Leaving directory `/mnt/soft/chemtec/gromacs-<st1:chsdate Year="1899" Month="12" Day="30" IsLunarDate="False" IsROCDate="False" w:st="on">4.0.5</st1:chsdate>/src'</EM></SPAN></P>
<P><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: ËÎÌå; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><EM>make: *** [all-recursive] Error 1</EM></SPAN></P>
<P><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: ËÎÌå; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">I hope you can give me some suggestions to solve the problom¡£</SPAN></P>
<P><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: ËÎÌå; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">Thank you very much!</SPAN></P>