реклама на сайте
подробности

 
 
2 страниц V   1 2 >  
Reply to this topicStart new topic
> OpenOCD: трудности сборки
Doka
сообщение Dec 28 2008, 07:59
Сообщение #1


Electrical Engineer
******

Группа: СуперМодераторы
Сообщений: 2 163
Регистрация: 4-10-04
Пользователь №: 778



OpenOCD: какое HW выбрать для отладки ARM ?


взял из svn последнюю версию (1282)

в конфиге сборки есть такие строчки:
Код
   --enable-ioutil         Enable ioutil functions - useful for standalone OpenOCD implementations
  --enable-httpd          Enable builtin httpd server - useful for standalone OpenOCD implementations


конфигурю:
./configure --enable-ioutil --enable-httpd

собираю:
make

получаю:
CODE
...
...
httpd.c:50:24: error: microhttpd.h: No such file or directory
httpd.c:200: warning: ‘enum MHD_RequestTerminationCode’ declared inside parameter list
httpd.c:200: warning: its scope is only this definition or declaration, which is probably not what you want
httpd.c:200: warning: ‘struct MHD_Connection’ declared inside parameter list
httpd.c:200: error: parameter 4 (‘toe’) has incomplete type
httpd.c: In function ‘request_completed’:
httpd.c:209: warning: implicit declaration of function ‘MHD_destroy_post_processor’
httpd.c: At top level:
httpd.c:247: warning: ‘enum MHD_ValueKind’ declared inside parameter list
httpd.c:244: error: parameter 2 (‘kind’) has incomplete type
httpd.c: In function ‘iterate_post’:
httpd.c:253: error: ‘MHD_YES’ undeclared (first use in this function)
httpd.c:253: error: (Each undeclared identifier is reported only once
httpd.c:253: error: for each function it appears in.)
httpd.c: At top level:
httpd.c:257: warning: ‘enum MHD_ValueKind’ declared inside parameter list
httpd.c:256: error: parameter 2 (‘kind’) has incomplete type
httpd.c: In function ‘record_arg’:
httpd.c:261: error: ‘MHD_YES’ undeclared (first use in this function)
httpd.c: At top level:
httpd.c:265: warning: ‘struct MHD_Connection’ declared inside parameter list
httpd.c: In function ‘handle_request’:
httpd.c:288: error: ‘MHD_NO’ undeclared (first use in this function)
httpd.c:290: warning: implicit declaration of function ‘MHD_create_response_from_data’
httpd.c:291: error: ‘MHD_YES’ undeclared (first use in this function)
httpd.c:291: warning: assignment makes pointer from integer without a cast
httpd.c:292: warning: implicit declaration of function ‘MHD_queue_response’
httpd.c:293: error: ‘MHD_HTTP_INTERNAL_SERVER_ERROR’ undeclared (first use in this function)
httpd.c:294: warning: implicit declaration of function ‘MHD_destroy_response’
httpd.c:306: warning: assignment makes pointer from integer without a cast
httpd.c:318: warning: implicit declaration of function ‘loadFile’
httpd.c:324: warning: assignment makes pointer from integer without a cast
httpd.c:325: error: ‘MHD_HTTP_NOT_FOUND’ undeclared (first use in this function)
httpd.c:332: warning: assignment makes pointer from integer without a cast
httpd.c:333: warning: implicit declaration of function ‘MHD_add_response_header’
httpd.c:335: error: ‘MHD_HTTP_OK’ undeclared (first use in this function)
httpd.c: At top level:
httpd.c:345: warning: ‘struct MHD_Connection’ declared inside parameter list
httpd.c: In function ‘ahc_echo’:
httpd.c:358: error: ‘MHD_NO’ undeclared (first use in this function)
httpd.c:378: warning: implicit declaration of function ‘MHD_get_connection_values’
httpd.c:378: error: ‘MHD_GET_ARGUMENT_KIND’ undeclared (first use in this function)
httpd.c:383: warning: implicit declaration of function ‘MHD_create_post_processor’
httpd.c:384: warning: assignment makes pointer from integer without a cast
httpd.c:387: error: ‘MHD_YES’ undeclared (first use in this function)
httpd.c:397: warning: implicit declaration of function ‘MHD_post_process’
httpd.c:426: warning: passing argument 1 of ‘handle_request’ from incompatible pointer type
httpd.c: In function ‘httpd_start’:
httpd.c:438: warning: implicit declaration of function ‘pthread_mutexattr_init’
httpd.c:439: warning: implicit declaration of function ‘pthread_mutex_init’
httpd.c:443: warning: implicit declaration of function ‘MHD_start_daemon’
httpd.c:443: error: ‘MHD_USE_SELECT_INTERNALLY’ undeclared (first use in this function)
httpd.c:445: error: ‘MHD_OPTION_NOTIFY_COMPLETED’ undeclared (first use in this function)
httpd.c:446: error: ‘MHD_OPTION_END’ undeclared (first use in this function)
httpd.c:446: warning: assignment makes pointer from integer without a cast
httpd.c: In function ‘httpd_stop’:
httpd.c:468: warning: implicit declaration of function ‘MHD_stop_daemon’
httpd.c:469: warning: implicit declaration of function ‘pthread_mutex_destroy’
httpd.c: In function ‘openocd_sleep_prelude’:
httpd.c:474: warning: implicit declaration of function ‘pthread_mutex_unlock’
httpd.c: In function ‘openocd_sleep_postlude’:
httpd.c:479: warning: implicit declaration of function ‘pthread_mutex_lock’
make[3]: *** [httpd.o] Error 1
make[3]: Leaving directory `/hdd/500/download/soft/openocd/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/hdd/500/download/soft/openocd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/hdd/500/download/soft/openocd'
make: *** [all] Error 2


т.о. судя по всему в этом пресловутом httpd сырой функционал, если не указывать в конфиге, то всё успешно собирается и даже запускается:
Код
$ openocd
Open On-Chip Debugger 1.0 (2008-12-28-02:43) svn:1282


вопроса 2 :
1. насколько действительно "useful for standalone OpenOCD implementations" этот пресловутый веб-сервер? (в документации комментариев на этот счёт не обнаружил)
2. как определить ревизию последнего успешного коммита??
полазил по репозитарию - бранчей по номерам релизов у них нет.. как определить какую ревизию брать из репозитария, чтобы это гарантированно собралось без ошибок??


--------------------
Блог iDoka.ru
CV linkedin.com/in/iDoka
Sources github.com/iDoka


Never stop thinking...........................
Go to the top of the page
 
+Quote Post
amw
сообщение Jan 5 2009, 09:49
Сообщение #2


Знающий
****

Группа: Свой
Сообщений: 601
Регистрация: 22-09-05
Из: Kharkov
Пользователь №: 8 847



Цитата(Doka @ Dec 28 2008, 09:59) *
...
конфигурю:
./configure --enable-ioutil --enable-httpd

собираю:
make

получаю:
Код
...
...
httpd.c:50:24: error: microhttpd.h: No such file or directory
...
make: *** [all] Error 2


т.о. судя по всему в этом пресловутом httpd сырой функционал,

Все там собирается.
Только microhttpd это отдельная либа а не часть OpenOCD.
Хотите чтоб openocd работал как http сервер, установите этот самый microhttpd.

В Debian это делается так
Код
# apt-get install libmicrohttpd4 libmicrohttpd-dev


PS: На сколько он "usefull" не знаю, никогда не пробовал.


--------------------
- А мораль отсюда такова: всякому овощу свое время. Или, хочешь, я это сформулирую попроще: никогда не думай, что ты иная, чем могла бы быть иначе, чем будучи иной в тех случаях, когда иначе нельзя не быть.
© Lewis Carroll. Alice's adventures in wonderland.
Go to the top of the page
 
+Quote Post
Doka
сообщение Jan 18 2009, 15:42
Сообщение #3


Electrical Engineer
******

Группа: СуперМодераторы
Сообщений: 2 163
Регистрация: 4-10-04
Пользователь №: 778



amw

у меня RHEL-based линукс.

в репозитариях этого microhttpd нет.
качал отсюда: http://www.gnu.org/software/libmicrohttpd/ ( ftp://ftp.gnu.org/gnu/libmicrohttpd/libmi...pd-0.3.1.tar.gz )
собрал. установил, но OpenOCD всеравно не собирается с опцией веб-сервера

где бы почитать про подробное конфигурирование OpenOCD. по идее должна быть опция при указания пути поиска хидеров этого libmicrohttpd


--------------------
Блог iDoka.ru
CV linkedin.com/in/iDoka
Sources github.com/iDoka


Never stop thinking...........................
Go to the top of the page
 
+Quote Post
amw
сообщение Jan 19 2009, 12:27
Сообщение #4


Знающий
****

Группа: Свой
Сообщений: 601
Регистрация: 22-09-05
Из: Kharkov
Пользователь №: 8 847



Цитата(Doka @ Jan 18 2009, 17:42) *
amw

у меня RHEL-based линукс.

в репозитариях этого microhttpd нет.
качал отсюда: http://www.gnu.org/software/libmicrohttpd/ ( ftp://ftp.gnu.org/gnu/libmicrohttpd/libmi...pd-0.3.1.tar.gz )
собрал. установил, но OpenOCD всеравно не собирается с опцией веб-сервера

где бы почитать про подробное конфигурирование OpenOCD. по идее должна быть опция при указания пути поиска хидеров этого libmicrohttpd

А куда установил?
Установите в /usr
Код
~/tmp/libmicrohttpd-0.3.1$ ./configure --prefix=/usr

Тогда соттветственно будет
/usr/include/microhttpd.h
/usr/lib/libmicrohttpd.a
/usr/lib/lib/libmicrohttpd.la
/usr/lib/lib/libmicrohttpd.so
/usr/lib/lib/libmicrohttpd.so.4
/usr/lib/lib/libmicrohttpd.so.4.0.3

И oocd их должен найти полюбому тогда.


--------------------
- А мораль отсюда такова: всякому овощу свое время. Или, хочешь, я это сформулирую попроще: никогда не думай, что ты иная, чем могла бы быть иначе, чем будучи иной в тех случаях, когда иначе нельзя не быть.
© Lewis Carroll. Alice's adventures in wonderland.
Go to the top of the page
 
+Quote Post
Doka
сообщение Apr 29 2009, 05:16
Сообщение #5


Electrical Engineer
******

Группа: СуперМодераторы
Сообщений: 2 163
Регистрация: 4-10-04
Пользователь №: 778



приходится вновь вернуться к теме:

начиная примерно с версии репозитария 1477 по текущую не получается собрать OpenOCD.
симптом один и тот же.

я использую дистрибутивный GCC 4.1.2, собранный так:

Код
$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)



ошибка все время одна и та же - несоответствие типов данных при ариф.операциях:

Код
$ ../configure -q -v --enable-release --enable-ioutil --enable-jlink
$ make all

make  all-recursive
make[1]: Entering directory `/hdd/500/data/soft/openocd/openocd.1524/build'
Making all in src
make[2]: Entering directory `/hdd/500/data/soft/openocd/openocd.1524/build/src'
Making all in helper
make[3]: Entering directory `/hdd/500/data/soft/openocd/openocd.1524/build/src/helper'
if gcc -DHAVE_CONFIG_H -I. -I../../../src/helper -I../.. -I../../../src  -I../../../src/target -I../../../src/server -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"    -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Werror -MT libhelper_a-binarybuffer.o -MD -MP -MF ".deps/libhelper_a-binarybuffer.Tpo" -c -o libhelper_a-binarybuffer.o `test -f 'binarybuffer.c' || echo '../../../src/helper/'`binarybuffer.c; \
        then mv -f ".deps/libhelper_a-binarybuffer.Tpo" ".deps/libhelper_a-binarybuffer.Po"; else rm -f ".deps/libhelper_a-binarybuffer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I../../../src/helper -I../.. -I../../../src  -I../../../src/target -I../../../src/server -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"    -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Werror -MT libhelper_a-options.o -MD -MP -MF ".deps/libhelper_a-options.Tpo" -c -o libhelper_a-options.o `test -f 'options.c' || echo '../../../src/helper/'`options.c; \
        then mv -f ".deps/libhelper_a-options.Tpo" ".deps/libhelper_a-options.Po"; else rm -f ".deps/libhelper_a-options.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I../../../src/helper -I../.. -I../../../src  -I../../../src/target -I../../../src/server -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"    -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Werror -MT libhelper_a-jim.o -MD -MP -MF ".deps/libhelper_a-jim.Tpo" -c -o libhelper_a-jim.o `test -f 'jim.c' || echo '../../../src/helper/'`jim.c; \
        then mv -f ".deps/libhelper_a-jim.Tpo" ".deps/libhelper_a-jim.Po"; else rm -f ".deps/libhelper_a-jim.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I../../../src/helper -I../.. -I../../../src  -I../../../src/target -I../../../src/server -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"    -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Werror -MT libhelper_a-jim-eventloop.o -MD -MP -MF ".deps/libhelper_a-jim-eventloop.Tpo" -c -o libhelper_a-jim-eventloop.o `test -f 'jim-eventloop.c' || echo '../../../src/helper/'`jim-eventloop.c; \
        then mv -f ".deps/libhelper_a-jim-eventloop.Tpo" ".deps/libhelper_a-jim-eventloop.Po"; else rm -f ".deps/libhelper_a-jim-eventloop.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I../../../src/helper -I../.. -I../../../src  -I../../../src/target -I../../../src/server -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"    -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Werror -MT libhelper_a-configuration.o -MD -MP -MF ".deps/libhelper_a-configuration.Tpo" -c -o libhelper_a-configuration.o `test -f 'configuration.c' || echo '../../../src/helper/'`configuration.c; \
        then mv -f ".deps/libhelper_a-configuration.Tpo" ".deps/libhelper_a-configuration.Po"; else rm -f ".deps/libhelper_a-configuration.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I../../../src/helper -I../.. -I../../../src  -I../../../src/target -I../../../src/server -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"    -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Werror -MT libhelper_a-log.o -MD -MP -MF ".deps/libhelper_a-log.Tpo" -c -o libhelper_a-log.o `test -f 'log.c' || echo '../../../src/helper/'`log.c; \
        then mv -f ".deps/libhelper_a-log.Tpo" ".deps/libhelper_a-log.Po"; else rm -f ".deps/libhelper_a-log.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I../../../src/helper -I../.. -I../../../src  -I../../../src/target -I../../../src/server -DPKGDATADIR=\"/usr/local/share/openocd\" -DPKGLIBDIR=\"/usr/local/lib/openocd\"    -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Werror -MT libhelper_a-command.o -MD -MP -MF ".deps/libhelper_a-command.Tpo" -c -o libhelper_a-command.o `test -f 'command.c' || echo '../../../src/helper/'`command.c; \
        then mv -f ".deps/libhelper_a-command.Tpo" ".deps/libhelper_a-command.Po"; else rm -f ".deps/libhelper_a-command.Tpo"; exit 1; fi
cc1: warnings being treated as errors
../../../src/helper/command.c: In function ‘handle_sleep_command’:
../../../src/helper/command.c:786: warning: comparison between signed and unsigned
make[3]: *** [libhelper_a-command.o] Error 1


пробовал писать в маил-лист разработчикам, но видимо не разобрался до конца с этой технологией - никакой реакции OpenOCD-комьюнити не последовало (5дней).


--------------------
Блог iDoka.ru
CV linkedin.com/in/iDoka
Sources github.com/iDoka


Never stop thinking...........................
Go to the top of the page
 
+Quote Post
Harbour
сообщение Apr 29 2009, 06:36
Сообщение #6


Местами Гуру
*****

Группа: Validating
Сообщений: 1 103
Регистрация: 5-12-04
Пользователь №: 1 323



-Werror убрать из мейкфала или привести, в указанной строчке, переменные к одному виду и будет счастье. в dev-list'е никто на такие вопросы отвечать не будет wink.gif
Go to the top of the page
 
+Quote Post
Сергей Борщ
сообщение Apr 29 2009, 06:37
Сообщение #7


Гуру
******

Группа: Модераторы
Сообщений: 8 455
Регистрация: 15-05-06
Из: Рига, Латвия
Пользователь №: 17 095



Цитата(Doka @ Apr 29 2009, 08:16) *
Код
../../../src/helper/command.c:786: warning: comparison between signed and unsigned
Исходник у вас есть. Что мешает посмотреть на строку 768 в src/helper/command.c, и если там сравнение знакового и беззнакового не содержит граблей, то просто добавить приведение типов одного из операндов?


