Serial 8 servo controller , accessing in C

Hi all

i m trying to develop c code to access serial 8 servo controller , i m using the program that is posted on this webste pololu.com/projects/prj0003/ssc-tester.zip . Basically i m using ssc.c file and i try to access the functions in there. I m trying the following code here it still does not work. any suggestions ?

#include <stdio.h>   /* Standard input/output definitions */
#include <string.h>  /* String function definitions */
#include <unistd.h>  /* UNIX standard function definitions */
#include <fcntl.h>   /* File control definitions */
#include <errno.h>   /* Error number definitions */
#include <termios.h> /* POSIX terminal control definitions */
#include <sys/select.h>
#include "ssc.h"

int main(){
ssc s;
connectSsc(&s);
enable(&s,1,1,1);
stepTo(&s,1,1,2000);
endSession(&s);
return 0;
}