[Asterisk-Users] Realtime oracle compiling problem

René Enskat [Teamware GmbH] ren at teamware-gmbh.de
Sun Apr 9 23:21:30 MST 2006


I can'T compile my oracle realtime library any more i updatet the svn
today and now i tried to recompile my oracle realtime driver and now it
gives me that errors:
 
 
cc -fPIC -I../asterisk -D_GNU_SOURCE
-I/usr/include/oracle/10.1.0.4/client   -c -o res_config_oracle.o
res_config_oracle.c
res_config_oracle.c:53: warning: data definition has no type or storage
class
res_config_oracle.c: In function 'realtime_oracle':
res_config_oracle.c:109: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_oracle.c:127: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:129: warning: pointer targets in passing argument 3
of 'OCIStmtPrepare' differ in signedness
res_config_oracle.c:130: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:133: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:138: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:142: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:144: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:146: warning: pointer targets in passing argument 1
of 'strncpy' differ in signedness
res_config_oracle.c:146: warning: pointer targets in passing argument 2
of 'strncpy' differ in signedness
res_config_oracle.c:168: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:174: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:180: warning: pointer targets in assignment differ
in signedness
res_config_oracle.c:188: warning: pointer targets in passing argument 1
of 'ast_variable_new' differ in signedness
res_config_oracle.c:193: warning: pointer targets in passing argument 1
of 'ast_variable_new' differ in signedness
res_config_oracle.c: In function 'realtime_multi_oracle':
res_config_oracle.c:272: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_oracle.c:295: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:297: warning: pointer targets in passing argument 3
of 'OCIStmtPrepare' differ in signedness
res_config_oracle.c:298: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:301: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:306: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:310: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:312: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:314: warning: pointer targets in passing argument 1
of 'strncpy' differ in signedness
res_config_oracle.c:314: warning: pointer targets in passing argument 2
of 'strncpy' differ in signedness
res_config_oracle.c:336: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:342: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:354: warning: pointer targets in assignment differ
in signedness
res_config_oracle.c:361: warning: pointer targets in passing argument 2
of 'strcmp' differ in signedness
res_config_oracle.c:364: warning: pointer targets in passing argument 1
of 'ast_variable_new' differ in signedness
res_config_oracle.c: In function 'update_oracle':
res_config_oracle.c:408: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_oracle.c:427: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:430: warning: pointer targets in passing argument 3
of 'OCIStmtPrepare' differ in signedness
res_config_oracle.c:431: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:435: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:439: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c: In function 'config_oracle':
res_config_oracle.c:478: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_oracle.c:490: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:492: warning: pointer targets in passing argument 3
of 'OCIStmtPrepare' differ in signedness
res_config_oracle.c:493: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:496: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:500: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:504: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:508: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:512: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:517: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:520: warning: pointer targets in passing argument 1
of 'strcmp' differ in signedness
res_config_oracle.c:521: warning: pointer targets in passing argument 1
of 'ast_config_internal_load' differ in signedness
res_config_oracle.c:532: warning: pointer targets in passing argument 2
of 'strcmp' differ in signedness
res_config_oracle.c:532: warning: pointer targets in passing argument 1
of 'atoi' differ in signedness
res_config_oracle.c:533: warning: pointer targets in passing argument 1
of 'ast_category_new' differ in signedness
res_config_oracle.c:538: warning: pointer targets in passing argument 2
of 'strcpy' differ in signedness
res_config_oracle.c:539: warning: pointer targets in passing argument 1
of 'atoi' differ in signedness
res_config_oracle.c:542: warning: pointer targets in passing argument 1
of 'ast_variable_new' differ in signedness
res_config_oracle.c:542: warning: pointer targets in passing argument 2
of 'ast_variable_new' differ in signedness
res_config_oracle.c: At top level:
res_config_oracle.c:666: error: conflicting types for 'description'
/usr/include/asterisk/module.h:85: error: previous declaration of
'description' was here
res_config_oracle.c:682: error: conflicting types for 'key'
/usr/include/asterisk/module.h:102: error: previous declaration of 'key'
was here
res_config_oracle.c: In function 'oracle_reconnect':
res_config_oracle.c:693: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:697: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:699: warning: pointer targets in passing argument 4
of 'OCILogon' differ in signedness
res_config_oracle.c:699: warning: pointer targets in passing argument 6
of 'OCILogon' differ in signedness
res_config_oracle.c:699: warning: pointer targets in passing argument 8
of 'OCILogon' differ in signedness
res_config_oracle.c:700: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c:728: warning: pointer targets in passing argument 3
of 'checkerr' differ in signedness
res_config_oracle.c: In function 'realtime_oracle_status':
res_config_oracle.c:748: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_oracle.c:752: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_oracle.c: In function 'getOCIErrorString':
res_config_oracle.c:775: warning: pointer targets in passing argument 4
of 'OCIErrorGet' differ in signedness
res_config_oracle.c: In function 'checkerr':
res_config_oracle.c:805: warning: pointer targets in passing argument 4
of 'OCIErrorGet' differ in signedness
make: *** [res_config_oracle.o] Error 1



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060409/f5b9b7ac/attachment.htm


More information about the asterisk-users mailing list