--------------------
На любой вопрос даю любой ответ
"Write code that is guaranteed to work, not code that doesn’t seem to break" (C++ FAQ)
Go to the top of the page
 
+Quote Post
Doka
сообщение Apr 29 2009, 07:13
Сообщение #8


Electrical Engineer
******

Группа: СуперМодераторы
Сообщений: 2 163
Регистрация: 4-10-04
Пользователь №: 778



Сергей Борщ

1) ну, позанимавшись ранее, самодеятельностью схожей с предложенной вами, выяснил, что таких мест не одно и не два, и не в одном файле.
да и согласитесь, как-то не очень здорово при каждой новой ревизии (а их бывает несколько за день) лезть в файлы и снова править(/мерджить)

Код
../../../src/helper/command.c: In function ‘handle_sleep_command’:
../../../src/helper/command.c:786: warning: comparison between signed and unsigned


Код
   780          if (busy)
   781          {
   782                  busy_sleep(duration);
   783          } else
   784          {
   785                  long long then=timeval_ms();
       786              while ((timeval_ms()-then)<duration)
   787                  {
   788                          target_call_timer_callbacks_now();
   789                          usleep(1000);
   790                  }
   791          }
   792
   793          return ERROR_OK;


после исправления новая горсть ошибок:
Код
  ../../../src/helper/ioutil.c: In function ‘loadFile’:
