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


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Yaroslav Tarassenko                  2:463/1002     11 May 2004  22:45:00
 To : All
 Subject : проблемы компиляции
 -------------------------------------------------------------------------------- 
 
 О великолепный All!
 
 Господа, подскажите, пожалуйста, в каком направлении рыть:
 
 - пытаюсь скомпилировать ifmail, получаю:
 
 ~~~ Let the file begin ~~~
 for d in iflib ifgate ifcico; do (cd $d && echo $d && make all) || exit; done;
 iflib
 make[1]: Entering directory `/usr/src/fido2/ifmail/iflib'
 
 skip...
 
 -DSHELL=\"/bin/sh\" -DBI_HYDRA -c crc.c
 expect 6 shift/reduce conflicts
 bison -y parsedate.y
 conflicts:  6 shift/reduce
 mv y.tab.c parsedate.c
 expect 4 warnings compiling parsedate.c
 gcc -O2 -Wall -funsigned-char -mcpu=pentium -I.
 -DDEBUGFILE=\""/var/log/ftn/ifdebug"\" -DLOGFILE=\""/var/log/ftn/iflog"\"
 -DCONFIGFILE=\""/etc/ftn/ifmail/"\" -DLOCKDIR=\""/var/lock/serial"\"
 -DPUBDIR=\""/big/luxor"\" -DMAILLOG= -DNEWSLOG= -DCICOLOG= -DHAS_STATFS
 -DSTATFS_IN__H -DHAS_NDBM_H -DHAS_BSD_SIGNALS -DHAS_SETSID -DDONT_HAVE_TM_GTOFF 
 -DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H
 -DFORCEINTL -DNEED_UUCPFROM -DNEED_BSY -DSLAVE_SENDS_NAK_TOO -DNEED_FORK
 -DINT32=long -DINT16=short -DHAS_FILLOG -DNO_RECEIVED -DNO_FROM -DSHOW_SPEED
 -DT_LINE -DEXT_FREQ -DHAVE_TXY -DSECURE_LOG -DEMSI_SIZE -DRM_SKIP -DPKT_PW
 -DBELEIVE_ZFIN=1 -DlOCALE=\"uk_UA.KOI8-U\" -DFTN_MSGID -DIFCS -DFBOX -DHIDDENS
 -DDENY_BAD_HEADERS -DHAS_FILE_ATTACH -DATTACH_TOUPPER -DTRACK_ATTACHES
 -DKILL_TRANSIT_ATTACHES -DAMIGADOS_4D_OUTBOUND -DFIX_FUTURE_DATE
 -DSHELL=\"/bin/sh\" -DBI_HYDRA -c parsedate.c
 /usr/share/bison/bison.simple: In function `date_parse':
 /usr/share/bison/bison.simple:573: warning: implicit declaration of function
 `date_lex'
 parsedate.y: In function `Convert':
 parsedate.y:532: dereferencing pointer to incomplete type
 parsedate.y: In function `DSTcorrect':
 parsedate.y:546: dereferencing pointer to incomplete type
 parsedate.y:547: dereferencing pointer to incomplete type
 parsedate.y: In function `RelativeMonth':
 parsedate.y:562: dereferencing pointer to incomplete type
 parsedate.y:562: dereferencing pointer to incomplete type
 parsedate.y:566: dereferencing pointer to incomplete type
 parsedate.y:567: dereferencing pointer to incomplete type
 parsedate.y:567: dereferencing pointer to incomplete type
 parsedate.y:567: dereferencing pointer to incomplete type
 parsedate.y: In function `LookupWord':
 parsedate.y:596: warning: implicit declaration of function `strcmp'
 parsedate.y: At top level:
 parsedate.y:666: warning: `date_lex' was declared implicitly `extern' and later 
 `static'
 /usr/share/bison/bison.simple:573: warning: previous declaration of `date_lex'
 parsedate.y: In function `parsedate':
 parsedate.y:744: dereferencing pointer to incomplete type
 parsedate.y:745: dereferencing pointer to incomplete type
 parsedate.y:746: dereferencing pointer to incomplete type
 parsedate.y:771: dereferencing pointer to incomplete type
 parsedate.y:771: dereferencing pointer to incomplete type
 parsedate.y:771: dereferencing pointer to incomplete type
 make[1]: *** [parsedate.o] Error 1
 make[1]: Leaving directory `/usr/src/fido2/ifmail/iflib'
 make: *** [all] Error 2
 ~~~ This is the end, beautiful friend ~~~
 
 - компилирую mgetty и получаю вроде бы подобную проблему:
 ~~~ Let the file begin ~~~
 gcc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o
 mg_m_init.o modem.o faxrec.o ring.o faxlib.o faxsend.o faxrecp.o class1.o
 class1lib.o faxhng.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o config.o
 conf_mg.o do_stat.o
 locks.o: In function `do_makelock':
 locks.o(.text+0x49): the use of `mktemp' is dangerous, better use `mkstemp'
 mgetty.o: In function `main':
 mgetty.o(.text+0xb0d): undefined reference to `is_time_now'
 mgetty.o(.text+0x10dd): undefined reference to `is_time_now'
 config.o: In function `get_config':
 config.o(.text+0x648): undefined reference to `is_time_now'
 collect2: ld returned 1 exit status
 make: *** [mgetty] Error 1
 ~~~ This is the end, beautiful friend ~~~
 
 Тоже что-то связанное со временем...
 
 зы. О себе: AltLinux Junior 2.2, установлены gcc 2.6 и 3.2. Одним словом, хелп.
 
 Прощай, о All. В конце я уничтожу все, что создал.
 ... Hе тягайся с тем, у кого нет ничего.
 --- :::[СумЛеКотПревВСоб]::[BeOS alive!]::[m100,r380s]::[Ambient]::[Coffee]:::
  * Origin:  (2:463/1002)
 
 

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

 Тема:    Автор:    Дата:  
 проблемы компиляции   Yaroslav Tarassenko   11 May 2004 22:45:00 
 проблемы компиляции   Oleg Lobachev   12 May 2004 00:41:54 
 Re: проблемы компиляции   Kirill Frolov   12 May 2004 13:38:12 
 Re: проблемы компиляции   Andrey Slusar   13 May 2004 00:55:29 
 Re: проблемы компиляции   Andrew Dolgov   13 May 2004 12:07:21 
 Re: проблемы компиляции   Edward Yudanov   13 May 2004 08:32:22 
 Re: проблемы компиляции   Alexander V Butenko   12 May 2004 11:03:12 
Архивное /ru.linux/222740a12f59.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional