Opened 13 years ago

Closed 13 years ago

Last modified 13 months ago

#2814 closed defect (fixed)

DC: build error

Reported by: SF/erwan2004 Owned by: zeldin
Priority: normal Component: Port: Dreamcast
Keywords: Cc:
Game:

Description

Hello,
I do not arrive has to compile port DREAMCAST, it is
not up to date.

Host: Suse 10
Cross compiller: gcc-4.0.3_binutils-2.16.1_newlib-1.14.0

LOG:
sh-elf-g++ -ml -m4-single-only
-Wp,-MMD,"backends/fs/dc/.deps/dc-fs.d",-MQ,"back
ends/fs/dc/dc-fs.o",-MP -O3 -Wno-multichar
-funroll-loops -fschedule-insns2 -fom
it-frame-pointer -fdelete-null-pointer-checks
-fno-exceptions -D__DC__ -DNONSTAN
DARD_PORT -DUSE_MAD -DDYNAMIC_MODULES -DDISABLE_SCALERS
-I./ -I../../.. -I../../
../common
-I/home/erwan/Dreamcast/Toolchain/ronin-src//include/
-I../../../engin
es -c ../../../backends/fs/dc/dc-fs.cpp -o
backends/fs/dc/dc-fs.o
../../../backends/fs/dc/dc-fs.cpp: In static member
function ‘static AbstractFil
esystemNode* AbstractFilesystemNode::getRoot()’:
../../../backends/fs/dc/dc-fs.cpp:78: erreur: cannot
allocate an object of abstr
act type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: because
the following virtual func
tions are pure within ‘RoninCDFilesystemNode’:
../../../backends/fs/abstract-fs.h:102: note: virtual
Common::String AbstractFi
lesystemNode::name() const
../../../backends/fs/dc/dc-fs.cpp: In static member
function ‘static AbstractFil
esystemNode*
AbstractFilesystemNode::getNodeForPath(const
Common::String&)’:
../../../backends/fs/dc/dc-fs.cpp:82: erreur: cannot
allocate an object of abstr
act type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp: In member function
‘virtual bool RoninCDFiles
ystemNode::listDir(AbstractFSList&,
FilesystemNode::ListMode) const’:
../../../backends/fs/dc/dc-fs.cpp:133: erreur: cannot
declare variable ‘entry’ t
o be of abstract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp:149: erreur: cannot
allocate an object of abst
ract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp: In member function
‘virtual AbstractFilesyste
mNode* RoninCDFilesystemNode::parent() const’:
../../../backends/fs/dc/dc-fs.cpp:162: erreur: cannot
allocate an object of abst
ract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp: In member function
‘virtual AbstractFilesyste
mNode* RoninCDFilesystemNode::child(const
Common::String&) const’:
../../../backends/fs/dc/dc-fs.cpp:175: erreur: cannot
allocate an object of abst
ract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
make: *** [backends/fs/dc/dc-fs.o] Erreur 1
mkdir -p backends/fs/dc/.deps
sh-elf-g++ -ml -m4-single-only
-Wp,-MMD,"backends/fs/dc/.deps/dc-fs.d",-MQ,"back
ends/fs/dc/dc-fs.o",-MP -O3 -Wno-multichar
-funroll-loops -fschedule-insns2 -fom
it-frame-pointer -fdelete-null-pointer-checks
-fno-exceptions -D__DC__ -DNONSTAN
DARD_PORT -DUSE_MAD -DDYNAMIC_MODULES -DDISABLE_SCALERS
-I./ -I../../.. -I../../
../common
-I/home/erwan/Dreamcast/Toolchain/ronin-src//include/
-I../../../engin
es -c ../../../backends/fs/dc/dc-fs.cpp -o
backends/fs/dc/dc-fs.o
../../../backends/fs/dc/dc-fs.cpp: In static member
function ‘static AbstractFil
esystemNode* AbstractFilesystemNode::getRoot()’:
../../../backends/fs/dc/dc-fs.cpp:78: erreur: cannot
allocate an object of abstr
act type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: because
the following virtual func
tions are pure within ‘RoninCDFilesystemNode’:
../../../backends/fs/abstract-fs.h:102: note: virtual
Common::String AbstractFi
lesystemNode::name() const
../../../backends/fs/dc/dc-fs.cpp: In static member
function ‘static AbstractFil
esystemNode*
AbstractFilesystemNode::getNodeForPath(const
Common::String&)’:
../../../backends/fs/dc/dc-fs.cpp:82: erreur: cannot
allocate an object of abstr
act type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp: In member function
‘virtual bool RoninCDFiles
ystemNode::listDir(AbstractFSList&,
FilesystemNode::ListMode) const’:
../../../backends/fs/dc/dc-fs.cpp:133: erreur: cannot
declare variable ‘entry’ t
o be of abstract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp:149: erreur: cannot
allocate an object of abst
ract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp: In member function
‘virtual AbstractFilesyste
mNode* RoninCDFilesystemNode::parent() const’:
../../../backends/fs/dc/dc-fs.cpp:162: erreur: cannot
allocate an object of abst
ract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions
../../../backends/fs/dc/dc-fs.cpp: In member function
‘virtual AbstractFilesyste
mNode* RoninCDFilesystemNode::child(const
Common::String&) const’:
../../../backends/fs/dc/dc-fs.cpp:175: erreur: cannot
allocate an object of abst
ract type ‘RoninCDFilesystemNode’
../../../backends/fs/dc/dc-fs.cpp:36: note: since
type ‘RoninCDFilesystemNode’
has pure virtual functions

Ticket imported from: #1551465. Ticket imported from: bugs/2814.

Change History (3)

comment:1 by fingolfin, 13 years ago

Owner: set to zeldin

comment:2 by zeldin, 13 years ago

Resolution: fixed
Status: newclosed

comment:3 by digitall, 13 months ago

Component: --Unset--Port: Dreamcast
Note: See TracTickets for help on using tickets.