../../../src/helper/ioutil.c:129: warning: comparison between signed and unsigned
../../../src/helper/ioutil.c: In function ‘handle_cp_command’:
../../../src/helper/ioutil.c:279: warning: comparison between signed and unsigned
../../../src/helper/ioutil.c: In function ‘handle_peek_command’:
../../../src/helper/ioutil.c:500: warning: cast from function call of type ‘long unsigned int’ to non-matching type ‘volatile int *’
../../../src/helper/ioutil.c: In function ‘handle_poke_command’:
../../../src/helper/ioutil.c:512: warning: cast from function call of type ‘long unsigned int’ to non-matching type ‘volatile int *’
make[3]: *** [libhelper_a-ioutil.o] Error 1


Код
cc1: warnings being treated as errors
../../../src/target/etm.c: In function ‘etmv1_analyze_trace’:
../../../src/target/etm.c:995: warning: comparison is always true due to limited range of data type


2) меня настораживает тот факт, что у других пользователей (судя по всему) всё работает..
вот и пытаюсь найти закономерность. толи от архитектуры зависит, толи от опций сборки GCC, толи в опциях вызова GCC надо что-то подправить, чтобы он игнорировал несоответствие типов..


--------------------
Блог iDoka.ru
CV linkedin.com/in/iDoka
Sources github.com/iDoka


