Bug#323118: openmsx: ftbfs [sparc] undefined references

2005-08-15 Thread Joost Yervante Damad
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_stringchar, std::char_traitschar,
 std::allocatorchar  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_stringchar,
 std::char_traitschar, std::allocatorchar  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' 

Bug#323118: openmsx: ftbfs [sparc] undefined references

2005-08-14 Thread Blars Blarson
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_stringchar, std::char_traitschar, 
std::allocatorchar  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_stringchar, std::char_traitschar, 
std::allocatorchar  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