keithjr
June 21st, 2006, 10:17 PM
Why would I want to, you ask? Mechwarrior (the original) apparently only works properly in this one version of dosbox (crashes after every mission in later versions). I downloaded the source archive, extracted it, ran ./configure, everything seemed to work fine, then when I tried to issue make...
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetSize(Bit16u)’:
../../include/dos_inc.h:253: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::next_seg’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_PSP::GetSize()’:
../../include/dos_inc.h:254: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::next_seg’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetDTA(RealPt)’:
../../include/dos_inc.h:255: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::dta’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘RealPt DOS_PSP::GetDTA()’:
../../include/dos_inc.h:256: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::dta’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetEnvironment(Bit16u)’:
../../include/dos_inc.h:257: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::environment’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_PSP::GetEnvironment()’:
../../include/dos_inc.h:258: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::environment’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetParent(Bit16u)’:
../../include/dos_inc.h:262: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::psp_parent’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_PSP::GetParent()’:
../../include/dos_inc.h:263: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::psp_parent’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetStack(RealPt)’:
../../include/dos_inc.h:264: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::stack’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘RealPt DOS_PSP::GetStack()’:
../../include/dos_inc.h:265: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::stack’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetInt22(RealPt)’:
../../include/dos_inc.h:266: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::int_22’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘RealPt DOS_PSP::GetInt22()’:
../../include/dos_inc.h:267: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::int_22’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘void DOS_DTA::SetDirID(Bit16u)’:
../../include/dos_inc.h:384: error: cannot bind packed field ‘0u->DOS_DTA::sDTA::dirID’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_DTA::GetDirID()’:
../../include/dos_inc.h:385: error: cannot bind packed field ‘0u->DOS_DTA::sDTA::dirID’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_MCB::SetType(Bit8u)’:
../../include/dos_inc.h:457: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::type’ to ‘Bit8u&’
../../include/dos_inc.h: In member function ‘void DOS_MCB::SetSize(Bit16u)’:
../../include/dos_inc.h:458: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::size’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_MCB::SetPSPSeg(Bit16u)’:
../../include/dos_inc.h:459: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::psp_segment’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit8u DOS_MCB::GetType()’:
../../include/dos_inc.h:460: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::type’ to ‘Bit8u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_MCB::GetSize()’:
../../include/dos_inc.h:461: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::size’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_MCB::GetPSPSeg()’:
../../include/dos_inc.h:462: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::psp_segment’ to ‘Bit16u&’
make[3]: *** [debug.o] Error 1
make[3]: Leaving directory `/home/keithjr/dosbox/dosbox-0.61/src/debug'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/keithjr/dosbox/dosbox-0.61/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/keithjr/dosbox/dosbox-0.61'
make: *** [all] Error 2
What in the world is going on here? Is this a problem with outdated code? I can't figure out what could be wrong with my system to cause this. I have build-essential, as well as several other packages recommended here. (http://www.ubuntuforums.org/showpost.php?p=923773&postcount=9)
Anybody have any ideas?
Sorry, I've posted three threads in the past three days... it's just that I've tried running three awesome games in linux for the first time (mechwarrior 2, dungeon keeper, and now mechwarrior) and have run into insurmountable brick walls for the past two. I'm NOT letting this one slip through my fingers! :mad:
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetSize(Bit16u)’:
../../include/dos_inc.h:253: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::next_seg’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_PSP::GetSize()’:
../../include/dos_inc.h:254: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::next_seg’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetDTA(RealPt)’:
../../include/dos_inc.h:255: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::dta’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘RealPt DOS_PSP::GetDTA()’:
../../include/dos_inc.h:256: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::dta’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetEnvironment(Bit16u)’:
../../include/dos_inc.h:257: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::environment’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_PSP::GetEnvironment()’:
../../include/dos_inc.h:258: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::environment’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetParent(Bit16u)’:
../../include/dos_inc.h:262: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::psp_parent’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_PSP::GetParent()’:
../../include/dos_inc.h:263: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::psp_parent’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetStack(RealPt)’:
../../include/dos_inc.h:264: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::stack’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘RealPt DOS_PSP::GetStack()’:
../../include/dos_inc.h:265: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::stack’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘void DOS_PSP::SetInt22(RealPt)’:
../../include/dos_inc.h:266: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::int_22’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘RealPt DOS_PSP::GetInt22()’:
../../include/dos_inc.h:267: error: cannot bind packed field ‘0u->DOS_PSP::sPSP::int_22’ to ‘Bit32u&’
../../include/dos_inc.h: In member function ‘void DOS_DTA::SetDirID(Bit16u)’:
../../include/dos_inc.h:384: error: cannot bind packed field ‘0u->DOS_DTA::sDTA::dirID’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_DTA::GetDirID()’:
../../include/dos_inc.h:385: error: cannot bind packed field ‘0u->DOS_DTA::sDTA::dirID’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_MCB::SetType(Bit8u)’:
../../include/dos_inc.h:457: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::type’ to ‘Bit8u&’
../../include/dos_inc.h: In member function ‘void DOS_MCB::SetSize(Bit16u)’:
../../include/dos_inc.h:458: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::size’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘void DOS_MCB::SetPSPSeg(Bit16u)’:
../../include/dos_inc.h:459: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::psp_segment’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit8u DOS_MCB::GetType()’:
../../include/dos_inc.h:460: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::type’ to ‘Bit8u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_MCB::GetSize()’:
../../include/dos_inc.h:461: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::size’ to ‘Bit16u&’
../../include/dos_inc.h: In member function ‘Bit16u DOS_MCB::GetPSPSeg()’:
../../include/dos_inc.h:462: error: cannot bind packed field ‘0u->DOS_MCB::sMCB::psp_segment’ to ‘Bit16u&’
make[3]: *** [debug.o] Error 1
make[3]: Leaving directory `/home/keithjr/dosbox/dosbox-0.61/src/debug'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/keithjr/dosbox/dosbox-0.61/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/keithjr/dosbox/dosbox-0.61'
make: *** [all] Error 2
What in the world is going on here? Is this a problem with outdated code? I can't figure out what could be wrong with my system to cause this. I have build-essential, as well as several other packages recommended here. (http://www.ubuntuforums.org/showpost.php?p=923773&postcount=9)
Anybody have any ideas?
Sorry, I've posted three threads in the past three days... it's just that I've tried running three awesome games in linux for the first time (mechwarrior 2, dungeon keeper, and now mechwarrior) and have run into insurmountable brick walls for the past two. I'm NOT letting this one slip through my fingers! :mad: