shaggrath Napisano Lipiec 1, 2010 Zgłoszenie Share Napisano Lipiec 1, 2010 Witam Po aktualizacji systemu z wersji 11 na 13 jestem zmuszony zainstalowac LMS od poczatku i tu podczas kompilacji dostaje blad /usr/bin/ld: cannot find -lmysqlclient Czy trzeba jeszcze cos doinstalowac poniewaz na fedorze 11 dotychczas wszystko dzialalo? pozdrawiam Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
@WalDo Napisano Lipiec 1, 2010 Zgłoszenie Share Napisano Lipiec 1, 2010 Jeśli "-lmysqlclient", to najprawdopodobniej chodzi o bibliotekę, a dokładniej o jej brak yum provides */libmysqlclient* Z wyników wychodzi, że powinieneś doinstalować mysql-lib. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
shaggrath Napisano Lipiec 1, 2010 Autor Zgłoszenie Share Napisano Lipiec 1, 2010 (edytowane) Jeśli "-lmysqlclient", to najprawdopodobniej chodzi o bibliotekę, a dokładniej o jej brak yum provides */libmysqlclient* Z wyników wychodzi, że powinieneś doinstalować mysql-lib. Po doinstalowaniu biblioteki podczas kompilacji teraz mam : ewx-stm.c:40: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:41: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:42: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:43: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c: In function ?reload?: ewx-stm.c:65: error: storage size of ?session? isn?t known ewx-stm.c:95: warning: implicit declaration of function ?init_snmp? ewx-stm.c:98: warning: implicit declaration of function ?snmp_sess_init? ewx-stm.c:99: error: ?SNMP_VERSION_2c? undeclared (first use in this function) ewx-stm.c:99: error: (Each undeclared identifier is reported only once ewx-stm.c:99: error: for each function it appears in.) ewx-stm.c:107: warning: implicit declaration of function ?netsnmp_ds_toggle_boolean? ewx-stm.c:107: error: ?NETSNMP_DS_LIBRARY_ID? undeclared (first use in this function) ewx-stm.c:107: error: ?NETSNMP_DS_LIB_QUICK_PRINT? undeclared (first use in this function) ewx-stm.c:110: warning: implicit declaration of function ?snmp_open? ewx-stm.c:114: warning: implicit declaration of function ?snmp_error? ewx-stm.c:121: warning: implicit declaration of function ?snmp_pdu_create? ewx-stm.c:121: error: ?SNMP_MSG_GET? undeclared (first use in this function) ewx-stm.c:125: error: ?PathUplink? undeclared (first use in this function) ewx-stm.c:126: error: ?PathDownlink? undeclared (first use in this function) ewx-stm.c:127: warning: implicit declaration of function ?snmp_add_null_var? ewx-stm.c:131: warning: implicit declaration of function ?snmp_synch_response? ewx-stm.c:134: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:134: error: dereferencing pointer to incomplete type ewx-stm.c:134: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:137: error: ?MAX_OID_LEN? undeclared (first use in this function) ewx-stm.c:139: error: dereferencing pointer to incomplete type ewx-stm.c:139: error: dereferencing pointer to incomplete type ewx-stm.c:141: warning: implicit declaration of function ?snprint_objid? ewx-stm.c:141: error: dereferencing pointer to incomplete type ewx-stm.c:141: error: dereferencing pointer to incomplete type ewx-stm.c:143: error: dereferencing pointer to incomplete type ewx-stm.c:145: warning: implicit declaration of function ?snprint_value? ewx-stm.c:145: error: dereferencing pointer to incomplete type ewx-stm.c:145: error: dereferencing pointer to incomplete type ewx-stm.c:148: error: dereferencing pointer to incomplete type ewx-stm.c:150: error: dereferencing pointer to incomplete type ewx-stm.c:150: error: dereferencing pointer to incomplete type ewx-stm.c:137: warning: unused variable ?buf? ewx-stm.c:158: warning: implicit declaration of function ?snmp_errstring? ewx-stm.c:158: error: dereferencing pointer to incomplete type ewx-stm.c:170: warning: implicit declaration of function ?snmp_free_pdu? ewx-stm.c:172: warning: implicit declaration of function ?snmp_close? ewx-stm.c:805: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm.c:40: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:837: warning: passing argument 3 of ?mod_channel? from incompatible pointer type ewx-stm.c:39: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:842: warning: passing argument 3 of ?update_node? from incompatible pointer type ewx-stm.c:42: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:855: warning: passing argument 3 of ?update_channel? from incompatible pointer type ewx-stm.c:38: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:857: warning: passing argument 3 of ?add_channel? from incompatible pointer type ewx-stm.c:37: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:860: warning: passing argument 3 of ?mod_channel? from incompatible pointer type ewx-stm.c:39: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:889: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm.c:40: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:905: warning: passing argument 3 of ?update_node? from incompatible pointer type ewx-stm.c:42: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:918: warning: passing argument 3 of ?del_channel? from incompatible pointer type ewx-stm.c:36: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:922: warning: passing argument 3 of ?add_node? from incompatible pointer type ewx-stm.c:41: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:936: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm.c:40: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:941: warning: passing argument 3 of ?del_channel? from incompatible pointer type ewx-stm.c:36: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:945: warning: passing argument 3 of ?save_tables? from incompatible pointer type ewx-stm.c:43: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:65: warning: unused variable ?session? ewx-stm.c: At top level: ewx-stm.c:1065: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1065: error: conflicting types for ?del_channel? ewx-stm.c:36: note: previous declaration of ?del_channel? was here ewx-stm.c: In function ?del_channel?: ewx-stm.c:1077: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm.c:40: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:1082: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm.c:1085: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1087: warning: implicit declaration of function ?snmp_add_var? ewx-stm.c:1093: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1093: error: dereferencing pointer to incomplete type ewx-stm.c:1093: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1108: error: dereferencing pointer to incomplete type ewx-stm.c: At top level: ewx-stm.c:1124: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1124: error: conflicting types for ?add_channel? ewx-stm.c:37: note: previous declaration of ?add_channel? was here ewx-stm.c: In function ?add_channel?: ewx-stm.c:1200: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm.c:1201: error: ?ChannelPathNo? undeclared (first use in this function) ewx-stm.c:1202: error: ?ChannelUplink? undeclared (first use in this function) ewx-stm.c:1203: error: ?ChannelDownlink? undeclared (first use in this function) ewx-stm.c:1207: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1219: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1219: error: dereferencing pointer to incomplete type ewx-stm.c:1219: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1232: error: dereferencing pointer to incomplete type ewx-stm.c:1249: warning: passing argument 3 of ?add_node? from incompatible pointer type ewx-stm.c:41: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c: At top level: ewx-stm.c:1255: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1255: error: conflicting types for ?update_channel? ewx-stm.c:38: note: previous declaration of ?update_channel? was here ewx-stm.c: In function ?update_channel?: ewx-stm.c:1272: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm.c:40: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c:1277: error: ?ChannelUplink? undeclared (first use in this function) ewx-stm.c:1278: error: ?ChannelDownlink? undeclared (first use in this function) ewx-stm.c:1281: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm.c:1284: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1293: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1293: error: dereferencing pointer to incomplete type ewx-stm.c:1293: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1302: error: dereferencing pointer to incomplete type ewx-stm.c:1332: error: dereferencing pointer to incomplete type ewx-stm.c:1348: error: dereferencing pointer to incomplete type ewx-stm.c:1365: warning: passing argument 3 of ?add_node? from incompatible pointer type ewx-stm.c:41: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm.c: At top level: ewx-stm.c:1374: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1374: error: conflicting types for ?mod_channel? ewx-stm.c:39: note: previous declaration of ?mod_channel? was here ewx-stm.c: In function ?mod_channel?: ewx-stm.c:1386: error: ?ChannelUplink? undeclared (first use in this function) ewx-stm.c:1387: error: ?ChannelDownlink? undeclared (first use in this function) ewx-stm.c:1388: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm.c:1391: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1400: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1400: error: dereferencing pointer to incomplete type ewx-stm.c:1400: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1409: error: dereferencing pointer to incomplete type ewx-stm.c:1437: error: dereferencing pointer to incomplete type ewx-stm.c:1452: error: dereferencing pointer to incomplete type ewx-stm.c: At top level: ewx-stm.c:1471: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1471: error: conflicting types for ?del_node? ewx-stm.c:40: note: previous declaration of ?del_node? was here ewx-stm.c: In function ?del_node?: ewx-stm.c:1483: error: ?CustomerStatus? undeclared (first use in this function) ewx-stm.c:1486: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1494: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1494: error: dereferencing pointer to incomplete type ewx-stm.c:1494: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1509: error: dereferencing pointer to incomplete type ewx-stm.c: At top level: ewx-stm.c:1525: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1525: error: conflicting types for ?add_node? ewx-stm.c:41: note: previous declaration of ?add_node? was here ewx-stm.c: In function ?add_node?: ewx-stm.c:1538: error: ?CustomerPathNo? undeclared (first use in this function) ewx-stm.c:1539: error: ?CustomerChannelNo? undeclared (first use in this function) ewx-stm.c:1540: error: ?CustomerIpAddr? undeclared (first use in this function) ewx-stm.c:1541: error: ?CustomerMacAddr? undeclared (first use in this function) ewx-stm.c:1542: error: ?CustomerUpMinSpeed? undeclared (first use in this function) ewx-stm.c:1543: error: ?CustomerUpMaxSpeed? undeclared (first use in this function) ewx-stm.c:1544: error: ?CustomerDownMinSpeed? undeclared (first use in this function) ewx-stm.c:1545: error: ?CustomerDownMaxSpeed? undeclared (first use in this function) ewx-stm.c:1546: error: ?CustomerHalfDuplex? undeclared (first use in this function) ewx-stm.c:1547: error: ?CustomerStatus? undeclared (first use in this function) ewx-stm.c:1550: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1570: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1570: error: dereferencing pointer to incomplete type ewx-stm.c:1570: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1601: error: dereferencing pointer to incomplete type ewx-stm.c: At top level: ewx-stm.c:1617: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1617: error: conflicting types for ?update_node? ewx-stm.c:42: note: previous declaration of ?update_node? was here ewx-stm.c: In function ?update_node?: ewx-stm.c:1632: error: ?CustomerIpAddr? undeclared (first use in this function) ewx-stm.c:1633: error: ?CustomerMacAddr? undeclared (first use in this function) ewx-stm.c:1634: error: ?CustomerUpMinSpeed? undeclared (first use in this function) ewx-stm.c:1635: error: ?CustomerUpMaxSpeed? undeclared (first use in this function) ewx-stm.c:1636: error: ?CustomerDownMinSpeed? undeclared (first use in this function) ewx-stm.c:1637: error: ?CustomerDownMaxSpeed? undeclared (first use in this function) ewx-stm.c:1638: error: ?CustomerHalfDuplex? undeclared (first use in this function) ewx-stm.c:1639: error: ?CustomerStatus? undeclared (first use in this function) ewx-stm.c:1642: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1651: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1651: error: dereferencing pointer to incomplete type ewx-stm.c:1651: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1660: error: dereferencing pointer to incomplete type ewx-stm.c:1705: error: dereferencing pointer to incomplete type ewx-stm.c:1735: error: dereferencing pointer to incomplete type ewx-stm.c: At top level: ewx-stm.c:1751: warning: ?struct snmp_session? declared inside parameter list ewx-stm.c:1751: error: conflicting types for ?save_tables? ewx-stm.c:43: note: previous declaration of ?save_tables? was here ewx-stm.c: In function ?save_tables?: ewx-stm.c:1762: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm.c:1764: error: ?CustomersTableSave? undeclared (first use in this function) ewx-stm.c:1764: warning: implicit declaration of function ?OID_LENGTH? ewx-stm.c:1765: error: ?ChannelsTableSave? undeclared (first use in this function) ewx-stm.c:1771: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm.c:1771: error: dereferencing pointer to incomplete type ewx-stm.c:1771: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm.c:1784: error: dereferencing pointer to incomplete type make[2]: *** [ewx-stm.o] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/ewx-stm' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/ewx-stm-channels' cc -I/usr/include -Wall -O2 -fPIC -DGNU -DUSE_MYSQL -I../.. `net-snmp-config --cflags` -c -o ewx-stm-channels.o ewx-stm-channels.c /bin/sh: net-snmp-config: nie znaleziono polecenia In file included from ewx-stm-channels.c:33: ewx-stm-channels.h:1:38: error: net-snmp/net-snmp-config.h: Nie ma takiego pliku ani katalogu ewx-stm-channels.h:2:40: error: net-snmp/net-snmp-includes.h: Nie ma takiego pliku ani katalogu In file included from ewx-stm-channels.c:33: ewx-stm-channels.h:97: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerStatus? ewx-stm-channels.h:98: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerNo? ewx-stm-channels.h:99: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerPathNo? ewx-stm-channels.h:100: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerChannelNo? ewx-stm-channels.h:101: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerIpAddr? ewx-stm-channels.h:102: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerMacAddr? ewx-stm-channels.h:103: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerMinSpeed? ewx-stm-channels.h:104: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerMaxSpeed? ewx-stm-channels.h:105: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerUpMinSpeed? ewx-stm-channels.h:106: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerUpMaxSpeed? ewx-stm-channels.h:107: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerDownMinSpeed? ewx-stm-channels.h:108: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerDownMaxSpeed? ewx-stm-channels.h:109: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerShare? ewx-stm-channels.h:110: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomerHalfDuplex? ewx-stm-channels.h:113: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ChannelStatus? ewx-stm-channels.h:114: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ChannelNo? ewx-stm-channels.h:115: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ChannelPathNo? ewx-stm-channels.h:116: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ChannelUplink? ewx-stm-channels.h:117: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ChannelDownlink? ewx-stm-channels.h:118: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ChannelHalfDuplex? ewx-stm-channels.h:121: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?PathUplink? ewx-stm-channels.h:122: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?PathDownlink? ewx-stm-channels.h:137: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?CustomersTableSave? ewx-stm-channels.h:138: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?ChannelsTableSave? ewx-stm-channels.c:35: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:36: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:37: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:38: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:39: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:40: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:41: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:42: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c: In function ?reload?: ewx-stm-channels.c:64: error: storage size of ?session? isn?t known ewx-stm-channels.c:94: warning: implicit declaration of function ?init_snmp? ewx-stm-channels.c:97: warning: implicit declaration of function ?snmp_sess_init? ewx-stm-channels.c:98: error: ?SNMP_VERSION_2c? undeclared (first use in this function) ewx-stm-channels.c:98: error: (Each undeclared identifier is reported only once ewx-stm-channels.c:98: error: for each function it appears in.) ewx-stm-channels.c:106: warning: implicit declaration of function ?netsnmp_ds_toggle_boolean? ewx-stm-channels.c:106: error: ?NETSNMP_DS_LIBRARY_ID? undeclared (first use in this function) ewx-stm-channels.c:106: error: ?NETSNMP_DS_LIB_QUICK_PRINT? undeclared (first use in this function) ewx-stm-channels.c:109: warning: implicit declaration of function ?snmp_open? ewx-stm-channels.c:113: warning: implicit declaration of function ?snmp_error? ewx-stm-channels.c:120: warning: implicit declaration of function ?snmp_pdu_create? ewx-stm-channels.c:120: error: ?SNMP_MSG_GET? undeclared (first use in this function) ewx-stm-channels.c:124: error: ?PathUplink? undeclared (first use in this function) ewx-stm-channels.c:125: error: ?PathDownlink? undeclared (first use in this function) ewx-stm-channels.c:126: warning: implicit declaration of function ?snmp_add_null_var? ewx-stm-channels.c:130: warning: implicit declaration of function ?snmp_synch_response? ewx-stm-channels.c:133: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:133: error: dereferencing pointer to incomplete type ewx-stm-channels.c:133: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:136: error: ?MAX_OID_LEN? undeclared (first use in this function) ewx-stm-channels.c:138: error: dereferencing pointer to incomplete type ewx-stm-channels.c:138: error: dereferencing pointer to incomplete type ewx-stm-channels.c:140: warning: implicit declaration of function ?snprint_objid? ewx-stm-channels.c:140: error: dereferencing pointer to incomplete type ewx-stm-channels.c:140: error: dereferencing pointer to incomplete type ewx-stm-channels.c:142: error: dereferencing pointer to incomplete type ewx-stm-channels.c:144: warning: implicit declaration of function ?snprint_value? ewx-stm-channels.c:144: error: dereferencing pointer to incomplete type ewx-stm-channels.c:144: error: dereferencing pointer to incomplete type ewx-stm-channels.c:147: error: dereferencing pointer to incomplete type ewx-stm-channels.c:149: error: dereferencing pointer to incomplete type ewx-stm-channels.c:149: error: dereferencing pointer to incomplete type ewx-stm-channels.c:136: warning: unused variable ?buf? ewx-stm-channels.c:157: warning: implicit declaration of function ?snmp_errstring? ewx-stm-channels.c:157: error: dereferencing pointer to incomplete type ewx-stm-channels.c:169: warning: implicit declaration of function ?snmp_free_pdu? ewx-stm-channels.c:171: warning: implicit declaration of function ?snmp_close? ewx-stm-channels.c:811: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm-channels.c:39: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:830: warning: passing argument 3 of ?mod_channel? from incompatible pointer type ewx-stm-channels.c:38: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:844: warning: passing argument 3 of ?mod_channel? from incompatible pointer type ewx-stm-channels.c:38: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:851: warning: passing argument 3 of ?update_node? from incompatible pointer type ewx-stm-channels.c:41: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:868: warning: passing argument 3 of ?update_channel? from incompatible pointer type ewx-stm-channels.c:37: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:871: warning: passing argument 3 of ?add_channel? from incompatible pointer type ewx-stm-channels.c:36: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:875: warning: passing argument 3 of ?mod_channel? from incompatible pointer type ewx-stm-channels.c:38: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:889: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm-channels.c:39: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:895: warning: passing argument 3 of ?del_channel? from incompatible pointer type ewx-stm-channels.c:35: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:901: warning: passing argument 3 of ?save_tables? from incompatible pointer type ewx-stm-channels.c:42: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:64: warning: unused variable ?session? ewx-stm-channels.c: At top level: ewx-stm-channels.c:1026: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1026: error: conflicting types for ?del_channel? ewx-stm-channels.c:35: note: previous declaration of ?del_channel? was here ewx-stm-channels.c: In function ?del_channel?: ewx-stm-channels.c:1038: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm-channels.c:39: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:1043: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm-channels.c:1046: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1048: warning: implicit declaration of function ?snmp_add_var? ewx-stm-channels.c:1054: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1054: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1054: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1069: error: dereferencing pointer to incomplete type ewx-stm-channels.c: At top level: ewx-stm-channels.c:1085: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1085: error: conflicting types for ?add_channel? ewx-stm-channels.c:36: note: previous declaration of ?add_channel? was here ewx-stm-channels.c: In function ?add_channel?: ewx-stm-channels.c:1161: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm-channels.c:1162: error: ?ChannelPathNo? undeclared (first use in this function) ewx-stm-channels.c:1163: error: ?ChannelUplink? undeclared (first use in this function) ewx-stm-channels.c:1164: error: ?ChannelDownlink? undeclared (first use in this function) ewx-stm-channels.c:1168: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1180: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1180: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1180: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1193: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1210: warning: passing argument 3 of ?add_node? from incompatible pointer type ewx-stm-channels.c:40: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c: At top level: ewx-stm-channels.c:1216: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1216: error: conflicting types for ?update_channel? ewx-stm-channels.c:37: note: previous declaration of ?update_channel? was here ewx-stm-channels.c: In function ?update_channel?: ewx-stm-channels.c:1233: warning: passing argument 3 of ?del_node? from incompatible pointer type ewx-stm-channels.c:39: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c:1238: error: ?ChannelUplink? undeclared (first use in this function) ewx-stm-channels.c:1239: error: ?ChannelDownlink? undeclared (first use in this function) ewx-stm-channels.c:1242: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm-channels.c:1245: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1254: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1254: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1254: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1263: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1293: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1309: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1326: warning: passing argument 3 of ?add_node? from incompatible pointer type ewx-stm-channels.c:40: note: expected ?struct snmp_session *? but argument is of type ?struct snmp_session *? ewx-stm-channels.c: At top level: ewx-stm-channels.c:1335: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1335: error: conflicting types for ?mod_channel? ewx-stm-channels.c:38: note: previous declaration of ?mod_channel? was here ewx-stm-channels.c: In function ?mod_channel?: ewx-stm-channels.c:1347: error: ?ChannelUplink? undeclared (first use in this function) ewx-stm-channels.c:1348: error: ?ChannelDownlink? undeclared (first use in this function) ewx-stm-channels.c:1349: error: ?ChannelStatus? undeclared (first use in this function) ewx-stm-channels.c:1352: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1361: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1361: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1361: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1370: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1398: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1413: error: dereferencing pointer to incomplete type ewx-stm-channels.c: At top level: ewx-stm-channels.c:1432: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1432: error: conflicting types for ?del_node? ewx-stm-channels.c:39: note: previous declaration of ?del_node? was here ewx-stm-channels.c: In function ?del_node?: ewx-stm-channels.c:1444: error: ?CustomerStatus? undeclared (first use in this function) ewx-stm-channels.c:1447: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1455: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1455: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1455: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1470: error: dereferencing pointer to incomplete type ewx-stm-channels.c: At top level: ewx-stm-channels.c:1486: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1486: error: conflicting types for ?add_node? ewx-stm-channels.c:40: note: previous declaration of ?add_node? was here ewx-stm-channels.c: In function ?add_node?: ewx-stm-channels.c:1499: error: ?CustomerPathNo? undeclared (first use in this function) ewx-stm-channels.c:1500: error: ?CustomerChannelNo? undeclared (first use in this function) ewx-stm-channels.c:1501: error: ?CustomerIpAddr? undeclared (first use in this function) ewx-stm-channels.c:1502: error: ?CustomerMacAddr? undeclared (first use in this function) ewx-stm-channels.c:1503: error: ?CustomerUpMinSpeed? undeclared (first use in this function) ewx-stm-channels.c:1504: error: ?CustomerUpMaxSpeed? undeclared (first use in this function) ewx-stm-channels.c:1505: error: ?CustomerDownMinSpeed? undeclared (first use in this function) ewx-stm-channels.c:1506: error: ?CustomerDownMaxSpeed? undeclared (first use in this function) ewx-stm-channels.c:1507: error: ?CustomerHalfDuplex? undeclared (first use in this function) ewx-stm-channels.c:1508: error: ?CustomerStatus? undeclared (first use in this function) ewx-stm-channels.c:1511: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1531: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1531: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1531: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1562: error: dereferencing pointer to incomplete type ewx-stm-channels.c: At top level: ewx-stm-channels.c:1578: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1578: error: conflicting types for ?update_node? ewx-stm-channels.c:41: note: previous declaration of ?update_node? was here ewx-stm-channels.c: In function ?update_node?: ewx-stm-channels.c:1593: error: ?CustomerIpAddr? undeclared (first use in this function) ewx-stm-channels.c:1594: error: ?CustomerMacAddr? undeclared (first use in this function) ewx-stm-channels.c:1595: error: ?CustomerUpMinSpeed? undeclared (first use in this function) ewx-stm-channels.c:1596: error: ?CustomerUpMaxSpeed? undeclared (first use in this function) ewx-stm-channels.c:1597: error: ?CustomerDownMinSpeed? undeclared (first use in this function) ewx-stm-channels.c:1598: error: ?CustomerDownMaxSpeed? undeclared (first use in this function) ewx-stm-channels.c:1599: error: ?CustomerHalfDuplex? undeclared (first use in this function) ewx-stm-channels.c:1600: error: ?CustomerStatus? undeclared (first use in this function) ewx-stm-channels.c:1603: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1612: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1612: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1612: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1621: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1666: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1696: error: dereferencing pointer to incomplete type ewx-stm-channels.c: At top level: ewx-stm-channels.c:1712: warning: ?struct snmp_session? declared inside parameter list ewx-stm-channels.c:1712: error: conflicting types for ?save_tables? ewx-stm-channels.c:42: note: previous declaration of ?save_tables? was here ewx-stm-channels.c: In function ?save_tables?: ewx-stm-channels.c:1723: error: ?SNMP_MSG_SET? undeclared (first use in this function) ewx-stm-channels.c:1725: error: ?CustomersTableSave? undeclared (first use in this function) ewx-stm-channels.c:1725: warning: implicit declaration of function ?OID_LENGTH? ewx-stm-channels.c:1726: error: ?ChannelsTableSave? undeclared (first use in this function) ewx-stm-channels.c:1732: error: ?STAT_SUCCESS? undeclared (first use in this function) ewx-stm-channels.c:1732: error: dereferencing pointer to incomplete type ewx-stm-channels.c:1732: error: ?SNMP_ERR_NOERROR? undeclared (first use in this function) ewx-stm-channels.c:1745: error: dereferencing pointer to incomplete type make[2]: *** [ewx-stm-channels.o] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/ewx-stm-channels' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/ggnotify' cc -I/usr/include -Wall -O2 -fPIC -DGNU -DUSE_MYSQL -I../.. -I/usr/src/ekg/lib -c -o ggnotify.o ggnotify.c ggnotify.c:38:21: error: libgadu.h: Nie ma takiego pliku ani katalogu ggnotify.c: In function ?reload?: ggnotify.c:94: error: storage size of ?p? isn?t known ggnotify.c:101: warning: implicit declaration of function ?gg_login? ggnotify.c:104: warning: implicit declaration of function ?gg_free_session? ggnotify.c:184: warning: implicit declaration of function ?gg_send_message? ggnotify.c:184: error: ?GG_CLASS_MSG? undeclared (first use in this function) ggnotify.c:184: error: (Each undeclared identifier is reported only once ggnotify.c:184: error: for each function it appears in.) ggnotify.c:208: warning: implicit declaration of function ?gg_logoff? ggnotify.c:94: warning: unused variable ?p? make[2]: *** [ggnotify.o] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/ggnotify' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/hostfile' gcc -shared hostfile.o -o hostfile.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [hostfile.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/hostfile' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/notify' gcc -shared notify.o -o notify.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [notify.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/notify' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/oident' gcc -shared oident.o -o oident.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [oident.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/oident' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/parser' make -C lib make[3]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/parser/lib' make[3]: Okrężna dyrektywa tscript_parser.h <- tscript_parser.h porzucona. bison -o tscript_parser.c -d tscript_parser.y -p tscript_yy -r lookahead make[3]: bison: Polecenie nie znalezione make[3]: *** [tscript_parser.h] Błąd 127 make[3]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/parser/lib' make[2]: *** [libs] Błąd 2 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/parser' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/payments' gcc -shared payments.o -o payments.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [payments.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/payments' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/pinger' gcc -shared pinger.o -o pinger.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [pinger.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/pinger' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/system' gcc -shared system.o -o system.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [system.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/system' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/tc' gcc -shared tc.o -o tc.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [tc.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/tc' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/tc-new' gcc -shared tc-new.o -o tc-new.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [tc-new.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/tc-new' make[2]: Wejście do katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/traffic' gcc -shared traffic.o -o traffic.so -L/usr/lib -lmysqlclient -ldl /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [traffic.so] Błąd 1 make[2]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules/traffic' make[1]: *** [all] Błąd 2 make[1]: Opuszczenie katalogu `/home/shaggrath/Pobrane/lms/daemon/modules' make: *** [xmodules] Błąd 2 Edytowane Lipiec 1, 2010 przez WalDo quote → codebox Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
@WalDo Napisano Lipiec 1, 2010 Zgłoszenie Share Napisano Lipiec 1, 2010 Jak przy kompilacji to pewnie brak jakiegoś *-devel (mysql-devel? mysql-lib-devel?) P.S.Po lewj stronie okna edycji jest "Wstaw: CODEBOX" - korzystaj z tego a nie z QUOTE szczególnie przy tak długich listingach. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się