Never stop thinking...........................
Go to the top of the page
 
+Quote Post
Harbour
сообщение Apr 29 2009, 09:15
Сообщение #9


Местами Гуру
*****

Группа: Validating
Сообщений: 1 103
Регистрация: 5-12-04
Пользователь №: 1 323



править нужно только эту строчку :

786 while ((timeval_ms()-then)<duration)

а не тип duration
Go to the top of the page
 
+Quote Post
Doka
сообщение Apr 29 2009, 09:31
Сообщение #10


Electrical Engineer
******

Группа: СуперМодераторы
Сообщений: 2 163
Регистрация: 4-10-04
Пользователь №: 778



Harbour
ну, для конкретики, исправлено было так:
Код
  785                  unsigned long long then=timeval_ms();



но тема не о том как пропатчить транк OpenOCD, а о том что я могу делать не так/чего не хватает системе, если у остальных пользователей всё собирается, а у меня - нет.


--------------------
Блог iDoka.ru
CV linkedin.com/in/iDoka
Sources github.com/iDoka


Never stop thinking...........................
Go to the top of the page
 
+Quote Post
Harbour
сообщение Apr 29 2009, 10:02
Сообщение #11


Местами Гуру
*****

Группа: Validating
Сообщений: 1 103
Регистрация: 5-12-04
Пользователь №: 1 323



