Opened 20 years ago

Closed 20 years ago

Last modified 6 years ago

#1876 closed defect (worksforme)

DC: compile bug

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

Description

Hi ,

ScummVM cvs 06-01-2005 (23h 19 -France-) Linux -roninlib-gcc 3.0.4

Log compile: [...] /home/erwan/Dreamcast/toolchain/kos-1.2/sh-elf/bin/sh-elf-g++ -ml -m4-single-onl y -Wl,-Ttext,0x8c010000 -nostartfiles /home/erwan/Dreamcast/toolchain/lib/ronin_ gcc-3.0.4/lib/crt0.o dcmain.o time.o display.o audio.o input.o selector.o icon. o label.o vmsave.o softkbd.o dcloader.o cache.o base/libbase.a scumm/libscumm.a simon/libsimon.a sky/libsky.a sword1/libsword1.a sword2/libsword2.a queen/libque en.a saga/libsaga.a kyra/libkyra.a gui/libgui.a graphics/libgraphics.a sound/lib sound.a backends/libbackends.a common/libcommon.a -L/home/erwan/Dreamcast/toolc hain/lib/ronin_gcc-3.0.4/lib -lronin -lz -lm -o scummvm.elf base/libbase.a(gameDetector.o): In function `GameDetector::parseCommandLine(int,
char**)': gameDetector.o(.text+0x38dc): undefined reference to `Common::Singleton<OSystem>
::makeInstance()' base/libbase.a(main.o): In function `scummvm_main': main.o(.text+0x7cc): undefined reference to `Common::Singleton<OSystem>::makeIns
tance()' base/libbase.a(engine.o): In function `error(char const*, ...)': engine.o(.text+0x9dc): undefined reference to `Common::Singleton<OSystem>::makeI
nstance()' scumm/libscumm.a(scumm.o): In function `Engine_SCUMM_create(GameDetector*, OSyst
em*)': scumm.o(.text+0x996c): undefined reference to `Common::Singleton<OSystem>::makeI
nstance()' scumm/libscumm.a(dimuse.o): In function `Scumm::IMuseDigital::IMuseDigital(Scumm
::ScummEngine*, int)': dimuse.o(.text+0x1dc): undefined reference to `Common::Singleton<OSystem>::makeI
nstance()' scumm/libscumm.a(dimuse.o)(.text+0x35c): more undefined references to `Common::S
ingleton<OSystem>::makeInstance()' follow collect2: ld returned 1 exit status make: *** [scummvm.elf] Erreur 1 erwan@linux:~/cvs/scummvm/scummvm/backends/dc>

