[gmx-developers] undefined reference to openpty
suzen at theochem.tu-muenchen.de
Fri Jul 5 15:46:19 CEST 2002
Mehmet Suezen wrote:
> Dear Developers,
> I've just trying to embed gromacs template (share/template/template.c)in
> to a fortran code. In order to do that, gro_trr.o would be link to
> read_trr.f but I have received
> an error like this in compilation stage.
> suezen/lam-mpi/linux/lib//liblam.so: undefined reference to `openpty'
> collect2: ld returned 1 exit status
> make: *** [read_trr] Error 1
> any idea? what could cause this?
OO..I've just find a workarounf it is -L/usr/bin and -lutil
More information about the gromacs.org_gmx-developers