[gmx-users] Unable to compile Gromacs-CVS because calcpot.c
Daniel Adriano Silva M
dadriano at gmail.com
Wed Apr 16 00:46:20 CEST 2008
Thanks David,
as you addressed, adding "NULL," at the end of the line 250 of
calcpot.c solved the compilation issue.
Daniel
2008/4/15 David van der Spoel <spoel at xray.bmc.uu.se>:
> Daniel Adriano Silva M wrote:
>
> > Hi there,
> >
> > I am tyring to compile CVS gromacs version "up-to-this-day", and I
> > always finish with the same error (on two different machines), this
> > error is recurrent even if I use gcc or pathscale:
> >
>
> edit the file, and on line 250 add at the end "NULL,"
> and recompile. It may or may not crash genion.
>
> >
> >
> >
> >
> > # cc -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/include/libxml2
> > -I../../include
> > -DGMXLIBDIR=\"/home/dsilva/PROGRAMAS/gromacs4_14-4-08/share/top\" -O3
> > -fomit-frame-pointer -finline-functions -Wall -Wno-unused
> > -malign-double -funroll-all-loops -MT calcpot.lo -MD -MP -MF
> > .deps/calcpot.Tpo -c calcpot.c -o calcpot.o
> > # calcpot.c: In function 'init_calcpot':
> > # calcpot.c:252: warning: passing argument 18 of 'init_md' from
> > incompatible pointer type
> > # calcpot.c:252: warning: passing argument 19 of 'init_md' from
> > incompatible pointer type
> > # calcpot.c:252: warning: passing argument 20 of 'init_md' from
> > incompatible pointer type
> > # calcpot.c:252: warning: passing argument 22 of 'init_md' from
> > incompatible pointer type
> > # calcpot.c:252: warning: passing argument 23 of 'init_md' from
> > incompatible pointer type
> > # calcpot.c:252: error: too few arguments to function 'init_md'
> > # make[3]: *** [calcpot.lo] Error 1
> > # make[3]: *** Se espera a que terminen otras tareas....
> > # make[3]: se sale del directorio
> > `/home/dsilva/PROGRAMAS/gromacs4_14-4-08/gmx/src/tools'
> > # make[2]: *** [all-recursive] Error 1
> > # make[2]: se sale del directorio
> > `/home/dsilva/PROGRAMAS/gromacs4_14-4-08/gmx/src'
> > # make[1]: *** [all] Error 2
> > # make[1]: se sale del directorio
> > `/home/dsilva/PROGRAMAS/gromacs4_14-4-08/gmx/src'
> > # make: *** [all-recursive] Error 1
> >
> >
> > any help will be welcome.
> >
> > Daniel S.
> > _______________________________________________
> > gmx-users mailing list gmx-users at gromacs.org
> > http://www.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-request at gromacs.org.
> > Can't post? Read http://www.gromacs.org/mailing_lists/users.php
> >
>
>
> --
> David van der Spoel, Ph.D.
> Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
> Box 596, 75124 Uppsala, Sweden. Phone: +46184714205. Fax: +4618511755.
> spoel at xray.bmc.uu.se spoel at gromacs.org http://folding.bmc.uu.se
> _______________________________________________
> gmx-users mailing list gmx-users at gromacs.org
> http://www.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-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
>
More information about the gromacs.org_gmx-users
mailing list