FreeRadius make ERRORS

classic Classic list List threaded Threaded
5 messages Options
| Threaded
Open this post in threaded view
|

FreeRadius make ERRORS

Software Development Group
Hello,

I am trying to compile FreeRadius with MySQL for user/time validation and I am getting many errors while compiling. Here are the results of the configure and the make scripts:

maxo@ubuntu:~/freeradius-1.0.2 $ sudo ./configure --with-experimental-modules --with-mysql-include-dir=/usr/local/include/ > configure.txt
configure: warning: snmpget not found - Simultaneous-Use and checkrad.pl may not work
configure: warning: snmpwalk not found - Simultaneous-Use and checkrad.pl may not work
configure: warning: silently not building rlm_pam.
configure: warning: FAILURE: rlm_pam requires:  libpam.
configure: warning: ibm db2 headers not found.  Use --with-ibmdb2-include-dir=<path>.
configure: warning: sql submodule 'db2' disabled
configure: warning: iodbc headers not found.  Use --with-iodbc-include-dir=<path>.
configure: warning: sql submodule 'iodbc' disabled
configure: warning: oracle headers not found.  Use --with-oracle-home-dir=<path>.
configure: warning: sql submodule 'oracle' disabled
configure: warning: unixODBC headers not found.  Use --with-unixodbc-include-dir=<path>.
configure: warning: sql submodule 'unixodbc' disabled
maxo@ubuntu:~/freeradius-1.0.2 $


