xzvf Posted June 3, 2007 at 08:37 AM Posted June 3, 2007 at 08:37 AM Такая ситуация c sgconf #./build deps:1: *** missing separator. Stop. помогите плз.
Колян Posted June 3, 2007 at 09:34 AM Posted June 3, 2007 at 09:34 AM Обнови gmake. Какая ось? Если фря, то из портов.
xzvf Posted June 3, 2007 at 10:33 AM Author Posted June 3, 2007 at 10:33 AM 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.
Колян Posted June 3, 2007 at 07:51 PM Posted June 3, 2007 at 07:51 PM Возможно стоит, но не та версия. У меня таке же было, поставь 1.95.8 или как-то так, и все должно скомпилиться.
egor2fsys Posted June 4, 2007 at 04:14 AM Posted June 4, 2007 at 04:14 AM Удалить каталог с сорцами и еще раз распаковать из архива и попытаться заново собрать.
xzvf Posted June 4, 2007 at 06:58 AM Author Posted June 4, 2007 at 06:58 AM expat 2.0 удалил каталог, роспаковал -> -> ./build gmake: *** No rule to make target `-lgnugetopt', needed by `sgconf'. Stop.
napTu Posted December 13, 2007 at 01:46 PM Posted December 13, 2007 at 01:46 PM Подскажите где её искать: main.cpp:28: getopt.h: No such file or directory gmake: *** [main.o] Error 1 фря4.10 старая вресия sgconf компилилась, и новый stg2.403 компилится.
napTu Posted March 3, 2008 at 07:25 PM Posted March 3, 2008 at 07:25 PM так и не могу побороть 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
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