Sanchez 0 Posted 2004-04-22 11:31:02 Share Posted 2004-04-22 11:31:02 Забрал с этого сайта последнюю версию, но она не хочет собираться, говорит: configproto.cpp: In method `void CONFIGPROTO::ParseCommand()': configproto.cpp:156: implicit declaration of function `int XML_ParserReset(...)' configproto.cpp:169: `XML_STATUS_ERROR' undeclared (first use this function) configproto.cpp:169: (Each undeclared identifier is reported only once configproto.cpp:169: for each function it appears in.) make[1]: *** [configproto.o] Ошибка 1 make[1]: Leaving directory `/usr/local/src/stg2-2004.04.19-16.24.37' make: *** [lin] Ошибка 2 Система -- Debian 3.0 Link to post Share on other sites
Guest Guest Posted 2004-04-22 13:09:47 Share Posted 2004-04-22 13:09:47 Хе неисключено что ета версия пока не собирается вообще под Дебиан так как она всеголиш Альфа. Link to post Share on other sites
i_destr 2 Posted 2004-04-22 18:32:26 Share Posted 2004-04-22 18:32:26 Значится так: У меня stg2-2004.04.19-16.24.37. Ось - FreeBSD 4.9. Все работает, все считает, вот только скрипты не запускаются... Link to post Share on other sites
stg-34 0 Posted 2004-04-23 11:07:42 Share Posted 2004-04-23 11:07:42 Забрал с этого сайта последнюю версию, но она не хочет собираться, говорит:configproto.cpp: In method `void CONFIGPROTO::ParseCommand()': configproto.cpp:156: implicit declaration of function `int XML_ParserReset(...)' configproto.cpp:169: `XML_STATUS_ERROR' undeclared (first use this function) Не виноватая я (с) Это бага в expat. Если шаришь в си, перенеси определение XML_STATUS_ERROR вверх по файлу, если не шаришь, подожди, я кину нормальный заголовочный файл. Link to post Share on other sites
Guest Guest Posted 2004-04-26 20:02:51 Share Posted 2004-04-26 20:02:51 In file included from main.cpp:59: configproto.h:48:19: expat.h: No such file or directory In file included from main.cpp:59: configproto.h:118: error: 'XML_Parser' is used as a type, but is not defined as a type. *** Error code 1 Система FreeBSD 5.2.1-RELEASE expat-1.96.6_1 установлен в системе Что не так ? to stg-34 Насчет заголовочного файла для решения предыдушей проблемы - скоро будет ? Всем заранее спасибо Link to post Share on other sites
stg-34 0 Posted 2004-04-28 00:27:55 Share Posted 2004-04-28 00:27:55 to stg-34 Насчет заголовочного файла для решения предыдушей проблемы - скоро будет ? Со следующей обновкой. Постараюсь выложиться до пятницы, т.к. в пятницу уезжаю на праздники в гору. Link to post Share on other sites
Guest Guest Posted 2004-05-02 18:00:57 Share Posted 2004-05-02 18:00:57 Система FreeBSD 5.2.1-RELEASE проблема с expat.h решена следующим образом: нужно скопировать expat.h из /usr/local/include в /usr/include но появляются новые проблемы !!! parser.cpp: In member function 'virtual int PARSERCHGUSER::ParseStart(void*, const char*, const char**)': parser.cpp:635: error: invalid initialization of reference of type 'long int&' from expression of type 'time_t' common.h:71: error: in passing argument 2 of 'int strtol2(const char*, long int&)' Link to post Share on other sites
Guest Guest Posted 2004-05-02 18:22:13 Share Posted 2004-05-02 18:22:13 Система FreeBSD 5.2.1-RELEASE parser.cpp: In member function 'virtual int PARSERCHGUSER::ParseStart(void*, const char*, const char**)': parser.cpp:635: error: invalid initialization of reference of type 'long int&' from expression of type 'time_t' common.h:71: error: in passing argument 2 of 'int strtol2(const char*, long int&)' ошибки удалены путем правки файлов common.h и common.cpp: в функции strtol2 long int& нужно заменить на int& также нужно подправить пути к библиотеке libexpat.so она лежит в /usr/local/lib - нужно добавить символическую ссылку на ентот файл в папку /usr/lib но даже при нормальной компиляции прога не работает !!! Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now