Just nu i M3-nätverket
Gå till innehåll

^Sleepy_2

Medlem
  • Antal inlägg

    4
  • Gick med

  • Senaste besök

    Aldrig

1 följare

Om ^Sleepy_2

  • Medlemstitel
    Nykomling
  1. nån som vet ett bra IIS log parser program, som visar schysst statisitk, så som antal hits per fil, antal hits per IP, o.s.v ?
  2. får bara "Segmentation Fault" när jag kör kod tom så enkla saker som: #include <sqlplus.hh> #define HOST "localhost" #define DB "sleepy" #define USERNAME "root" #define PASSWORD "" int main () { // Here we go... Connection connection (use_exceptions); connection.connect("", HOST, USERNAME, PASSWORD); return 0; } gcc 3.0.4, mysql++-1.7.9-patched, slackware 8 vad är fel, hjälp ?
  3. efter mycket om och men så har jag kommit så att jag kan kompilera mina script men jag får bara "Segmentation Fault" när jag kör dem tom på så enkla saker som: #include <sqlplus.hh> #define HOST "localhost" #define DB "sleepy" #define USERNAME "root" #define PASSWORD "" int main () { // Here we go... Connection connection (use_exceptions); connection.connect("", HOST, USERNAME, PASSWORD); return 0; } vad är fel, hjälp ? [inlägget ändrat 2002-05-09 22:52:35 av ^Sleepy_] [inlägget ändrat 2002-05-09 22:53:42 av ^Sleepy_]
  4. Tjo, har lite problem med att kompilera mysql++.. jag får följande fel: make all-recursive make[1]: Entering directory `/root/mysql++-1.7.9' Making all in sqlplusint make[2]: Entering directory `/root/mysql++-1.7.9/sqlplusint' make all-am make[3]: Entering directory `/root/mysql++-1.7.9/sqlplusint' source='coldata.cc' object='coldata.lo' libtool=yes depfile='.deps/coldata.Plo' tmpdepfile='.deps/coldata.TPlo' depmode=gcc3 /bin/sh ../depcomp /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/local/mysql/include/mysql -g -O2 -c -o coldata.lo `test -f coldata.cc || echo './'`coldata.cc mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint -I/usr/local/mysql/include/mysql -g -O2 -c coldata.cc -MT coldata.lo -MD -MP -MF .deps/coldata.TPlo -fPIC -DPIC -o .libs/coldata.lo In file included from const_string2.hh:2, from const_string3.hh:2, from coldata.cc:2: const_string1.hh: In member function `const char& const_string::at(unsigned int) const': const_string1.hh:50: `out_of_range' undeclared (first use this function) const_string1.hh:50: (Each undeclared identifier is reported only once for each function it appears in.) const_string1.hh: At global scope: const_string1.hh:70: syntax error before `&' token In file included from coldata1.hh:7, from coldata2.hh:5, from coldata3.hh:12, from coldata4.hh:6, from coldata.cc:3: exceptions.hh:65: parse error before `er' exceptions.hh:65: missing ';' before right brace exceptions.hh:66: ISO C++ forbids defining types within return type exceptions.hh:66: syntax error before `;' token exceptions.hh:73: ISO C++ forbids declaration of `string' with no type exceptions.hh:73: parse error before `;' token exceptions.hh: In constructor `MysqlBadConversion::MysqlBadConversion(const char*, const char*, unsigned int, unsigned int)': exceptions.hh:76: class `MysqlBadConversion' does not have any field named `data' In file included from coldata1.hh:8, from coldata2.hh:5, from coldata3.hh:12, from coldata4.hh:6, from coldata.cc:3: type_info1.hh: At global scope: type_info1.hh:22: friend declaration requires class-key, i.e. `friend class mysql_type_info' type_info1.hh:23: friend declaration requires class-key, i.e. `friend class mysql_ti_sql_type_info_lookup' type_info1.hh:26: ISO C++ forbids declaration of `type_info' with no type type_info1.hh:26: parse error before `*' token type_info1.hh:36: parse error before `&' token type_info1.hh:38: missing ';' before right brace type_info1.hh:39: parse error before `}' token type_info1.hh:42: parse error before `*' token type_info1.hh: In member function `bool type_info_cmp::operator()(...) const': type_info1.hh:43: `lhs' undeclared (first use this function) type_info1.hh:43: `rhs' undeclared (first use this function) type_info1.hh: At global scope: type_info1.hh:48: friend declaration requires class-key, i.e. `friend class mysql_type_info' type_info1.hh:52: ISO C++ forbids declaration of `type name' with no type type_info1.hh:52: parse error before `*' token type_info1.hh:56: parse error before `&' token type_info1.hh:56: `const unsigned char& mysql_ti_sql_type_info_lookup::operator[](...)' must take exactly one argument type_info1.hh:56: `const unsigned char& mysql_ti_sql_type_info_lookup::operator[](...) const' must take exactly one argument type_info1.hh: In member function `const unsigned char& mysql_ti_sql_type_info_lookup::operator[](...) const': type_info1.hh:57: `_map' undeclared (first use this function) type_info1.hh:57: `ti' undeclared (first use this function) type_info1.hh: At global scope: type_info1.hh:97: parse error before `&' token type_info1.hh:99: ISO C++ forbids defining types within return type type_info1.hh:99: syntax error before `&' token type_info1.hh:102: `mysql_type_info& operator=(const mysql_type_info&)' must be a nonstatic member function type_info1.hh: In function `mysql_type_info& operator=(const mysql_type_info&)': type_info1.hh:102: `num' undeclared (first use this function) type_info1.hh:83: `unsigned char mysql_type_info::num' is private type_info1.hh:102: within this context type_info1.hh:102: invalid use of `this' in non-member function type_info1.hh: At global scope: type_info1.hh:104: parse error before `&' token type_info1.hh:105: `mysql_type_info& operator=(...)' must be a nonstatic member function type_info1.hh:105: confused by earlier errors, bailing out make[3]: *** [coldata.lo] Error 1 make[3]: Leaving directory `/root/mysql++-1.7.9/sqlplusint' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/mysql++-1.7.9/sqlplusint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/mysql++-1.7.9' make: *** [all] Error 2 innan dess har jag kört: aclocal && libtoolize --force --copy && automake --foreign --force-missing --add-missing --copy && autoconf i källkodsmappen... precis innan detta uppgraderade jag gcc till en nyare version om det kan vara till hälp ? HJÄLP !!
×
×
  • Skapa nytt...