Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Dandy Dale                           2:5020/2151.1  15 Oct 2001  09:12:18
 To : All
 Subject : diskpoll под FreeBSD 4.3
 -------------------------------------------------------------------------------- 
 
 
 Люди! Помогите скомпилить сабж!  gcc v 2.95.3, diskpoll v0.1.4. При попытки его 
 собрать он вываливается с такой мессагой:
 =======================================================
 spoke[/usr/local/src/husky/diskpoll]# gmake all
 g++ -c -Wall -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC
 -DINCS_NEED_DOT_H -DNOEXCEPTIONS -DUNIX -DNOSEMAPHORES -Isrc
 -DCFGDIR=\"/var/ftn/etc\" src/main.cc
 src/main.cc: In function `int main(int,char **)':
 src/main.cc:144: `optind' undeclared (first use this function)
 src/main.cc:144: (Each undeclared identifier is reported only once
 src/main.cc:144: for each function it appears in.)
 src/main.cc:144: `opterr' undeclared (first use this function)
 src/main.cc:145: implicit declaration of function `int getopt(...)'
 src/main.cc:150: `optopt' undeclared (first use this function)
 src/main.cc:164: `optarg' undeclared (first use this function)
 src/main.cc:162: warning: `int flav' might be used uninitialized in this
 function
 src/main.cc:162: warning: `char * cp' might be used uninitialized in this
 function
 gmake: *** [main.o] Ошибка 1
 =======================================================
 В README написано:
 If you port to another Unix than FreeBSD or Linux, you might have to do some
 adaptions in envdeps.h.
 
 Дык вот вопрос: что надо исправить в этом самом envdeps.h?
         Пусть твоя тропа жизни будет долгой.
               Быть может еще встретимся? кто знает...
                                             Удачи в пути!  ../DD
 
 ... Компьютер без Windows как рыбы без велосипеда!
 --- ** 2:5020/2151 ** Spoke ** (095)194-2045 ** 01:30-05:30 ** Freq only ** ---
  * Origin: Dandy Dale * RealName-Feodorov Yuriy(Фёдоров Юрий) (2:5020/2151.1)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 diskpoll под FreeBSD 4.3   Dandy Dale   15 Oct 2001 09:12:18 
 diskpoll под FreeBSD 4.3   Oleg Yevdokimov   16 Oct 2001 18:08:34 
Архивное /ru.unix.bsd/38333bca7034.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional