[asterisk-bugs] [LibPRI 0011032]: libpri doesn'st compile on Fedora 8 Test 3

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Oct 22 14:15:22 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11032 
====================================================================== 
Reported By:                jsmith
Assigned To:                mattf
====================================================================== 
Project:                    LibPRI
Issue ID:                   11032
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 477 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             10-18-2007 16:30 CDT
Last Modified:              10-22-2007 14:15 CDT
====================================================================== 
Summary:                    libpri doesn'st compile on Fedora 8 Test 3
Description: 
When I go to compile libpri, I get all kinds of errors from the compiler:

[root at localhost libpri-1.4]# make
CC="gcc" ./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g
-fPIC   `ls *.c`
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC     -c
-o copy_string.o copy_string.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC     -c
-o pri.o pri.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC     -c
-o q921.o q921.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC     -c
-o prisched.o prisched.c
gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC     -c
-o q931.o q931.c
In file included from q931.c:27:
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

====================================================================== 

---------------------------------------------------------------------- 
 qwell - 10-22-07 14:15  
---------------------------------------------------------------------- 
Kevin fixed this this morning, in branches 1.2, 1.4, and trunk, in
revisions 478, 479, and 480. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-22-07 14:15  qwell          Status                   assigned => resolved
10-22-07 14:15  qwell          Resolution               open => fixed       
10-22-07 14:15  qwell          Note Added: 0072381                          
======================================================================




More information about the asterisk-bugs mailing list