On Mon, Jul 21, 2014 at 7:17 PM, Mirco Wahab < mirco.wa...@chemie.tu-freiberg.de> wrote:
> On 22.07.2014 00:51, John Doe wrote: > > [ 8%] Building CXX object > src/gromacs/CMakeFiles/libgromacs.dir/gmxpreprocess/fflibutil.cpp.o > > /home/User/gromacs/gromacs-5.0/src/gromacs/gmxpreprocess/fflibutil.cpp: > In function ‘int low_fflib_search_file_end(const char*, gmx_bool, const > char*, gmx_bool, char***, char***)’: > > > /home/User/gromacs/gromacs-5.0/src/gromacs/gmxpreprocess/fflibutil.cpp:205:47: > error: ‘strdup’ was not declared in this scope > > fns[n] = strdup(fn_dir); > > clean up the build directory, > > + add -DBUILD_SHARED_LIBS=off to your cmake invocation > why? For me it works fine without. What problem do you see without this? If this is something common we probably should set this by default. > + edit gromacs file src/external/thread_mpi/src/impl.h > add (as first line) above everything else: > > #define HAVE_SYS_TIME_H > in which cases do you need to do that? If we can identify the problem we can fix it in cmake. Roland > > + rebuild > > > > Regards > > M. > > > > -- > Gromacs Users mailing list > > * Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before > posting! > > * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists > > * For (un)subscribe requests visit > https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or > send a mail to gmx-users-requ...@gromacs.org. > -- ORNL/UT Center for Molecular Biophysics cmb.ornl.gov 865-241-1537, ORNL PO BOX 2008 MS6309 -- Gromacs Users mailing list * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting! * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists * For (un)subscribe requests visit https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-requ...@gromacs.org.