log cvs : U scummvm/configure cvs checkout: Updating scummvm/awe cvs checkout: Updating scummvm/backends cvs checkout: Updating scummvm/backends/PalmOS cvs checkout: Updating scummvm/backends/PalmOS/Obj cvs checkout: Updating scummvm/backends/PalmOS/Rsc cvs checkout: Updating scummvm/backends/PalmOS/Rsc/Resource.Frk cvs checkout: Updating scummvm/backends/PalmOS/Src cvs checkout: Updating scummvm/backends/PalmOS/Src/arm cvs checkout: Updating scummvm/backends/PalmOS/Src/builder cvs checkout: Updating scummvm/backends/PalmOS/Src/builder/queen cvs checkout: Updating scummvm/backends/PalmOS/Src/builder/scumm cvs checkout: Updating scummvm/backends/PalmOS/Src/builder/scumm/imuse_digi cvs checkout: Updating scummvm/backends/PalmOS/Src/builder/scumm/smush cvs checkout: Updating scummvm/backends/PalmOS/Src/builder/simon cvs checkout: Updating scummvm/backends/PalmOS/Src/builder/sky cvs checkout: Updating scummvm/backends/PalmOS/Src/builder/sword1 cvs checkout: Updating scummvm/backends/PalmOS/Src/forms cvs checkout: Updating scummvm/backends/PalmOS/Src/midi cvs checkout: Updating scummvm/backends/PalmOS/Src/missing cvs checkout: Updating scummvm/backends/PalmOS/Src/missing/sys cvs checkout: Updating scummvm/backends/PalmOS/Src/simon cvs checkout: Updating scummvm/backends/dc M scummvm/backends/dc/Makefile cvs checkout: Updating scummvm/backends/fs cvs checkout: Updating scummvm/backends/fs/morphos cvs checkout: Updating scummvm/backends/fs/palmos cvs checkout: Updating scummvm/backends/fs/posix cvs checkout: Updating scummvm/backends/fs/windows cvs checkout: Updating scummvm/backends/gp32 cvs checkout: Updating scummvm/backends/gp32/h cvs checkout: Updating scummvm/backends/mac cvs checkout: Updating scummvm/backends/midi cvs checkout: Updating scummvm/backends/midi/mt32 cvs checkout: Updating scummvm/backends/morphos cvs checkout: Updating scummvm/backends/null cvs checkout: Updating scummvm/backends/sdl cvs checkout: Updating scummvm/backends/wince cvs checkout: Updating scummvm/backends/wince/CEgui cvs checkout: Updating scummvm/backends/wince/CEkeys cvs checkout: Updating scummvm/backends/wince/icons cvs checkout: Updating scummvm/backends/wince/images cvs checkout: Updating scummvm/backends/wince/missing cvs checkout: Updating scummvm/backends/wince/missing/sys cvs checkout: Updating scummvm/backends/wince/scumm cvs checkout: Updating scummvm/backends/wince/scummvm cvs checkout: Updating scummvm/backends/wince/simon cvs checkout: Updating scummvm/backends/wince/sky cvs checkout: Updating scummvm/backends/x11 cvs checkout: Updating scummvm/base U scummvm/base/plugins.h cvs checkout: Updating scummvm/common U scummvm/common/config-manager.h U scummvm/common/singleton.h U scummvm/common/system.cpp U scummvm/common/system.h cvs checkout: Updating scummvm/common/scaler cvs checkout: Updating scummvm/dists cvs checkout: Updating scummvm/dists/debian cvs checkout: Updating scummvm/dists/msevc3 cvs checkout: Updating scummvm/dists/msevc3/queen cvs checkout: Updating scummvm/dists/msevc4 cvs checkout: Updating scummvm/dists/msevc4/queen cvs checkout: Updating scummvm/dists/msevc4/scumm cvs checkout: Updating scummvm/dists/msevc4/scummvm cvs checkout: Updating scummvm/dists/msevc4/simon cvs checkout: Updating scummvm/dists/msevc4/sky cvs checkout: Updating scummvm/dists/msevc4/sword1 cvs checkout: Updating scummvm/dists/msevc4/sword2 cvs checkout: Updating scummvm/dists/msvc6 cvs checkout: Updating scummvm/dists/msvc7 cvs checkout: Updating scummvm/dists/msvc8 cvs checkout: Updating scummvm/dists/redhat cvs checkout: Updating scummvm/dists/slackware cvs checkout: Updating scummvm/doc cvs checkout: Updating scummvm/doc/he cvs checkout: Updating scummvm/graphics cvs checkout: Updating scummvm/gui U scummvm/gui/newgui.h cvs checkout: Updating scummvm/kyra cvs checkout: Updating scummvm/queen U scummvm/queen/music.cpp cvs checkout: Updating scummvm/saga U scummvm/saga/actor.cpp U scummvm/saga/actor.h U scummvm/saga/events.cpp U scummvm/saga/events.h U scummvm/saga/gfx.cpp U scummvm/saga/gfx.h U scummvm/saga/input.cpp U scummvm/saga/interface.cpp U scummvm/saga/interface.h U scummvm/saga/rscfile.cpp U scummvm/saga/saga.cpp U scummvm/saga/scene.cpp U scummvm/saga/scene.h U scummvm/saga/script.h U scummvm/saga/sfuncs.cpp U scummvm/saga/sthread.cpp cvs checkout: Updating scummvm/scumm U scummvm/scumm/cursor.cpp U scummvm/scumm/intern.h U scummvm/scumm/saveload.cpp U scummvm/scumm/saveload.h U scummvm/scumm/scumm.h cvs checkout: Updating scummvm/scumm/imuse_digi cvs checkout: Updating scummvm/scumm/insane cvs checkout: Updating scummvm/scumm/smush U scummvm/scumm/smush/smush_player.cpp cvs checkout: Updating scummvm/simon cvs checkout: Updating scummvm/sky U scummvm/sky/text.cpp U scummvm/sky/text.h cvs checkout: Updating scummvm/sky/compacts cvs checkout: Updating scummvm/sky/music cvs checkout: Updating scummvm/sound U scummvm/sound/audiocd.h cvs checkout: Updating scummvm/sound/softsynth cvs checkout: Updating scummvm/sound/softsynth/mt32 cvs checkout: Updating scummvm/sword1 cvs checkout: Updating scummvm/sword2 U scummvm/sword2/maketext.cpp cvs checkout: Updating scummvm/sword2/driver cvs checkout: Updating scummvm/test cvs checkout: Updating scummvm/test/common cvs checkout: Updating scummvm/tools erwan@linux:~/cvs/scummvm>

Ticket imported from: #1097507. Ticket imported from: bugs/1876.

Change History (9)

comment:1 by fingolfin, 20 years ago

Owner: set to zeldin

comment:2 by fingolfin, 20 years ago

Sounds like a bug in the GCC version you use. If possible, I'd recommend using a newer compiler version (like 3.3.x or 3.4.x).

Other than that, the relevant code was changed again today, so I recommend you try again with latest CVS and see what happens...

comment:3 by SF/erwan2004, 20 years ago

Status: newclosed

comment:4 by SF/erwan2004, 20 years ago

Ok

comment:5 by SF/erwan2004, 20 years ago

Status: closednew

comment:6 by zeldin, 20 years ago

The current CVS version builds just fine for me.

If you're having problem with your compiler, please review the build requirements stated in backends/dc/README carefully.

comment:7 by zeldin, 20 years ago

Resolution: worksforme
Status: newclosed

comment:8 by Strangerke, 11 years ago

Component: --Unset--Ports

comment:9 by digitall, 6 years ago

Component: PortsPort: Dreamcast
Summary: DC: compile bug DC: compile bug
Note: See TracTickets for help on using tickets.