Sorry, невозможно помочь человеку, который слушает только сам себя ;(
Go to the top of the page
 
+Quote Post
Doka
сообщение Apr 29 2009, 10:24
Сообщение #12


Electrical Engineer
******

Группа: СуперМодераторы
Сообщений: 2 163
Регистрация: 4-10-04
Пользователь №: 778



Цитата
править нужно только эту строчку

Цитата(Harbour @ Apr 29 2009, 14:02) *
Sorry, невозможно помочь человеку, который слушает только сам себя ;(

задам вопрос по-иному:
какой сакральный смысл в правке кода, который успешно собирается у участников OpenOCD-community?


--------------------
Блог iDoka.ru
CV linkedin.com/in/iDoka
Sources github.com/iDoka


Never stop thinking...........................
Go to the top of the page
 
+Quote Post
Harbour
сообщение Apr 29 2009, 10:30
Сообщение #13


Местами Гуру
*****

Группа: Validating
Сообщений: 1 103
Регистрация: 5-12-04
Пользователь №: 1 323



а какой сакральный смысл постоянных изменений своей develop системы под svn repo какой-нибудь программы, в частности ocd ? бум менять/искать несуществующие проблемы в системе под каждый новый несобирающийся commit ? Интересная, вообще, мысль патчить именно gcc а не ocd ...
Go to the top of the page
 
+Quote Post
Doka
сообщение Apr 29 2009, 10:50
Сообщение #14


Electrical Engineer
******

Группа: СуперМодераторы
Сообщений: 2 163
Регистрация: 4-10-04
Пользователь №: 778



у меня не работает OpenOCD c jlink
из чтения спаркфан-форума у меня сложилось впечатление, что на практике никому не удалось подружить OpenOCD и jlink.
из чтения списка рассылки видно, что патчи и улучшения по части jlink.идут постоянно - отсюда и необходимость иметь актуальную сборку текущего транка


--------------------
Блог iDoka.ru
CV linkedin.com/in/iDoka
Sources github.com/iDoka


Never stop thinking...........................
Go to the top of the page
 
+Quote Post
Harbour
сообщение Apr 29 2009, 11:33
Сообщение #15


Местами Гуру
*****

Группа: Validating
Сообщений: 1 103
Регистрация: 5-12-04
Пользователь №: 1 323



вряд ли кто-то тестит/юзает trunk на x86-64 и 4.x gcc, отсюда мелкие нестыковки - вполне нормально предполагается что такой человек в состоянии эти мелочи порешать. как уже было сказано есть несколько путей решения "проблемы" :

1. убрать -Werror или добавить -Wno-sign-compare
2. пропатчить ocd в указанной строке
3. откатиться на gcc-3.x/x86, юзаемых большинством ocd-пользователей
Go to the top of the page
 
+Quote Post

2 страниц V   1 2 >
Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 20th July 2025 - 17:13
Рейтинг@Mail.ru


Страница сгенерированна за 0.01484 секунд с 7
ELECTRONIX ©2004-2016