parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Help! не получается сборка драйвера mysql !!!!!!!!!!!!!

temach 11.02.2003 16:53

пытаюсь собрать драйвер mysql (платформа Solaris8) для работы парсера с БД

$ ./configure --prefix=$HOME/p3 --with-mysql-inc=$inc

все вроде конфигурит

странно. когда делаю make выдает следующее:

что бы это значило?
пробовал дома на ASPLinux все работает.
--------------------------------------------

$ make  parser3mysql.C:17:27: pa_sql_driver.h: No such file or directory
parser3mysql.C:52: parse error before `{' token
parser3mysql.C: In function `int api_version()':
parser3mysql.C:59: `SQL_DRIVER_API_VERSION' undeclared (first use this
  function)
parser3mysql.C:59: (Each undeclared identifier is reported only once for each
  function it appears in.)
parser3mysql.C: In function `const char* initialize(char*)':
parser3mysql.C:63: `dlink' undeclared (first use this function)
parser3mysql.C: At global scope:
parser3mysql.C:78: type specifier omitted for parameter `SQL_Driver_services'
parser3mysql.C:78: parse error before `&' token
parser3mysql.C: In function `void connect(...)':
parser3mysql.C:81: `used_only_in_connect_url' undeclared (first use this
  function)
parser3mysql.C:111: `services' undeclared (first use this function)
parser3mysql.C:142: `connection' undeclared (first use this function)
parser3mysql.C: At global scope:
parser3mysql.C:147: `SQL_Driver_services' was not declared in this scope
parser3mysql.C:147: parse error before `,' token
parser3mysql.C:148: `SQL_Driver_services' was not declared in this scope
parser3mysql.C:148: parse error before `,' token
parser3mysql.C:150: `SQL_Driver_services' was not declared in this scope
parser3mysql.C:150: parse error before `,' token
parser3mysql.C:155: `SQL_Driver_services' was not declared in this scope
parser3mysql.C:155: parse error before `,' token
parser3mysql.C: In function `unsigned int quote(...)':
parser3mysql.C:163: `to' undeclared (first use this function)
parser3mysql.C:164: `from' undeclared (first use this function)
parser3mysql.C:164: `length' undeclared (first use this function)
parser3mysql.C: At global scope:
parser3mysql.C:169: `SQL_Driver_services' was not declared in this scope
parser3mysql.C:169: parse error before `*' token
parser3mysql.C: In function `void query(...)':
parser3mysql.C:177: `offset' undeclared (first use this function)
parser3mysql.C:177: `limit' undeclared (first use this function)
parser3mysql.C:178: `astatement' undeclared (first use this function)
parser3mysql.C:209: `SQL_Error' undeclared (first use this function)
parser3mysql.C:209: parse error before `;' token
parser3mysql.C:221: `handlers' undeclared (first use this function)
parser3mysql.C:221: `sql_error' undeclared (first use this function)
parser3mysql.C: At global scope:
parser3mysql.C:246: parse error before `private'
parser3mysql.C:248: 't_mysql_init' is used as a type, but is not defined as a
  type.
parser3mysql.C:250: `int (*mysql_options)(MYSQL*, mysql_option, const char*)'
  redeclared as different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:270: previous declaration of `int
  mysql_options(MYSQL*, mysql_option, const char*)'
parser3mysql.C:252: `MYSQL_RES*(*mysql_store_result)(MYSQL*)' redeclared as
  different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:267: previous declaration of `
  MYSQL_RES* mysql_store_result(MYSQL*)'
parser3mysql.C:254: `int (*mysql_query)(MYSQL*, const char*)' redeclared as
  different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:243: previous declaration of `int
  mysql_query(MYSQL*, const char*)'
parser3mysql.C:256: `char*(*mysql_error)(MYSQL*)' redeclared as different kind
  of symbol
/hosting/programs/mysql/include/mysql/mysql.h:208: previous declaration of `
  char* mysql_error(MYSQL*)'
parser3mysql.C:265: `MYSQL*(*mysql_real_connect)(MYSQL*, const char*, const
  char*, const char*, const char*, unsigned int, const char*, unsigned int)'
  redeclared as different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:232: previous declaration of `
  MYSQL* mysql_real_connect(MYSQL*, const char*, const char*, const char*,
  const char*, unsigned int, const char*, unsigned int)'
