sql_sybase.c:767: error: conflicting types for 'sql_error'

陈旭 gogocx at 163.com
Fri Jun 2 09:47:55 CEST 2006


Dear FreeRadiusDevel

	I am trying to install freeradius 1.0.5 on my linux server, which running RedHat Enterpise Linux 4.0, and the database is sybase15.0. When compiling the moduel rlm_sql_sybase, a stange error occured. The message dumped into my screen is as following:
-------------------------------------------------------------------------------------------
...
sql_sybase.c:666: warning: nested extern declaration of `sql_error'
sql_sybase.c:262: warning: redundant redeclaration of 'sql_error'
sql_sybase.c:262: warning: previous implicit declaration of 'sql_error' was here
sql_sybase.c:666: warning: format argument is not a pointer (arg 3)
sql_sybase.c: At top level:
sql_sybase.c:682: warning: no previous prototype for 'sql_fetch_row'
sql_sybase.c: In function `sql_fetch_row':
sql_sybase.c:702: warning: nested extern declaration of `sql_error'
sql_sybase.c:262: warning: redundant redeclaration of 'sql_error'
sql_sybase.c:262: warning: previous implicit declaration of 'sql_error' was here
sql_sybase.c:702: warning: format argument is not a pointer (arg 3)
sql_sybase.c:706: warning: nested extern declaration of `sql_close'
sql_sybase.c:381: warning: redundant redeclaration of 'sql_close'
sql_sybase.c:381: warning: previous implicit declaration of 'sql_close' was here
sql_sybase.c: At top level:
sql_sybase.c:767: error: conflicting types for 'sql_error'
sql_sybase.c:262: error: previous implicit declaration of 'sql_error' was here
sql_sybase.c: In function `sql_error':
sql_sybase.c:830: warning: return makes pointer from integer without a cast
sql_sybase.c: At top level:
sql_sybase.c:842: warning: static declaration of 'sql_close' follows non-static declaration
sql_sybase.c:381: warning: previous implicit declaration of 'sql_close' was here
sql_sybase.c:896: warning: static declaration of 'sql_finish_select_query' follows non-static declaration
sql_sybase.c:579: warning: previous implicit declaration of 'sql_finish_select_query' was here
sql_sybase.c:896: warning: unused parameter 'config'
sql_sybase.c:873: warning: unused parameter 'config'
sql_sybase.c:842: warning: unused parameter 'sqlsocket'
sql_sybase.c:842: warning: unused parameter 'config'
sql_sybase.c:767: warning: unused parameter 'sqlsocket'
sql_sybase.c:767: warning: unused parameter 'config'
sql_sybase.c:746: warning: unused parameter 'sqlsocket'
sql_sybase.c:746: warning: unused parameter 'config'
sql_sybase.c:621: warning: unused parameter 'sqlsocket'
sql_sybase.c:621: warning: unused parameter 'config'
sql_sybase.c:303: warning: unused parameter 'config'
sql_sybase.c:54: warning: unused parameter 'cp'
sql_sybase.c:55: warning: unused parameter 'chp'
sql_sybase.c:92: warning: unused parameter 'context'
sql_sybase.c:93: warning: unused parameter 'conn'
sql_sybase.c:133: warning: unused parameter 'context'
make: *** [sql_sybase.lo] Error 1
--------------------------------------------------------------------------------------------------
Attention should be paied to these two lines:
sql_sybase.c:767: error: conflicting types for 'sql_error'
sql_sybase.c:262: error: previous implicit declaration of 'sql_error' was here

somebody tell me what is going on!!!!!!

I installed the same version FR on the RedHat Personal 9.0 successfully!!!!
Thanks a lot!






More information about the Freeradius-Devel mailing list