Скачал тут поисковой скрипт для web (http://www.aspseek.org/)
У меня стоит слака 10, gcc 3.3.4(jn nelf;t) и mysql тоже от туда...
Но при компиляции поисковик пишет ошибку:
Making all in src
make[1]: Entering directory `/usr/src/aspseek-1.2.10/src'
Making all in mysql
make[2]: Entering directory `/usr/src/aspseek-1.2.10/src/mysql'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include/mysql -g -O2 -D_REENTRANT -c mysqldb.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I/usr/include/mysql -g -O2 -D_REENTRANT -c mysqldb.cpp -fPIC -DPIC
In file included from ../../include/charsets.h:34,
from ../../include/ucharset.h:34,
from ../../include/sqldb.h:40,
from ../../include/mysqldb.h:30,
from mysqldb.cpp:26:
../../include/maps.h:38: error: `hash_map' not declared
../../include/maps.h:39: error: `hash_set' not declared
../../include/maps.h:42: error: `hash' is not a template
../../include/maps.h:44: error: can't make `operator()' into a method -- not in
a class
../../include/maps.h:47: error: declaration does not declare anything
../../include/maps.h:50: error: syntax error before `;' token
../../include/maps.h:51: error: syntax error before `;' token
../../include/maps.h:52: error: syntax error before `;' token
In file included from ../../include/ucharset.h:34,
from ../../include/sqldb.h:40,
from ../../include/mysqldb.h:30,
from mysqldb.cpp:26:
../../include/charsets.h:38: error: `hash_map' not declared
../../include/charsets.h:39: error: `hash' not declared
../../include/charsets.h:118: error: `hash' is not a template
../../include/charsets.h:120: error: can't make `operator()' into a method --
not in a class
../../include/charsets.h:123: error: declaration does not declare anything
../../include/charsets.h:188: error: parse error before `<' token
../../include/charsets.h:198: error: parse error before `}' token
../../include/charsets.h:209: error: parse error before `<' token
../../include/charsets.h:220: error: destructors must be member functions
../../include/charsets.h: In function `void CSgmlCharMap()':
../../include/charsets.h:221: error: `iterator' undeclared (first use this
function)
../../include/charsets.h:221: error: (Each undeclared identifier is reported
only once for each function it appears in.)
../../include/charsets.h:221: error: parse error before `=' token
../../include/charsets.h:221: error: `it' undeclared (first use this function)
../../include/charsets.h:221: error: `end' undeclared (first use this function)
../../include/charsets.h: At global scope:
../../include/charsets.h:226: error: parse error before `}' token
../../include/charsets.h:229: error: base class `CSgmlCharMap' has incomplete
Ответ на:
комментарий
от anonymous
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум asm/checksum.h - траблы (2006)
- Форум MC-4.1.40-pre7 (2003)
- Форум Ошибки компиляции (2005)
- Форум Cedega&Ubuntu (2006)
- Форум Не собирается WindowMaker в SuSE 8.2 (2003)
- Форум Не могу установить rpm 4.2.1 (2004)
- Форум У меня проблем с LinEAK (2004)
- Форум MPlayer-1.0pre3 ошибка сборки. (2004)
- Форум Linux+Vortex2=Unreal??? (2003)
- Форум error: expected ')' before 'int' (2011)