parser3mysql.C:267: `void (*mysql_close)(MYSQL*)' redeclared as different kind
  of symbol
/hosting/programs/mysql/include/mysql/mysql.h:241: previous declaration of `
  void mysql_close(MYSQL*)'
parser3mysql.C:269: `int (*mysql_ping)(MYSQL*)' redeclared as different kind of
  symbol
/hosting/programs/mysql/include/mysql/mysql.h:256: previous declaration of `int
  mysql_ping(MYSQL*)'
parser3mysql.C:272: `long unsigned int (*mysql_escape_string)(char*, const
  char*, long unsigned int)' redeclared as different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:281: previous declaration of `
  long unsigned int mysql_escape_string(char*, const char*, long unsigned int)
  '
parser3mysql.C:274: `void (*mysql_free_result)(MYSQL_RES*)' redeclared as
  different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:271: previous declaration of `
  void mysql_free_result(MYSQL_RES*)'
parser3mysql.C:276: `long unsigned int*(*mysql_fetch_lengths)(MYSQL_RES*)'
  redeclared as different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:278: previous declaration of `
  long unsigned int* mysql_fetch_lengths(MYSQL_RES*)'
parser3mysql.C:278: `char**(*mysql_fetch_row)(MYSQL_RES*)' redeclared as
  different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:277: previous declaration of `
  char** mysql_fetch_row(MYSQL_RES*)'
parser3mysql.C:280: `MYSQL_FIELD*(*mysql_fetch_field)(MYSQL_RES*)' redeclared
  as different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:279: previous declaration of `
  MYSQL_FIELD* mysql_fetch_field(MYSQL_RES*)'
parser3mysql.C:282: `unsigned int (*mysql_num_fields)(MYSQL_RES*)' redeclared
  as different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:196: previous declaration of `
  unsigned int mysql_num_fields(MYSQL_RES*)'
parser3mysql.C:285: `unsigned int (*mysql_field_count)(MYSQL*)' redeclared as
  different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:204: previous declaration of `
  unsigned int mysql_field_count(MYSQL*)'
parser3mysql.C:288: parse error before `private'
parser3mysql.C:303: ISO C++ forbids declaration of `mysql_init' with no type
parser3mysql.C:303: `int mysql_init' redeclared as different kind of symbol
/hosting/programs/mysql/include/mysql/mysql.h:213: previous declaration of `
  MYSQL* mysql_init(MYSQL*)'
