Compile Libpri error

i got these messages while compiling and installing the packages needed for Libpri…

Can help me?

pri_internal.h:88: error: field tv' has incomplete type pri_internal.h:256: error: syntax error before "size_t" pri_internal.h:256: warning: function declaration isn't a prototype copy_string.c:33: error: syntax error before "size_t" copy_string.c:34: warning: function declaration isn't a prototype copy_string.c: In function libpri_copy_string’:
copy_string.c:35: error: src' undeclared (first use in this function) -bash: syntax error near unexpected token (’
root@darkstar:/usr/src/asterisk/libpri-1.2.4# copy_string.c:35: error: (Each undeclared identifier is reported only once
-bash: syntax error near unexpected token (' root@darkstar:/usr/src/asterisk/libpri-1.2.4# copy_string.c:35: error: for each function it appears in.) -bash: syntax error near unexpected token )’
root@darkstar:/usr/src/asterisk/libpri-1.2.4# copy_string.c:35: error: size' undeclared (first use in this function) copy_string.c:36: error: dst’ undeclared (first use in this function)
make: *** [copy_string.o] Error 1

Thks a lot!