The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"Проблема с компиляцией Radiusa"
Отправлено analyzer, 14-Мрт-06 13:45 
Компилирую Radius с gcc 4.0.2 20050901 (prerelease) (SUSE Linux)
выдает такие warnings и errors

linux:/home/fastradius/FastRadius # make EXT=linux ORACLE_HOME=/home/oracle/oracle/product/10.2.0/client_1  -f makefile clean all
rm -f ./linux/main.o ./linux/offline.o ./linux/snmputil.o ./linux/sig.o ./linux/statistic.o ./linux/foracle.o ./linux/nasutil.o ./linux/filters.o ./linux/iputil.o ./linux/strutil.o ./linux/memutil.o ./linux/lists.o ./linux/queue.o ./linux/thrhandler.o ./linux/thrstart.o ./linux/thrstop.o ./linux/log.o
rm -f ./fastradius ./fastradius.pdb ./vc60.pdb
/usr/bin/gcc -Dlinux -c  ./main.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/main.o
./main.c: In function 'main':
./main.c:218: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
/usr/bin/gcc -Dlinux -c  ./offline.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/offline.o
/usr/bin/gcc -Dlinux -c  ./snmputil.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/snmputil.o
/usr/bin/gcc -Dlinux -c  ./sig.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/sig.o
./sig.c: In function 'sig_fatal':
./sig.c:95: warning: incompatible implicit declaration of built-in function 'exit'
/usr/bin/gcc -Dlinux -c  ./statistic.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/statistic.o
/usr/bin/gcc -Dlinux -c  ./foracle.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/foracle.o
./foracle.c: In function 'ora_set_role':
./foracle.c:292: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c: In function 'ora_get_db_date':
./foracle.c:561: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c: In function 'ora_get_client_list':
./foracle.c:667: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c: In function 'ora_get_dict_list':
./foracle.c:924: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c:928: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c:936: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c:937: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c:938: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c:939: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c:940: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c:941: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c:942: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c:944: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c:949: warning: pointer targets in passing argument 4 of 'OCIBindByName' differ in signedness
./foracle.c: In function 'ora_execute':
./foracle.c:1088: warning: pointer targets in passing argument 4 of 'OCIErrorGet' differ in signedness
./foracle.c: In function 'ora_auth_user':
./foracle.c:1187: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
./foracle.c:1199: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c: In function 'ora_get_users':
./foracle.c:1311: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
./foracle.c:1328: warning: pointer targets in passing argument 3 of 'OCIStmtPrepare' differ in signedness
/usr/bin/gcc -Dlinux -c  ./nasutil.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/nasutil.o
./nasutil.c: In function 'parse_request':
./nasutil.c:535: warning: pointer targets in assignment differ in signedness
./nasutil.c: In function 'build_package':
./nasutil.c:913: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
./nasutil.c: In function 'kill_session':
./nasutil.c:1384: warning: pointer targets in assignment differ in signedness
./nasutil.c:1441: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
./nasutil.c: In function 'read_attrs':
./nasutil.c:1597: warning: pointer targets in assignment differ in signedness
./nasutil.c: In function 'accterr':
./nasutil.c:1713: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness
./nasutil.c: In function 'build_adm_request':
./nasutil.c:2134: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/bin/gcc -Dlinux -c  ./filters.c -I./ -I/usr/include -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/public -I/home/oracle/oracle/product/10.2.0/client_1/rdbms/demo -I/usr/local/include/net-snmp -o ./linux/filters.o
./filters.c: In function '_ipAddressStringToValue':
./filters.c:187: error: invalid storage class for function '_defaultNetmask'
./filters.c: In function '_stringToNode':
./filters.c:247: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness
./filters.c:249: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness
./filters.c:255: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
./filters.c: In function '_parseIpxFilter':
./filters.c:336: error: invalid storage class for function '_stringToNode'
./filters.c: In function '_parseIpFilter':
./filters.c:486: error: invalid storage class for function '_isAllDigit'
./filters.c:487: error: invalid storage class for function '_ipAddressStringToValue'
./filters.c: In function '_parseGenericFilter':
./filters.c:642: error: invalid storage class for function '_a2octet'
./filters.c: In function 'filterBinary':
./filters.c:754: error: invalid storage class for function '_parseIpFilter'
./filters.c:755: error: invalid storage class for function '_parseGenericFilter'
./filters.c:756: error: invalid storage class for function '_parseIpxFilter'
make: *** [linux/filters.o] Error 1

Очень интересует ошибка "invalid storage class for function"...
Функции на которые ругается компилятор написаны правильно..на других системах компилировались.
Если кто знает в чем трабл подскажите плз.
я думаю проблема в компиляторе...подскажите как можно проапдейтить gcc,а если ставить новую версию,то нужно ли удалять старую.

 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру