You don't have the X library headers installed. 2010/4/11 <kecy...@sina.com>
> Hello, I have done the ./configure --without-X,why it still would compile > the ngmx? I had posted to you that it would make errores if compiled the > ngmx. the errores are like this : > > *In file included from ngmx.c:50:* > > *Xstuff.h:48:22: error: X11/Xlib.h: No such file or directory* > > *Xstuff.h:49:23: error: X11/Xutil.h: No such file or directory* > > *Xstuff.h:51:28: error: X11/cursorfont.h: No such file or directory* > > *Xstuff.h:52:27: error: X11/Xresource.h: No such file or directory* > > *In file included from ./xutil.h:43,* > > * from ./xdlgitem.h:42,* > > * from xdlg.h:40,* > > * from dialogs.h:40,* > > * from ngmx.c:54:* > > *./x11.h:57: error: expected specifier-qualifier-list before 'Display'* > > *./x11.h:79: error: expected declaration specifiers or '...' before > 'XEvent'* > > *./x11.h:79: error: expected declaration specifiers or '...' before > 'Window'* > > *./x11.h:82: error: expected specifier-qualifier-list before 'Window'* > > *In file included from ./xdlgitem.h:42,* > > * from xdlg.h:40,* > > * from dialogs.h:40,* > > * from ngmx.c:54:* > > *ngmx.c:412: warning: passing argument 7 of 'init_pd' makes pointer from > integer without a cast* > > *ngmx.c:412: warning: passing argument 8 of 'init_pd' from incompatible > pointer type* > > *ngmx.c:412: warning: passing argument 9 of 'init_pd' from incompatible > pointer type* > > *ngmx.c:412: error: too many arguments to function 'init_pd'* > > *make[3]: *** [ngmx.o] Error 1* > > *make[3]: Leaving directory `/mnt/soft/chemtec/gromacs-4.0.5/src/ngmx'* > > *make[2]: *** [all-recursive] Error 1* > > *make[2]: Leaving directory `/mnt/soft/chemtec/gromacs-4.0.5/src'* > > *make[1]: *** [all] Error 2* > > *make[1]: Leaving directory `/mnt/soft/chemtec/gromacs-4.0.5/src'* > > *make: *** [all-recursive] Error 1* > > > > Thank you ! > > -- > gmx-users mailing list gmx-users@gromacs.org > http://lists.gromacs.org/mailman/listinfo/gmx-users > Please search the archive at http://www.gromacs.org/search before posting! > Please don't post (un)subscribe requests to the list. Use the > www interface or send it to gmx-users-requ...@gromacs.org. > Can't post? Read http://www.gromacs.org/mailing_lists/users.php > -- ORNL/UT Center for Molecular Biophysics cmb.ornl.gov 865-241-1537, ORNL PO BOX 2008 MS6309
-- gmx-users mailing list gmx-users@gromacs.org http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org. Can't post? Read http://www.gromacs.org/mailing_lists/users.php