maxo@ubuntu:~/freeradius-1.0.2 $ sudo make > make.txt
ltdl.c: In function `lt_dlopenext':
ltdl.c:2926: warning: unused variable `file_found'
radius.c: In function `rad_decode':
radius.c:1429: warning: comparison is always true due to limited range of data type
misc.c: In function `ipv6_ntoa':
misc.c:355: warning: return discards qualifiers from pointer target type
rbtree.c: In function `rbtree_insert':
rbtree.c:265: warning: assignment discards qualifiers from pointer target type
rbtree.c:278: warning: assignment discards qualifiers from pointer target type
radius.c: In function `rad_decode':
radius.c:1429: warning: comparison is always true due to limited range of data type
misc.c: In function `ipv6_ntoa':
misc.c:355: warning: return discards qualifiers from pointer target type
rbtree.c: In function `rbtree_insert':
rbtree.c:265: warning: assignment discards qualifiers from pointer target type
rbtree.c:278: warning: assignment discards qualifiers from pointer target type
rlm_dbm.c: In function `sm_parse_user':
rlm_dbm.c:176: warning: assignment discards qualifiers from pointer target type
rlm_dbm.c:210: warning: passing arg 2 of `paircmp' discards qualifiers from pointer target type
rlm_dbm_parser.c: In function `storecontent':
rlm_dbm_parser.c:165: warning: assignment discards qualifiers from pointer target type
rlm_dbm.c: In function `sm_parse_user':
rlm_dbm.c:176: warning: assignment discards qualifiers from pointer target type
rlm_dbm.c:210: warning: passing arg 2 of `paircmp' discards qualifiers from pointer target type
rlm_eap_gtc.c: In function `gtc_detach':
rlm_eap_gtc.c:61: warning: passing arg 1 of `free' discards qualifiers from pointer target type
rlm_eap_gtc.c:62: warning: passing arg 1 of `free' discards qualifiers from pointer target type
rlm_eap_mschapv2.c: In function `eapmschapv2_compose':
rlm_eap_mschapv2.c:127: warning: assignment from incompatible pointer type
rlm_eap_peap.c: In function `eappeap_authenticate':
rlm_eap_peap.c:190: warning: passing arg 2 of `record_plus' from incompatible pointer type
peap.c: In function `eappeap_postproxy':
peap.c:375: warning: unused variable `vp'
ttls.c: In function `eapttls_postproxy':
ttls.c:744: warning: unused variable `vp'
rlm_eap_gtc.c: In function `gtc_detach':
rlm_eap_gtc.c:61: warning: passing arg 1 of `free' discards qualifiers from pointer target type
rlm_eap_gtc.c:62: warning: passing arg 1 of `free' discards qualifiers from pointer target type
rlm_eap_mschapv2.c: In function `eapmschapv2_compose':
rlm_eap_mschapv2.c:127: warning: assignment from incompatible pointer type
rlm_eap_peap.c: In function `eappeap_authenticate':
rlm_eap_peap.c:190: warning: passing arg 2 of `record_plus' from incompatible pointer type
peap.c: In function `eappeap_postproxy':
peap.c:375: warning: unused variable `vp'
ttls.c: In function `eapttls_postproxy':
ttls.c:744: warning: unused variable `vp'
rlm_exec.c: In function `exec_detach':
rlm_exec.c:162: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_exec.c: In function `exec_instantiate':
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_exec.c: In function `exec_detach':
rlm_exec.c:162: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_exec.c: In function `exec_instantiate':
rlm_exec.c:264: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_expr.c: In function `expr_instantiate':
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_expr.c: In function `expr_detach':
rlm_expr.c:295: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_expr.c: In function `expr_instantiate':
rlm_expr.c:281: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_expr.c: In function `expr_detach':
rlm_expr.c:295: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_krb5.c: In function `verify_krb5_tgt':
rlm_krb5.c:105: warning: passing arg 2 of `krb5_kt_read_service_key' discards qualifiers from pointer target type
rlm_krb5.c: In function `krb5_auth':
rlm_krb5.c:305: warning: implicit declaration of function `krb5_get_in_tkt_with_password'
rlm_krb5.c: In function `verify_krb5_tgt':
rlm_krb5.c:105: warning: passing arg 2 of `krb5_kt_read_service_key' discards qualifiers from pointer target type
rlm_krb5.c: In function `krb5_auth':
rlm_krb5.c:305: warning: implicit declaration of function `krb5_get_in_tkt_with_password'
rlm_ldap.c: In function `ldap_instantiate':
rlm_ldap.c:492: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_ldap.c: In function `ldap_authenticate':
rlm_ldap.c:1615: warning: unused variable `err'
rlm_ldap.c: In function `ldap_detach':
rlm_ldap.c:2226: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_ldap.c: In function `ldap_instantiate':
rlm_ldap.c:492: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_ldap.c: In function `ldap_authenticate':
rlm_ldap.c:1615: warning: unused variable `err'
rlm_ldap.c: In function `ldap_detach':
rlm_ldap.c:2226: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_perl.c: In function `perl_instantiate':
rlm_perl.c:749: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_perl.c: In function `perl_detach':
rlm_perl.c:1144: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_perl.c: In function `perl_instantiate':
rlm_perl.c:749: warning: passing arg 2 of `xlat_register' from incompatible pointer type
rlm_perl.c: In function `perl_detach':
rlm_perl.c:1144: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_python.c: In function `python_instantiate':
rlm_python.c:614: warning: passing arg 2 of `PyModule_AddIntConstant' discards qualifiers from pointer target type
rlm_python.c: In function `python_instantiate':
rlm_python.c:614: warning: passing arg 2 of `PyModule_AddIntConstant' discards qualifiers from pointer target type
rfcnb-io.c: In function `RFCNB_Set_Timeout':
rfcnb-io.c:56: warning: unused variable `temp'
rfcnb-io.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
rfcnb-util.c: In function `RFCNB_Free_Pkt':
rfcnb-util.c:225: warning: control reaches end of non-void function
rfcnb-util.c: In function `RFCNB_Name_To_IP':
rfcnb-util.c:321: warning: implicit declaration of function `ip_getaddr'
rfcnb-util.c:317: warning: unused variable `hp'
rfcnb-util.c: In function `RFCNB_Session_Req':
rfcnb-util.c:424: warning: suggest parentheses around + or - inside shift
rfcnb-util.c:424: warning: suggest parentheses around + or - inside shift
rfcnb-util.c:424: warning: suggest parentheses around + or - in operand of &
rfcnb-util.c:407: warning: unused variable `ln1'
rfcnb-util.c:407: warning: unused variable `ln2'
rfcnb-util.c:407: warning: unused variable `n1'
rfcnb-util.c:407: warning: unused variable `n2'
rfcnb-util.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
session.c: In function `RFCNB_Send':
session.c:208: warning: implicit declaration of function `RFCNB_Put_Pkt'
session.c:220: warning: implicit declaration of function `RFCNB_Free_Pkt'
session.c: In function `RFCNB_Recv':
session.c:258: warning: implicit declaration of function `RFCNB_Get_Pkt'
session.c:231: warning: unused variable `hdr'
session.c: In function `RFCNB_Listen':
session.c:312: warning: control reaches end of non-void function
session.c: In function `RFCNB_Get_Error_Msg':
session.c:361: warning: control reaches end of non-void function
smbencrypt.c: In function `SMBencrypt':
smbencrypt.c:52: warning: implicit declaration of function `E_P16'
smbencrypt.c:53: warning: implicit declaration of function `E_P24'
smbencrypt.c: In function `E_md4hash':
smbencrypt.c:107: warning: implicit declaration of function `mdfour'
smbencrypt.c: In function `strupper':
smbencrypt.c:191: warning: implicit declaration of function `islower'
smbencrypt.c:192: warning: implicit declaration of function `toupper'
smbencrypt.c: At top level:
smblib-priv.h:494: warning: `SMB_Prots' defined but not used
smblib.c: In function `SMBlib_Set_Sock_NoDelay':
smblib.c:88: warning: implicit declaration of function `RFCNB_Set_Sock_NoDelay'
smblib.c: In function `SMB_Connect_Server':
smblib.c:128: warning: implicit declaration of function `strcpy'
smblib.c:139: warning: implicit declaration of function `SMB_Get_My_Name'
smblib.c:153: warning: implicit declaration of function `strlen'
smblib.c:154: warning: implicit declaration of function `toupper'
smblib.c:163: warning: implicit declaration of function `strcmp'
smblib.c:108: warning: unused variable `temp'
smblib.c: In function `SMB_Connect':
smblib.c:249: warning: implicit declaration of function `strtok'
smblib.c:249: warning: assignment makes pointer from integer without a cast
smblib.c:290: warning: implicit declaration of function `SMB_Negotiate'
smblib.c: In function `SMB_Logon_Server':
smblib.c:336: warning: implicit declaration of function `SMBencrypt'
smblib.c:361: warning: implicit declaration of function `bzero'
smblib.c:386: warning: implicit declaration of function `memcpy'
smblib.c:487: warning: implicit declaration of function `RFCNB_Free_Pkt'
smblib.c:318: warning: unused variable `i'
smblib.c:318: warning: unused variable `a'
smblib.c: At top level:
smblib-priv.h:494: warning: `SMB_Prots' defined but not used
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
smblib-util.c: In function `SMB_AtrToStr':
smblib-util.c:84: warning: implicit declaration of function `strcat'
smblib-util.c: In function `SMB_Figure_Protocol':
smblib-util.c:167: warning: comparison of distinct pointer types lacks a cast
smblib-util.c:175: warning: implicit declaration of function `strcmp'
smblib-util.c: In function `SMB_Negotiate':
smblib-util.c:211: warning: implicit declaration of function `strlen'
smblib-util.c:245: warning: implicit declaration of function `bzero'
smblib-util.c:263: warning: implicit declaration of function `strcpy'
smblib-util.c:277: warning: implicit declaration of function `RFCNB_Free_Pkt'
smblib-util.c:359: warning: int format, pointer arg (arg 3)
smblib-util.c:360: warning: implicit declaration of function `memcpy'
smblib-util.c:364: warning: implicit declaration of function `strncpy'
smblib-util.c:199: warning: unused variable `prot_pkt'
smblib-util.c:200: warning: unused variable `resp_pkt'
smblib-util.c: In function `SMB_Get_My_Name':
smblib-util.c:413: warning: unused variable `loc'
smblib-util.c: In function `SMB_TreeConnect':
smblib-util.c:448: warning: suggest parentheses around comparison in operand of |
smblib-util.c:448: warning: suggest parentheses around comparison in operand of |
smblib-util.c:442: warning: unused variable `i'
smblib-util.c:590: warning: statement with no effect
smblib-util.c:591: warning: statement with no effect
smblib-util.c: In function `SMB_Get_Error_Msg':
smblib-util.c:780: warning: implicit declaration of function `strncat'
smblib-util.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
valid.c: In function `Valid_User':
valid.c:42: warning: implicit declaration of function `SMB_Init'
valid.c:50: warning: implicit declaration of function `SMB_Negotiate'
valid.c:51: warning: implicit declaration of function `SMB_Discon'
valid.c:61: warning: implicit declaration of function `SMB_Logon_Server'
valid.c: At top level:
smblib-priv.h:494: warning: `SMB_Prots' defined but not used
rfcnb-io.c: In function `RFCNB_Set_Timeout':
rfcnb-io.c:56: warning: unused variable `temp'
rfcnb-io.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
rfcnb-util.c: In function `RFCNB_Free_Pkt':
rfcnb-util.c:225: warning: control reaches end of non-void function
rfcnb-util.c: In function `RFCNB_Name_To_IP':
rfcnb-util.c:321: warning: implicit declaration of function `ip_getaddr'
rfcnb-util.c:317: warning: unused variable `hp'
rfcnb-util.c: In function `RFCNB_Session_Req':
rfcnb-util.c:424: warning: suggest parentheses around + or - inside shift
rfcnb-util.c:424: warning: suggest parentheses around + or - inside shift
rfcnb-util.c:424: warning: suggest parentheses around + or - in operand of &
rfcnb-util.c:407: warning: unused variable `ln1'
rfcnb-util.c:407: warning: unused variable `ln2'
rfcnb-util.c:407: warning: unused variable `n1'
rfcnb-util.c:407: warning: unused variable `n2'
rfcnb-util.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
session.c: In function `RFCNB_Send':
session.c:208: warning: implicit declaration of function `RFCNB_Put_Pkt'
session.c:220: warning: implicit declaration of function `RFCNB_Free_Pkt'
session.c: In function `RFCNB_Recv':
session.c:258: warning: implicit declaration of function `RFCNB_Get_Pkt'
session.c:231: warning: unused variable `hdr'
session.c: In function `RFCNB_Listen':
session.c:312: warning: control reaches end of non-void function
session.c: In function `RFCNB_Get_Error_Msg':
session.c:361: warning: control reaches end of non-void function
smbencrypt.c: In function `SMBencrypt':
smbencrypt.c:52: warning: implicit declaration of function `E_P16'
smbencrypt.c:53: warning: implicit declaration of function `E_P24'
smbencrypt.c: In function `E_md4hash':
smbencrypt.c:107: warning: implicit declaration of function `mdfour'
smbencrypt.c: In function `strupper':
smbencrypt.c:191: warning: implicit declaration of function `islower'
smbencrypt.c:192: warning: implicit declaration of function `toupper'
smbencrypt.c: At top level:
smblib-priv.h:494: warning: `SMB_Prots' defined but not used
smblib.c: In function `SMBlib_Set_Sock_NoDelay':
smblib.c:88: warning: implicit declaration of function `RFCNB_Set_Sock_NoDelay'
smblib.c: In function `SMB_Connect_Server':
smblib.c:128: warning: implicit declaration of function `strcpy'
smblib.c:139: warning: implicit declaration of function `SMB_Get_My_Name'
smblib.c:153: warning: implicit declaration of function `strlen'
smblib.c:154: warning: implicit declaration of function `toupper'
smblib.c:163: warning: implicit declaration of function `strcmp'
smblib.c:108: warning: unused variable `temp'
smblib.c: In function `SMB_Connect':
smblib.c:249: warning: implicit declaration of function `strtok'
smblib.c:249: warning: assignment makes pointer from integer without a cast
smblib.c:290: warning: implicit declaration of function `SMB_Negotiate'
smblib.c: In function `SMB_Logon_Server':
smblib.c:336: warning: implicit declaration of function `SMBencrypt'
smblib.c:361: warning: implicit declaration of function `bzero'
smblib.c:386: warning: implicit declaration of function `memcpy'
smblib.c:487: warning: implicit declaration of function `RFCNB_Free_Pkt'
smblib.c:318: warning: unused variable `i'
smblib.c:318: warning: unused variable `a'
smblib.c: At top level:
smblib-priv.h:494: warning: `SMB_Prots' defined but not used
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
smblib-util.c: In function `SMB_AtrToStr':
smblib-util.c:84: warning: implicit declaration of function `strcat'
smblib-util.c: In function `SMB_Figure_Protocol':
smblib-util.c:167: warning: comparison of distinct pointer types lacks a cast
smblib-util.c:175: warning: implicit declaration of function `strcmp'
smblib-util.c: In function `SMB_Negotiate':
smblib-util.c:211: warning: implicit declaration of function `strlen'
smblib-util.c:245: warning: implicit declaration of function `bzero'
smblib-util.c:263: warning: implicit declaration of function `strcpy'
smblib-util.c:277: warning: implicit declaration of function `RFCNB_Free_Pkt'
smblib-util.c:359: warning: int format, pointer arg (arg 3)
smblib-util.c:360: warning: implicit declaration of function `memcpy'
smblib-util.c:364: warning: implicit declaration of function `strncpy'
smblib-util.c:199: warning: unused variable `prot_pkt'
smblib-util.c:200: warning: unused variable `resp_pkt'
smblib-util.c: In function `SMB_Get_My_Name':
smblib-util.c:413: warning: unused variable `loc'
smblib-util.c: In function `SMB_TreeConnect':
smblib-util.c:448: warning: suggest parentheses around comparison in operand of |
smblib-util.c:448: warning: suggest parentheses around comparison in operand of |
smblib-util.c:442: warning: unused variable `i'
smblib-util.c:590: warning: statement with no effect
smblib-util.c:591: warning: statement with no effect
smblib-util.c: In function `SMB_Get_Error_Msg':
smblib-util.c:780: warning: implicit declaration of function `strncat'
smblib-util.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
valid.c: In function `Valid_User':
valid.c:42: warning: implicit declaration of function `SMB_Init'
valid.c:50: warning: implicit declaration of function `SMB_Negotiate'
valid.c:51: warning: implicit declaration of function `SMB_Discon'
valid.c:61: warning: implicit declaration of function `SMB_Logon_Server'
valid.c: At top level:
smblib-priv.h:494: warning: `SMB_Prots' defined but not used
rlm_sql.c: In function `rlm_sql_detach':
rlm_sql.c:579: warning: passing arg 2 of `xlat_unregister' from incompatible pointer type
rlm_sql.c: In function `rlm_sql_instantiate':
rlm_sql.c:651: warning: passing arg 2 of `xlat_register' from incompatible pointer type
sql_mysql.c:39:20: errmsg.h: No such file or directory
sql_mysql.c:40:19: mysql.h: No such file or directory
sql_mysql.c:47: error: syntax error before "MYSQL"
sql_mysql.c:47: warning: no semicolon at end of struct or union
sql_mysql.c:48: warning: type defaults to `int' in declaration of `sock'
sql_mysql.c:48: warning: data definition has no type or storage class
sql_mysql.c:49: error: syntax error before '*' token
sql_mysql.c:49: warning: type defaults to `int' in declaration of `result'
sql_mysql.c:49: warning: data definition has no type or storage class
sql_mysql.c:51: error: syntax error before '}' token
sql_mysql.c:51: warning: type defaults to `int' in declaration of `rlm_sql_mysql_sock'
sql_mysql.c:51: warning: data definition has no type or storage class
sql_mysql.c: In function `sql_init_socket':
sql_mysql.c:62: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:62: error: (Each undeclared identifier is reported only once
sql_mysql.c:62: error: for each function it appears in.)
sql_mysql.c:65: error: syntax error before ')' token
sql_mysql.c:76: warning: implicit declaration of function `mysql_init'
sql_mysql.c:77: warning: implicit declaration of function `mysql_real_connect'
sql_mysql.c:84: error: `CLIENT_FOUND_ROWS' undeclared (first use in this function)
sql_mysql.c:86: warning: implicit declaration of function `mysql_error'
sql_mysql.c:86: warning: format argument is not a pointer (arg 3)
sql_mysql.c: In function `sql_check_error':
sql_mysql.c:122: error: `CR_SERVER_GONE_ERROR' undeclared (first use in this function)
sql_mysql.c:123: error: `CR_SERVER_LOST' undeclared (first use in this function)
sql_mysql.c:131: error: `CR_OUT_OF_MEMORY' undeclared (first use in this function)
sql_mysql.c:132: error: `CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in this function)
sql_mysql.c:133: error: `CR_UNKNOWN_ERROR' undeclared (first use in this function)
sql_mysql.c: In function `sql_query':
sql_mysql.c:151: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:160: warning: implicit declaration of function `mysql_query'
sql_mysql.c:161: warning: implicit declaration of function `mysql_errno'
sql_mysql.c: In function `sql_store_result':
sql_mysql.c:175: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:181: warning: implicit declaration of function `mysql_store_result'
sql_mysql.c:184: warning: format argument is not a pointer (arg 3)
sql_mysql.c: In function `sql_num_fields':
sql_mysql.c:202: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:207: warning: implicit declaration of function `mysql_num_fields'
sql_mysql.c:211: warning: format argument is not a pointer (arg 3)
sql_mysql.c: In function `sql_num_rows':
sql_mysql.c:257: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:260: warning: implicit declaration of function `mysql_num_rows'
sql_mysql.c: In function `sql_fetch_row':
sql_mysql.c:277: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:286: warning: implicit declaration of function `mysql_fetch_row'
sql_mysql.c:286: warning: assignment makes pointer from integer without a cast
sql_mysql.c: In function `sql_free_result':
sql_mysql.c:305: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:308: warning: implicit declaration of function `mysql_free_result'
sql_mysql.c: In function `sql_error':
sql_mysql.c:327: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:332: warning: return makes pointer from integer without a cast
sql_mysql.c: In function `sql_close':
sql_mysql.c:346: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:349: warning: implicit declaration of function `mysql_close'
sql_mysql.c: In function `sql_affected_rows':
sql_mysql.c:395: error: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:397: warning: implicit declaration of function `mysql_affected_rows'
make[10]: *** [sql_mysql.o] Error 1
make[9]: *** [common] Error 1
make[8]: *** [static] Error 2
make[7]: *** [common] Error 1
make[6]: *** [static] Error 2
make[5]: *** [common] Error 1
make[4]: *** [all] Error 2
make[3]: *** [common] Error 1
make[2]: *** [all] Error 2
make[1]: *** [common] Error 1
make: *** [all] Error 2
maxo@ubuntu:~/freeradius-1.0.2 $

If needed, I can attach also the exit from the make script.

Thanks for any help you can give me.

Maxo
| Threaded
Open this post in threaded view
|

Re: FreeRadius make ERRORS

Nicolas Baradakis
Software Development Group wrote:

> I am trying to compile FreeRadius with MySQL for user/time
> validation and I am getting many errors while compiling. Here
> are the results of the configure and the make scripts:
>
> maxo@ubuntu:~/freeradius-1.0.2 $ sudo ./configure

With Ubuntu (like with Debian) you can build FreeRADIUS with the
dpkg-buildpackage command. This script checks if you have the
required packages installed on your system and automatically
builds a Debian package.

--
Nicolas Baradakis

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: FreeRadius make ERRORS

Nicolas Baradakis
Maxo Benalal wrote:

> Thanks for your reply. Could you please give me the exact command to
> run to install FreeRadius?

With Debian tools:

$ tar xzf ~/projs/freeradius/upstream/releases/freeradius-1.0.2.tar.gz
$ cd freeradius-1.0.2
$ fakeroot dpkg-buildpackage -b
$ sudo dpkg -i ../freeradius_1.0.2-0_i386.deb

Nicolas Baradakis

--
A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: FreeRadius make ERRORS

Nicolas Baradakis
Maxo Benalal wrote:

> Thanks Nicolas,
>
> 1. I've gone to the directory where I downloaded the .gz
> 2. I did the tar xzf freeradius-1.0.2.tar.gz.
> 3. I did the cd freeradius-1.0.2.
> 4. When I do the fakeroot I get an error message saying:
>    dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting

Read more carefully the output of dpkg-buildpackage: it tells you
which packages are missing on your system.

PS: Please send messages to the list and not to my personal address.

--
Nicolas Baradakis

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: FreeRadius make ERRORS

Nicolas Baradakis
In reply to this post by Software Development Group
Maxo Benalal wrote:

> The unmet dependencies are:
> libltld3-dev, libsasl2-dev, libsnmp4.2-dev, libiodbc2-dev, libtool1.4, snmp
> autotools-dev

That means you have to install these packages (with apt-get) before
you can build FreeRADIUS on your system.

--
Nicolas Baradakis

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html