#1
|
|||
|
|||
сборка под Debian 7
Evgeny Mikheev написал(а) к All в Aug 17 17:01:54 по местному времени:
Привет, All! Попытался я тут собрать эхотаг под Debian. Версия сырцов - husky-all-1.9-source-20170406.tgz, взяты с https://sourceforge.net/projects/husky Неудачно. Пытался делать все по азбуке - huskylib, smapi, fidoconf... Есть непонимание идеологии и вопросы касаемо четкой последовательности в процессе по сборке. 1. Из huskybse взял huskymak.cfg.debian и переименовав его в huskymak.cfg скопировал на уровень выше. 2. Собрал и установил huskylib 3. Собрал и установил smapi 4. А вот fidoconf у меня собираться не захотел. /home/fido/husky/fidoconf# make gcc -Wall -pedantic -Wno-long-long -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -O3 -DUNIX -DCFGDIR=\"~/fido/etc/husky\" -DPATН_DELIM=\'/\' -c -fPIC -Wall -ggdb -DUNIX -I.. -Wno-char-subscripts -Ifidoconf -I/usr/include src/common.c In file included from /usr/local/include/smapi/msgapi.h:28:0, from src/common.c:78: /usr/local/include/smapi/typedefs.h:42:23: error: conflicting types for ?dword? In file included from /usr/include/huskylib/compiler.h:1162:0, from src/common.c:45: /usr/include/huskylib/UNIX.h:198:22: note: previous declaration of ?dword? was here In file included from /usr/local/include/smapi/msgapi.h:28:0, from src/common.c:78: /usr/local/include/smapi/typedefs.h:43:21: error: conflicting types for ?sdword? In file included from /usr/include/huskylib/compiler.h:1162:0, from src/common.c:45: /usr/include/huskylib/UNIX.h:199:22: note: previous declaration of ?sdword? was here In file included from /usr/local/include/smapi/msgapi.h:29:0, from src/common.c:78: /usr/local/include/smapi/stamp.h:34:8: error: redefinition of ?struct _stamp? In file included from /usr/include/huskylib/huskylib.h:44:0, from src/common.c:71: /usr/include/huskylib/cvtdate.h:42:8: note: originally defined here In file included from /usr/local/include/smapi/msgapi.h:29:0, from src/common.c:78: /usr/local/include/smapi/stamp.h:53:8: error: redefinition of ?struct dosst? In file included from /usr/include/huskylib/huskylib.h:44:0, from src/common.c:71: /usr/include/huskylib/cvtdate.h:61:8: note: originally defined here In file included from /usr/local/include/smapi/msgapi.h:29:0, from src/common.c:78: /usr/local/include/smapi/stamp.h:61:7: error: redefinition of ?union stamp_combo? In file included from /usr/include/huskylib/huskylib.h:44:0, from src/common.c:71: /usr/include/huskylib/cvtdate.h:69:7: note: originally defined here In file included from /usr/local/include/smapi/msgapi.h:29:0, from src/common.c:78: /usr/local/include/smapi/stamp.h:68:27: error: conflicting types for ?SCOMBO? In file included from /usr/include/huskylib/huskylib.h:44:0, from src/common.c:71: /usr/include/huskylib/cvtdate.h:76:27: note: previous declaration of ?SCOMBO? was here In file included from src/common.c:78:0: /usr/local/include/smapi/msgapi.h:112:8: error: redefinition of ?struct _netaddr? In file included from /usr/include/huskylib/huskylib.h:48:0, from src/common.c:71: /usr/include/huskylib/ftnaddr.h:39:16: note: originally defined here In file included from src/common.c:78:0: /usr/local/include/smapi/msgapi.h:413:26: error: conflicting types for ?GenMsgId? In file included from src/common.c:71:0: /usr/include/huskylib/huskylib.h:119:25: note: previous declaration of ?GenMsgId? was here In file included from src/common.c:78:0: /usr/local/include/smapi/msgapi.h:414:26: error: conflicting types for ?GenMsgIdEx? In file included from src/common.c:71:0: /usr/include/huskylib/huskylib.h:120:25: note: previous declaration of ?GenMsgIdEx? was here make: * [common.o] Ошибка 1 Как вылечить? Вроде тут что-то с типами не то? Как должна правильно осуществляться сборка под конкретную платформу? В документации видел комманду make -f makefile.lnx. В папке fidoconf/make есть такой файл, а так же в папке fidoconf есть файл huskymak.cfg для чего все это? uname -a Linux backup 3.2.0-4-amd64 #1 SMP Debian 3.2.89-2 x86_64 GNU/Linux С наилучшими пожеланиями, Evgeny. --- -Пиши, старик, пиши! Мы тебя не покинем. |