Installing libpri-1.4.2 on fedora 8

Hello

Im trying to install Libpri-1.4.2 onto a fresh install of Fedoracore 8

When ever I try run the command ‘make’ I am getting the following error.

[root@PBX libpri-1.4.2]# make
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC -c -o q931.o q931.c
In file included from q931.c:28:
pri_internal.h:263: error: expected declaration specifiers or ‘…’ before ‘size_t’
q931.c: In function ‘receive_calling_party_number’:
q931.c:949: error: too many arguments to function ‘libpri_copy_string’
q931.c: In function ‘transmit_keypad_facility’:
q931.c:1425: error: too many arguments to function ‘libpri_copy_string’
q931.c: In function ‘q931_keypad_facility’:
q931.c:2492: error: too many arguments to function ‘libpri_copy_string’
q931.c: In function ‘pri_release_finaltimeout’:
q931.c:2667: error: too many arguments to function ‘libpri_copy_string’
q931.c: In function ‘q931_setup’:
q931.c:2817: error: too many arguments to function ‘libpri_copy_string’
q931.c:2820: error: too many arguments to function ‘libpri_copy_string’
q931.c:2837: error: too many arguments to function ‘libpri_copy_string’
q931.c:2854: error: too many arguments to function ‘libpri_copy_string’
q931.c:2860: error: too many arguments to function ‘libpri_copy_string’
q931.c: In function ‘q931_receive’:
q931.c:3314: error: too many arguments to function ‘libpri_copy_string’
q931.c:3315: error: too many arguments to function ‘libpri_copy_string’
q931.c:3316: error: too many arguments to function ‘libpri_copy_string’
q931.c:3318: error: too many arguments to function ‘libpri_copy_string’
q931.c:3319: error: too many arguments to function ‘libpri_copy_string’
q931.c:3320: error: too many arguments to function ‘libpri_copy_string’
q931.c:3321: error: too many arguments to function ‘libpri_copy_string’
q931.c:3322: error: too many arguments to function ‘libpri_copy_string’
q931.c:3323: error: too many arguments to function ‘libpri_copy_string’
q931.c:3324: error: too many arguments to function ‘libpri_copy_string’
q931.c:3351: error: too many arguments to function ‘libpri_copy_string’
q931.c:3381: error: too many arguments to function ‘libpri_copy_string’
q931.c:3395: error: too many arguments to function ‘libpri_copy_string’
q931.c:3396: error: too many arguments to function ‘libpri_copy_string’
q931.c:3482: error: too many arguments to function ‘libpri_copy_string’
q931.c:3510: error: too many arguments to function ‘libpri_copy_string’
q931.c:3545: error: too many arguments to function ‘libpri_copy_string’
q931.c:3573: error: too many arguments to function ‘libpri_copy_string’
q931.c:3599: error: too many arguments to function ‘libpri_copy_string’
q931.c:3607: error: too many arguments to function ‘libpri_copy_string’
q931.c:3608: error: too many arguments to function ‘libpri_copy_string’
q931.c: In function ‘pri_internal_clear’:
q931.c:3695: error: too many arguments to function ‘libpri_copy_string’
make: *** [q931.o] Error 1

Any help would be great thanks.