Hi,

This is a generic gcc4 build problem, not sparc specific. A bugfix for this is 
awaiting at my sponsor for an upload.

I hope it'll be uploaded soon.

Greetings, Joost Damad

On Sunday 14 August 2005 22:16, Blars Blarson wrote:
> Package: openmsx
> Version: 0.5.2-1
> Severity: important
> Justification: fails to build from source
>
>
> openmsx faied to build on a sparc buildd, duplicated on my sparc pbuilder.
>
> Linking openmsx...
> derived/sparc-linux-opt/obj/sound/Y8950.o: In function
> `openmsx::Y8950::makePmTable()': Y8950.cc:(.text+0x790): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0x794): undefined
> reference to `openmsx::Y8950::PM_DEPTH' Y8950.cc:(.text+0x798): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0x79c): undefined
> reference to `openmsx::Y8950::PM_DEPTH' Y8950.cc:(.text+0x974): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0x978): undefined
> reference to `openmsx::Y8950::PM_DEPTH2' Y8950.cc:(.text+0x980): undefined
> reference to `openmsx::Y8950::PM_DEPTH2'
> derived/sparc-linux-opt/obj/sound/Y8950.o: In function
> `openmsx::Y8950::makeAmTable()': Y8950.cc:(.text+0xb6c): undefined
> reference to `openmsx::Y8950::AM_DEPTH' Y8950.cc:(.text+0xb70): undefined
> reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0xb74): undefined
> reference to `openmsx::Y8950::AM_DEPTH' Y8950.cc:(.text+0xb78): undefined
> reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0xb98): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0xba0): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0xd80): undefined
> reference to `openmsx::Y8950::AM_DEPTH2' Y8950.cc:(.text+0xd84): undefined
> reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0xd88): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0xd8c): undefined
> reference to `openmsx::Y8950::AM_DEPTH2'
> derived/sparc-linux-opt/obj/sound/Y8950.o: In function
> `openmsx::Y8950::setSampleRate(int)': Y8950.cc:(.text+0x4fb0): undefined
> reference to `openmsx::Y8950::PM_SPEED' Y8950.cc:(.text+0x4fb8): undefined
> reference to `openmsx::Y8950::PM_SPEED' Y8950.cc:(.text+0x5000): undefined
> reference to `openmsx::Y8950::AM_SPEED' Y8950.cc:(.text+0x500c): undefined
> reference to `openmsx::Y8950::AM_SPEED'
> derived/sparc-linux-opt/obj/sound/Y8950.o: In function
> `openmsx::Y8950::updateBuffer(int, int*)': Y8950.cc:(.text+0x731c):
> undefined reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x73f4):
> undefined reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x7434):
> undefined reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x7438):
> undefined reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x7468):
> undefined reference to `openmsx::Y8950::DB_STEP'
> derived/sparc-linux-opt/obj/sound/Y8950.o:Y8950.cc:(.text+0x7bb8): more
> undefined references to `openmsx::Y8950::DB_STEP' follow
> derived/sparc-linux-opt/obj/sound/Y8950.o: In function
> `openmsx::Y8950::Y8950(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, openmsx::XMLElement const&, int,
> openmsx::EmuTime const&)': Y8950.cc:(.text+0x9100): undefined reference to
> `openmsx::Y8950::AM_DEPTH' Y8950.cc:(.text+0x9104): undefined reference to
> `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x9108): undefined reference to
> `openmsx::Y8950::AM_DEPTH' Y8950.cc:(.text+0x910c): undefined reference to
> `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x9144): undefined reference to
> `openmsx::Y8950::PI' Y8950.cc:(.text+0x9150): undefined reference to
> `openmsx::Y8950::PI' Y8950.cc:(.text+0x92fc): undefined reference to
> `openmsx::Y8950::AM_DEPTH2' Y8950.cc:(.text+0x9304): undefined reference to
> `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x9308): undefined reference to
> `openmsx::Y8950::AM_DEPTH2' Y8950.cc:(.text+0x9348): undefined reference to
> `openmsx::Y8950::PI' Y8950.cc:(.text+0x9720): undefined reference to
> `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0x99bc): undefined reference to
> `openmsx::Y8950::PI' Y8950.cc:(.text+0x99c0): undefined reference to
> `openmsx::Y8950::DB_STEP' derived/sparc-linux-opt/obj/sound/Y8950.o: In
> function `openmsx::Y8950::Y8950(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, openmsx::XMLElement
> const&, int, openmsx::EmuTime const&)': Y8950.cc:(.text+0xa708): undefined
> reference to `openmsx::Y8950::AM_DEPTH' Y8950.cc:(.text+0xa70c): undefined
> reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0xa710): undefined
> reference to `openmsx::Y8950::AM_DEPTH' Y8950.cc:(.text+0xa714): undefined
> reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0xa74c): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0xa758): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0xa904): undefined
> reference to `openmsx::Y8950::AM_DEPTH2' Y8950.cc:(.text+0xa90c): undefined
> reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0xa910): undefined
> reference to `openmsx::Y8950::AM_DEPTH2' Y8950.cc:(.text+0xa950): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0xad28): undefined
> reference to `openmsx::Y8950::DB_STEP' Y8950.cc:(.text+0xafc4): undefined
> reference to `openmsx::Y8950::PI' Y8950.cc:(.text+0xafc8): undefined
> reference to `openmsx::Y8950::DB_STEP'
> derived/sparc-linux-opt/obj/sound/Y8950.o: In function
> `openmsx::Y8950::Slot::calc_envelope()':
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0x20):
> undefined reference to `openmsx::Y8950::Slot::EG_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0x34):
> undefined reference to `openmsx::Y8950::Slot::SL_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0xb4):
> undefined reference to `openmsx::Y8950::DB_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0xb8):
> undefined reference to `openmsx::Y8950::Slot::EG_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0xbc):
> undefined reference to `openmsx::Y8950::DB_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0x104):
> undefined reference to `openmsx::Y8950::DB_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0x108):
> undefined reference to `openmsx::Y8950::Slot::EG_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0x10c):
> undefined reference to `openmsx::Y8950::DB_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0x138):
> undefined reference to `openmsx::Y8950::Slot::SL_STEP'
> Y8950.cc:(.gnu.linkonce.t._ZN7openmsx5Y89504Slot13calc_envelopeEv+0x150):
> undefined reference to `openmsx::Y8950::Slot::EG_STEP'
> derived/sparc-linux-opt/obj/sound/YM2413.o: In function
> `openmsx::YM2413::updateBuffer(int, int*)': YM2413.cc:(.text+0x54a0):
> undefined reference to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0x54a8):
> undefined reference to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0x554c):
> undefined reference to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0x5550):
> undefined reference to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0x5668):
> undefined reference to `openmsx::YM2413::DB_STEP'
> derived/sparc-linux-opt/obj/sound/YM2413.o:YM2413.cc:(.text+0x5670): more
> undefined references to `openmsx::YM2413::DB_STEP' follow
> derived/sparc-linux-opt/obj/sound/YM2413.o: In function
> `openmsx::YM2413::YM2413(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, openmsx::XMLElement const&, openmsx::EmuTime
> const&)': YM2413.cc:(.text+0xdc2c): undefined reference to
> `openmsx::YM2413::PM_DEPTH' YM2413.cc:(.text+0xdc3c): undefined reference
> to `openmsx::YM2413::PM_DEPTH' YM2413.cc:(.text+0xdcdc): undefined
> reference to `openmsx::YM2413::PM_DEPTH' YM2413.cc:(.text+0xddd4):
> undefined reference to `openmsx::YM2413::AM_DEPTH'
> YM2413.cc:(.text+0xddd8): undefined reference to
> `openmsx::YM2413::AM_DEPTH' YM2413.cc:(.text+0xde0c): undefined reference
> to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0xde14): undefined reference
> to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0xe0f8): undefined reference
> to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0xe548): undefined reference
> to `openmsx::YM2413::DB_STEP' derived/sparc-linux-opt/obj/sound/YM2413.o:
> In function `openmsx::YM2413::YM2413(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, openmsx::XMLElement
> const&, openmsx::EmuTime const&)': YM2413.cc:(.text+0xf2d4): undefined
> reference to `openmsx::YM2413::PM_DEPTH' YM2413.cc:(.text+0xf2e4):
> undefined reference to `openmsx::YM2413::PM_DEPTH'
> YM2413.cc:(.text+0xf384): undefined reference to
> `openmsx::YM2413::PM_DEPTH' YM2413.cc:(.text+0xf47c): undefined reference
> to `openmsx::YM2413::AM_DEPTH' YM2413.cc:(.text+0xf480): undefined
> reference to `openmsx::YM2413::AM_DEPTH' YM2413.cc:(.text+0xf4b4):
> undefined reference to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0xf4bc):
> undefined reference to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0xf7a0):
> undefined reference to `openmsx::YM2413::DB_STEP' YM2413.cc:(.text+0xfbf0):
> undefined reference to `openmsx::YM2413::DB_STEP'
> derived/sparc-linux-opt/obj/sound/YM2413.o: In function
> `openmsx::YM2413::Slot::calc_envelope(int)':
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0x40):
> undefined reference to `openmsx::YM2413::EG_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0x54):
> undefined reference to `openmsx::YM2413::SL_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0xb8):
> undefined reference to `openmsx::YM2413::DB_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0xbc):
> undefined reference to `openmsx::YM2413::EG_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0xc0):
> undefined reference to `openmsx::YM2413::DB_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0xfc):
> undefined reference to `openmsx::YM2413::EG_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0x100):
> undefined reference to `openmsx::YM2413::DB_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0x13c):
> undefined reference to `openmsx::YM2413::SL_STEP'
> YM2413.cc:(.gnu.linkonce.t._ZN7openmsx6YM24134Slot13calc_envelopeEi+0x150):
> undefined reference to `openmsx::YM2413::EG_STEP' collect2: ld returned 1
> exit status
> make[1]: *** [derived/sparc-linux-opt/bin/openmsx] Error 1
> make[1]: Leaving directory `/build/buildd/openmsx-0.5.2'
> make: *** [build-stamp] Error 2

-- 
The planet Andete is infamous for it's killer edible poets.

Attachment: pgpM42lS15Qr8.pgp
Description: PGP signature

Reply via email to