Subject: CCL:autodock questions

From: Szilveszter Juhos <szjuhos<<at>>chemaxon.hu>
Date: Wed, 30 Jun 2004 12:04:01 +0200 (CEST)

On 29 Jun 2004 juraina<<at>>um.edu.my wrote:
> autotors.c: In function `main':
> autotors.c:2261: warning: return type of `main' is not `int'

This is only a warning (declare main as int to eliminate).

> /tmp/ccQE5T7j.o(.text+0xa03a): undefined reference to `cos'
> collect2: ld returned 1 exit status

Add the math library:

gcc -O3 -o autotors autotors.c -lm 

Cheers:

Szilva