parser3mysql.C:303: `t_mysql_init' was not declared in this scope
parser3mysql.C:303: parse error before `(' token
parser3mysql.C:304: ISO C++ forbids declaration of `mysql_options' with no type
parser3mysql.C:304: conflicting types for `int mysql_options'
parser3mysql.C:250: previous declaration as `int (*mysql_options)(MYSQL*,
  mysql_option, const char*)'
parser3mysql.C:304: `handle' was not declared in this scope
parser3mysql.C:304: parse error before `if'
parser3mysql.C:305: ISO C++ forbids declaration of `mysql_store_result' with no
  type
parser3mysql.C:305: conflicting types for `int mysql_store_result'
parser3mysql.C:252: previous declaration as `
  MYSQL_RES*(*mysql_store_result)(MYSQL*)'
parser3mysql.C:305: `handle' was not declared in this scope
parser3mysql.C:305: parse error before `if'
parser3mysql.C:306: ISO C++ forbids declaration of `mysql_query' with no type
parser3mysql.C:306: conflicting types for `int mysql_query'
parser3mysql.C:254: previous declaration as `int (*mysql_query)(MYSQL*, const
  char*)'
parser3mysql.C:306: `handle' was not declared in this scope
parser3mysql.C:306: parse error before `if'
parser3mysql.C:307: ISO C++ forbids declaration of `mysql_error' with no type
parser3mysql.C:307: conflicting types for `int mysql_error'
parser3mysql.C:256: previous declaration as `char*(*mysql_error)(MYSQL*)'
parser3mysql.C:307: `handle' was not declared in this scope
parser3mysql.C:307: parse error before `if'
parser3mysql.C:308: ISO C++ forbids declaration of `mysql_real_connect' with no
  type
parser3mysql.C:308: conflicting types for `int mysql_real_connect'
parser3mysql.C:265: previous declaration as `
  MYSQL*(*mysql_real_connect)(MYSQL*, const char*, const char*, const char*,
  const char*, unsigned int, const char*, unsigned int)'
parser3mysql.C:308: `handle' was not declared in this scope
parser3mysql.C:308: parse error before `if'
parser3mysql.C:309: ISO C++ forbids declaration of `mysql_close' with no type
parser3mysql.C:309: conflicting types for `int mysql_close'
parser3mysql.C:267: previous declaration as `void (*mysql_close)(MYSQL*)'
parser3mysql.C:309: `handle' was not declared in this scope
parser3mysql.C:309: parse error before `if'
parser3mysql.C:310: ISO C++ forbids declaration of `mysql_ping' with no type
parser3mysql.C:310: conflicting types for `int mysql_ping'
parser3mysql.C:269: previous declaration as `int (*mysql_ping)(MYSQL*)'
parser3mysql.C:310: `handle' was not declared in this scope
parser3mysql.C:310: parse error before `if'
parser3mysql.C:311: ISO C++ forbids declaration of `mysql_escape_string' with
  no type
parser3mysql.C:311: conflicting types for `int mysql_escape_string'
parser3mysql.C:272: previous declaration as `long unsigned int
  (*mysql_escape_string)(char*, const char*, long unsigned int)'
parser3mysql.C:311: `handle' was not declared in this scope
parser3mysql.C:311: parse error before `if'
parser3mysql.C:312: ISO C++ forbids declaration of `mysql_free_result' with no
  type
parser3mysql.C:312: conflicting types for `int mysql_free_result'
parser3mysql.C:274: previous declaration as `void
  (*mysql_free_result)(MYSQL_RES*)'
parser3mysql.C:312: `handle' was not declared in this scope
parser3mysql.C:312: parse error before `if'
parser3mysql.C:313: ISO C++ forbids declaration of `mysql_fetch_lengths' with
  no type
parser3mysql.C:313: conflicting types for `int mysql_fetch_lengths'
parser3mysql.C:276: previous declaration as `long unsigned
  int*(*mysql_fetch_lengths)(MYSQL_RES*)'
parser3mysql.C:313: `handle' was not declared in this scope
parser3mysql.C:313: parse error before `if'
parser3mysql.C:314: ISO C++ forbids declaration of `mysql_fetch_row' with no
  type
parser3mysql.C:314: conflicting types for `int mysql_fetch_row'
parser3mysql.C:278: previous declaration as `
  char**(*mysql_fetch_row)(MYSQL_RES*)'
parser3mysql.C:314: `handle' was not declared in this scope
parser3mysql.C:314: parse error before `if'
parser3mysql.C:315: ISO C++ forbids declaration of `mysql_fetch_field' with no
  type
parser3mysql.C:315: conflicting types for `int mysql_fetch_field'
parser3mysql.C:280: previous declaration as `
  MYSQL_FIELD*(*mysql_fetch_field)(MYSQL_RES*)'
parser3mysql.C:315: `handle' was not declared in this scope
parser3mysql.C:315: parse error before `if'
parser3mysql.C:316: ISO C++ forbids declaration of `mysql_num_fields' with no
  type
parser3mysql.C:316: conflicting types for `int mysql_num_fields'
parser3mysql.C:282: previous declaration as `unsigned int
  (*mysql_num_fields)(MYSQL_RES*)'
parser3mysql.C:316: `handle' was not declared in this scope
parser3mysql.C:316: parse error before `if'
parser3mysql.C:317: ISO C++ forbids declaration of `mysql_field_count' with no
  type
parser3mysql.C:317: conflicting types for `int mysql_field_count'
parser3mysql.C:285: previous declaration as `unsigned int
  (*mysql_field_count)(MYSQL*)'
parser3mysql.C:317: `handle' was not declared in this scope
parser3mysql.C:317: parse error before `if'
parser3mysql.C:323: syntax error before `*' token
make[2]: *** [parser3mysql.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
$

---------------------------------------------------------------------------------