|
Компьютерный форум OSzone.net » Linux и FreeBSD » Программное обеспечение Linux и FreeBSD » Ошибка компиляции ifmail |
|
Ошибка компиляции ifmail
|
![]() Новый участник Сообщения: 10 |
Всех с наступившими и наступающими)))
Люди помогите, plz, скомпилить ifmail 2.15 (или 2.14) )на Слакваре 10 для работы с Фидо. CONFIG такой: COPYRIGHT = "Eugene G. Crosser, 1993-1998" VERSION = "2.15" CONFIGFILE = "/etc/ifmail/config" DEBUGFILE = "/var/log/ifmail/ifdebug" LOGFILE = "/var/log/ifmail/iflog" MAILLOG = LOG_LOCAL0 NEWSLOG = LOG_LOCAL0 CICOLOG = LOG_LOCAL0 LOCKDIR = "/var/spool/uucp" PUBDIR = "/var/spool/uucppublic" NEWSSPOOL = "/var/spool/news" OPTS = -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H \ -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES \ -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DHAS_TCP \ -DFORCEINTL -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_BSY \ -DSLAVE_SENDS_NAK_TOO -DNEED_FORK -DHAS_BSD_SIGNALS \ -DHAS_BSD_DB -DINT32=long -DINT16=short BINDIR = /usr/lib/ifmail OWNER = ifmail GROUP = uucp MODE = 0711 SMODE = 4711 INSTALL = install RANLIB = ranlib SHELL = /bin/sh ECHO = echo -e CC = gcc YACC = yacc LEX = lex AWK = awk TAR = tar CFLAGS = -g -O2 -Wall LDFLAGS = LIBS = -lndbm INCLUDES = -I${INCDIR} NEEDED = Ошибка вываливается следующая: In file included from lutil.c:7: /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>." lutil.c:130: error: parse error before "va_dcl" lutil.c:131: error: syntax error before '{' token lutil.c:138: warning: type defaults to `int' in declaration of `va_start' lutil.c:138: warning: parameter names (without types) in function declaration lutil.c:138: warning: data definition has no type or storage class lutil.c:139: warning: type defaults to `int' in declaration of `fmt' lutil.c:139: error: conflicting types for `fmt' lutil.c:133: error: previous declaration of `fmt' lutil.c:139: warning: implicit declaration of function `va_arg' lutil.c:139: error: `args' undeclared here (not in a function) lutil.c:139: error: parse error before "char" lutil.c:142: warning: type defaults to `int' in declaration of `fflush' lutil.c:142: warning: parameter names (without types) in function declaration lutil.c:142: warning: data definition has no type or storage class lutil.c:143: error: parse error before '}' token lutil.c:148: warning: type defaults to `int' in declaration of `syslog_opened' lutil.c:148: error: redefinition of `syslog_opened' lutil.c:17: error: `syslog_opened' previously defined here lutil.c:148: warning: data definition has no type or storage class lutil.c:149: error: parse error before '}' token lutil.c:150: error: parse error before numeric constant lutil.c:150: warning: type defaults to `int' in declarati накатал следующийon of `vsyslog' lutil.c:150: error: conflicting types for `vsyslog' /usr/include/sys/syslog.h:188: error: previous declaration of `vsyslog' lutil.c:150: warning: data definition has no type or storage class lutil.c:165: warning: type defaults to `int' in declaration of `va_end' lutil.c:165: warning: parameter names (without types) in function declaration lutil.c:165: warning: data definition has no type or storage class lutil.c:166: error: parse error before "return" lutil.c:170: error: parse error before "va_dcl" lutil.c:171: error: syntax error before '{' token lutil.c:173: error: conflicting types for `fmt' lutil.c:139: error: previous declaration of `fmt' lutil.c:178: warning: type defaults to `int' in declaration of `va_start' lutil.c:178: warning: parameter names (without types) in function declaration lutil.c:178: warning: data definition has no type or storage class lutil.c:179: warning: type defaults to `int' in declaration of `fmt' lutil.c:179: error: conflicting types for `fmt' lutil.c:173: error: previous declaration of `fmt' lutil.c:179: error: `args' undeclared here (not in a function) lutil.c:179: error: parse error before "char" lutil.c:182: warning: type defaults to `int' in declaration of `fflush' lutil.c:182: warning: parameter names (without types) in function declaration lutil.c:182: warning: data definition has no type or storage class lutil.c:183: error: parse error before '}' token lutil.c:188: warning: type defaults to `int' in declaration of `syslog_opened' lutil.c:188: error: redefinition of `syslog_opened' lutil.c:148: error: `syslog_opened' previously defined here lutil.c:188: warning: data definition has no type or storage class lutil.c:189: error: parse error before '}' token lutil.c:190: error: parse error before numeric constant lutil.c:190: warning: type defaults to `int' in declaration of `vsyslog' lutil.c:190: warning: data definition has no type or storage class lutil.c:205: warning: type defaults to `int' in declaration of `va_end' lutil.c:205: warning: parameter names (without types) in function declaration lutil.c:205: warning: data definition has no type or storage class lutil.c:206: error: parse error before "return" lutil.c:210: error: parse error before "va_dcl" lutil.c:211: error: syntax error before '{' token lutil.c:214: error: conflicting types for `fmt' lutil.c:179: error: previous declaration of `fmt' lutil.c:216: warning: type defaults to `int' in declaration of `va_start' lutil.c:216: warning: parameter names (without types) in function declaration lutil.c:216: warning: data definition has no type or storage class lutil.c:217: warning: type defaults to `int' in declaration of `level' lutil.c:217: error: conflicting types for `level' lutil.c:213: error: previous declaration of `level' lutil.c:217: error: `args' undeclared here (not in a function) lutil.c:217: error: parse error before "unsigned" lutil.c:218: warning: type defaults to `int' in declaration of `fmt' lutil.c:218: error: conflicting types for `fmt' lutil.c:214: error: previous declaration of `fmt' lutil.c:218: error: `args' undeclared here (not in a function) lutil.c:218: error: parse error before "char" lutil.c:222: warning: type defaults to `int' in declaration of `fflush' lutil.c:222: warning: parameter names (without types) in function declaration lutil.c:222: warning: data definition has no type or storage class lutil.c:223: error: parse error before '}' token lutil.c:224: warning: type defaults to `int' in declaration of `va_end' lutil.c:224: warning: parameter names (without types) in function declaration lutil.c:224: warning: data definition has no type or storage class lutil.c:225: error: parse error before "return" lutil.c:17: warning: `syslog_opened' defined but not used make[1]: *** [lutil.o] Ошибка 1 make: *** [all] Ошибка 2 Спасибо. |
|
Отправлено: 14:41, 07-01-2005 |
info man howto Сообщения: 6958
|
Профиль | Сайт | Отправить PM | Цитировать А у Вас какая версия gcc стоит ?
|
------- Отправлено: 04:01, 08-01-2005 | #2 |
Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети. Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля. |
![]() Новый участник Сообщения: 10
|
Профиль | Отправить PM | Цитировать gcc --version
gcc (GCC) 3.3.4 |
Отправлено: 14:49, 08-01-2005 | #3 |
just mar Сообщения: 3904
|
Профиль | Отправить PM | Цитировать может попробовать сделать, как сказано?
|
Отправлено: 15:19, 08-01-2005 | #4 |
![]() Новый участник Сообщения: 10
|
Профиль | Отправить PM | Цитировать Если можно поподробнее.
Файл stdarg.h есть, лежит в /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/install-tools/include/stdarg.h /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include/stdarg.h /usr/include/stdarg.h в lutil.c не упоминается. Подскажите, что делать, plz... |
|
Отправлено: 22:18, 08-01-2005 | #5 |
just mar Сообщения: 3904
|
Профиль | Отправить PM | Цитировать я не видела кода (и видеть не хочу ;)), но почему-то надо вместо varargs.h подключать stdarg.h. Почитайте readme, посмотрите код обоих h-файлов и поковыряетесь в сети, может быть станет понятно почему. В любом случае, если Вы на 7-ой строке lutil.c заремите подключение первого файла, допишите подключение второго и попробуете скомпилировать, хуже не будет :)
|
Отправлено: 22:30, 08-01-2005 | #6 |
![]() Новый участник Сообщения: 10
|
Профиль | Отправить PM | Цитировать Спасиб за совет. Попробую.
|
Отправлено: 19:54, 09-01-2005 | #7 |
![]() |
Участник сейчас на форуме |
![]() |
Участник вне форума |
![]() |
Автор темы |
![]() |
Сообщение прикреплено |
| |||||
Название темы | Автор | Информация о форуме | Ответов | Последнее сообщение | |
[решено] Ошибка компиляции драйвера для AverTV | shisik | Железо в Linux | 6 | 04-10-2009 17:38 | |
C/C++ - При компиляции программы выскакивает ошибка | m.s.dos | Программирование и базы данных | 1 | 31-05-2009 16:10 | |
FreeBSD - ошибка компиляции ядра 7.1 | kirimey | Общий по FreeBSD | 7 | 02-05-2009 15:48 | |
Софт/IDE - Помогите новичку, ошибка при компиляции. | KEKS-KEKS | Программирование и базы данных | 6 | 16-07-2007 22:46 | |
Ошибка при компиляции ядра | Junior Penguin | Общий по Linux | 22 | 21-11-2005 11:01 |
|