xzvf 0 Posted 2007-06-03 08:37:24 Share Posted 2007-06-03 08:37:24 Такая ситуация c sgconf #./build deps:1: *** missing separator. Stop. помогите плз. Link to post Share on other sites
Колян 2 Posted 2007-06-03 09:34:57 Share Posted 2007-06-03 09:34:57 Обнови gmake. Какая ось? Если фря, то из портов. Link to post Share on other sites
xzvf 0 Posted 2007-06-03 10:33:57 Author Share Posted 2007-06-03 10:33:57 BSD 6.2 Обновил gmake проблема таже ../Makefile.in:74: deps: No such file or directory g++ -g -Wall -I ../../include/ -I ./ -DFREE_BSD5 -c list.cpp g++ -g -Wall -I ../../include/ -I ./ -DFREE_BSD5 -c netunit.cpp g++ -g -Wall -I ../../include/ -I ./ -DFREE_BSD5 -c parser.cpp g++ -g -Wall -I ../../include/ -I ./ -DFREE_BSD5 -c servconf.cpp servconf.cpp: In function `int AnsRecv(void*, SLIST*)': servconf.cpp:38: warning: int format, XML_Size arg (arg 3) ar rc libsrvconf.a list.o netunit.o parser.o servconf.o ranlib libsrvconf.a cp servconf.h netunit.h list.h ../../include/ cp libsrvconf.a ../../lib/ deps:1: *** missing separator. Stop. Link to post Share on other sites
Max 0 Posted 2007-06-03 16:08:22 Share Posted 2007-06-03 16:08:22 стоит ли expat? Link to post Share on other sites
Колян 2 Posted 2007-06-03 19:51:05 Share Posted 2007-06-03 19:51:05 Возможно стоит, но не та версия. У меня таке же было, поставь 1.95.8 или как-то так, и все должно скомпилиться. Link to post Share on other sites
egor2fsys 5 Posted 2007-06-04 04:14:02 Share Posted 2007-06-04 04:14:02 Удалить каталог с сорцами и еще раз распаковать из архива и попытаться заново собрать. Link to post Share on other sites
xzvf 0 Posted 2007-06-04 06:58:58 Author Share Posted 2007-06-04 06:58:58 expat 2.0 удалил каталог, роспаковал -> -> ./build gmake: *** No rule to make target `-lgnugetopt', needed by `sgconf'. Stop. Link to post Share on other sites
napTu 4 Posted 2007-12-13 13:46:43 Share Posted 2007-12-13 13:46:43 Подскажите где её искать: main.cpp:28: getopt.h: No such file or directory gmake: *** [main.o] Error 1 фря4.10 старая вресия sgconf компилилась, и новый stg2.403 компилится. Link to post Share on other sites
napTu 4 Posted 2008-03-03 19:25:55 Share Posted 2008-03-03 19:25:55 так и не могу побороть sgconf. Пожалуйста, подскажите, как? (стг2404, фря4.10, gcc 3.4.6) ситуёвина такая: ... g++ -c main.cpp -O2 -Wall -I /usr/home/napTu/stg-2.404.9.7-wo_netflow_patch/projects/sgconf_xml/../../include -DFREE_BSD In file included from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.6/include/c++//i386-portbld-freebsd4.10/bits/gthr-default.h:44, from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.6/include/c++//i386-portbld-freebsd4.10/bits/gthr.h:96, from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.6/include/c++//i386-portbld-freebsd4.10/bits/c++io.h:37, from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.6/include/c++/iosfwd:47, from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.6/include/c++/bits/stl_algobase.h:70, from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.6/include/c++/bits/char_traits.h:46, from /usr/local/lib/gcc/i386-portbld-freebsd4.10/3.4.6/include/c++/string:47, from request.h:33, from main.cpp:36: /usr/include/unistd.h:112: error: declaration of C function `int getopt(int, char* const*, const char*)' conflicts with /usr/local/include/getopt.h:115: error: previous declaration `int getopt()' here gmake: *** [main.o] Ошибка 1 Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now