[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problema al compilar



On Tue, Sep 11, 2007 at 09:29:33PM +0200, Adrián Navarro wrote:
> Sigo igual:
> make[4]: se ingresa al directorio `/root/new/mysql-5.0.22/sql'
> g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\""
> -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\""
> -DHAVE_CONFIG_H -I. -I.. -I../zlib -I../innobase/include -I../include
> -I../include -I../regex -I.      -O3 -DDBUG_OFF
> -fno-implicit-templates -fno-exceptions -fno-rtti -MT handler.o -MD
> -MP -MF .deps/handler.Tpo -c -o handler.o handler.cc
> handler.cc: In function âhandler* get_new_handler(TABLE*, MEM_ROOT*, db_type)â:
> handler.cc:361: error: cannot allocate an object of abstract type âha_sphinxâ
> sphinx/ha_sphinx.h:27: note:   because the following virtual functions
> are pure within âha_sphinxâ:
> handler.h:666: note:    virtual int handler::rnd_next(byte*)
> handler.h:667: note:    virtual int handler::rnd_pos(byte*, byte*)
> handler.h:680: note:    virtual void handler::position(const byte*)

Este mensaje me hace pensar que estás usando una versión de g++ que no
es compatible con ese código. Intenta instalar una versión más
antigua. Por ejemplo, ve en qué fecha fue liberado 5.0.22 y busca la
versión de g++ que era default en Debian en aquel entonces.

Repito la pregunta: ¿Para qué estás intentando esto? ¿Qué tiene de
particular 5.0.22, que te importa tanto tener esa? 

-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28

Attachment: signature.asc
Description: Digital signature


Reply to: