building problem scummvm
Moderator: ScummVM Team
building problem scummvm
Hi,
I have a problem building scummvm. During compiling I get the error message:
make -s -C \scummsvn\backends\platform\symbian\S60v3 -f "ICONS.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\ICONS\GCCE TO_BLDINF=..\..\..\..\..\scummsvn\backends\platform\symbian\S60v3 PLATFORM=GCCE CFG=UREL BLD
make -s -r -f "\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\SCUMMVM_A0000658_S60V3.GCCE" UREL
arm-none-symbianelf-ld: section .text [00008000 -> 00811013] overlaps section .data [00400000 -> 004490ef]
arm-none-symbianelf-ld: section .bss [004490f0 -> 00582a4f] overlaps section .text [00008000 -> 00811013]
arm-none-symbianelf-ld: \S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\urel\ScummVM_A0000658.exe: section .data lma 0x400000 overlaps previous sections
\S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\urel\EEXE.LIB(uc_exe_.o): In fnction `$b':
\EPOC32\BUILD\src\cedar\generic\base\e32\EEXE\ARMV5\urel\uc_exe_.cpp:(.text+0x2): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN4User9InvariantEv@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
\EPOC32\BUILD\src\cedar\generic\base\e32\EEXE\ARMV5\urel\uc_exe_.cpp:(.text+0xa): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN4User15HandleExceptionEPv@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
\S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\urel\EEXE.LIB(uc_exe.o): In function `$b':\src\cedar\generic\base\e32\EUSER\epoc\arm\uc_exe.cpp:(.text+0x6): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN8UserHeap15SetupThreadHeapEiR24SStdEpocThreadCreateInfo@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
\src\cedar\generic\base\e32\EUSER\epoc\arm\uc_exe.cpp:(.text+0x18): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN4User4ExitEi@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
make[1]: *** [\S60\devices\S60_3rd_FP2_SDK\epoc32\release\GCCE\urel\ScummVM_A0000658.exe] Error 1
make: *** [TARGETSCUMMVM_A0000658_S60V3] Error 2
make -r -f "\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\GCCE.make" FINAL CFG=UREL VERBOSE=-smake -s -C \scummsvn\backends\platform\symbian\S60v3 -f "ICONS.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\ICONS\GCCE TO_BLDINF=..\..\..\..\..\scummsvn\backends\platform\symbian\S60v3 PLATFORM=GCCE CFG=UREL FINAL
I am running windows 7 64bit, S60 3rd Edition SDK for Symbian OS, Feature Pack 2, S60 Open C Cpp Plug in 1.6, libmad 0.15.1b, zlib 1.2.5,Tremor 1.0.2,SDL 1.2.12,scummvm 1.1.1
I have a problem building scummvm. During compiling I get the error message:
make -s -C \scummsvn\backends\platform\symbian\S60v3 -f "ICONS.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\ICONS\GCCE TO_BLDINF=..\..\..\..\..\scummsvn\backends\platform\symbian\S60v3 PLATFORM=GCCE CFG=UREL BLD
make -s -r -f "\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\SCUMMVM_A0000658_S60V3.GCCE" UREL
arm-none-symbianelf-ld: section .text [00008000 -> 00811013] overlaps section .data [00400000 -> 004490ef]
arm-none-symbianelf-ld: section .bss [004490f0 -> 00582a4f] overlaps section .text [00008000 -> 00811013]
arm-none-symbianelf-ld: \S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\urel\ScummVM_A0000658.exe: section .data lma 0x400000 overlaps previous sections
\S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\urel\EEXE.LIB(uc_exe_.o): In fnction `$b':
\EPOC32\BUILD\src\cedar\generic\base\e32\EEXE\ARMV5\urel\uc_exe_.cpp:(.text+0x2): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN4User9InvariantEv@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
\EPOC32\BUILD\src\cedar\generic\base\e32\EEXE\ARMV5\urel\uc_exe_.cpp:(.text+0xa): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN4User15HandleExceptionEPv@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
\S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\urel\EEXE.LIB(uc_exe.o): In function `$b':\src\cedar\generic\base\e32\EUSER\epoc\arm\uc_exe.cpp:(.text+0x6): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN8UserHeap15SetupThreadHeapEiR24SStdEpocThreadCreateInfo@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
\src\cedar\generic\base\e32\EUSER\epoc\arm\uc_exe.cpp:(.text+0x18): relocation truncated to fit: R_ARM_THM_CALL against symbol `_ZN4User4ExitEi@@euser{000a0000}[100039e5].dll' defined in ER_RO section in \S60\devices\S60_3rd_FP2_SDK\epoc32\release\ARMV5\LIB\euser.dso
make[1]: *** [\S60\devices\S60_3rd_FP2_SDK\epoc32\release\GCCE\urel\ScummVM_A0000658.exe] Error 1
make: *** [TARGETSCUMMVM_A0000658_S60V3] Error 2
make -r -f "\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\GCCE.make" FINAL CFG=UREL VERBOSE=-smake -s -C \scummsvn\backends\platform\symbian\S60v3 -f "ICONS.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK\EPOC32\BUILD\scummsvn\backends\platform\symbian\S60v3\ICONS\GCCE TO_BLDINF=..\..\..\..\..\scummsvn\backends\platform\symbian\S60v3 PLATFORM=GCCE CFG=UREL FINAL
I am running windows 7 64bit, S60 3rd Edition SDK for Symbian OS, Feature Pack 2, S60 Open C Cpp Plug in 1.6, libmad 0.15.1b, zlib 1.2.5,Tremor 1.0.2,SDL 1.2.12,scummvm 1.1.1
-
- ScummVM Porter
- Posts: 1423
- Joined: Sun Oct 30, 2005 2:27 pm
- Location: Malmoe, Sweden
-
- ScummVM Porter
- Posts: 1423
- Joined: Sun Oct 30, 2005 2:27 pm
- Location: Malmoe, Sweden
-
- ScummVM Porter
- Posts: 1423
- Joined: Sun Oct 30, 2005 2:27 pm
- Location: Malmoe, Sweden
-
- ScummVM Porter
- Posts: 1423
- Joined: Sun Oct 30, 2005 2:27 pm
- Location: Malmoe, Sweden
It was posted here before:
http://developer.symbian.com/forum/m...ID=68807#68807
I guess they have a copy somewhere
http://developer.symbian.com/forum/m...ID=68807#68807
I guess they have a copy somewhere
thanks Anotherguest
I solved problem eexe.lib
but another error
make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\scummvm-1.1.1\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\SCUMMVM_A0000658_S60V3.GCCE" UREL
arm-none-symbianelf-ld: section .text [00008000 -> 008068eb] overlaps section .data [00400000 -> 00448a2f]
arm-none-symbianelf-ld: section .bss [00448a30 -> 005718ff] overlaps section .text [00008000 -> 008068eb]
arm-none-symbianelf-ld: \S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\scummvm-1.1.1\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\urel\ScummVM_A0000658.exe: section .data lma 0x400000 overlaps previous sections
make.exe: *** [\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\GCCE\urel\ScummVM_A0000658.exe] Error 1
what's wrong?
I solved problem eexe.lib
but another error
make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\scummvm-1.1.1\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\SCUMMVM_A0000658_S60V3.GCCE" UREL
arm-none-symbianelf-ld: section .text [00008000 -> 008068eb] overlaps section .data [00400000 -> 00448a2f]
arm-none-symbianelf-ld: section .bss [00448a30 -> 005718ff] overlaps section .text [00008000 -> 008068eb]
arm-none-symbianelf-ld: \S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\scummvm-1.1.1\backends\platform\symbian\S60v3\SCUMMVM_A0000658_S60V3\GCCE\urel\ScummVM_A0000658.exe: section .data lma 0x400000 overlaps previous sections
make.exe: *** [\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\GCCE\urel\ScummVM_A0000658.exe] Error 1
what's wrong?
Anotherguest: it would be nice if you could fill the Symbian compilation wiki page with these instructions: http://wiki.scummvm.org/index.php/Compi ... VM/Symbian
-
- ScummVM Porter
- Posts: 1423
- Joined: Sun Oct 30, 2005 2:27 pm
- Location: Malmoe, Sweden
thanks reply Anotherguest
i change eexe.lib(http://81.91.109.109/forum/message.jspa ... 8807#68807)
I solved Problem
I changed cl_bpabi.pm
"\$(CODE_SEGMENT_START) ", "\$(DATA_SEGMENT_START) 0x400000 ", "\$(SYMVER_OPTION) ","\$(SO_NAME_OPTION) ","$LinkAs"
http://www.forum.nokia.com/forum/showthread.php?t=78235
thanks advice Anotherguest
i change eexe.lib(http://81.91.109.109/forum/message.jspa ... 8807#68807)
I solved Problem
I changed cl_bpabi.pm
"\$(CODE_SEGMENT_START) ", "\$(DATA_SEGMENT_START) 0x400000 ", "\$(SYMVER_OPTION) ","\$(SO_NAME_OPTION) ","$LinkAs"
http://www.forum.nokia.com/forum/showthread.php?t=78235
thanks advice Anotherguest
Compiled libmad. Try to compile engines of Neverhood and Flight of Amazon Queen with mp3 support, get error :
\Symbian\S60_5th_Edition_SDK_v1.0\epoc32\release\ARMV5\urel\scummvm_queen.lib(sound.o): In function `Queen::MP3Sound::playSoundData(Common::File*, unsigned long, Audio::SoundHandle*)':
sound.cpp:(.text._ZN5Queen8MP3Sound13playSoundDataEPN6Common4FileEmPN5Audio11SoundHandleE[_ZN5Queen8MP3Sound13playSoundDataEPN6Common4FileEmPN5Audio11SoundHandleE]+0x40): undefined reference to `Audio::makeMP3Stream(Common::SeekableReadStream*, DisposeAfterUse::Flag)'
mad.h are in epoc32/include and libmad.lib are in \epoc32\release\armv5\urel.
In file
D:\Symbian\Projects\SDL\scummvm\engines\queen\sounds.cpp
in class declaration MP3Sound Carbide grayed playStream and AudioStreamWrapper. In OGGSound all looks fine. Build with ogg vorbis only succesful.
\Symbian\S60_5th_Edition_SDK_v1.0\epoc32\release\ARMV5\urel\scummvm_queen.lib(sound.o): In function `Queen::MP3Sound::playSoundData(Common::File*, unsigned long, Audio::SoundHandle*)':
sound.cpp:(.text._ZN5Queen8MP3Sound13playSoundDataEPN6Common4FileEmPN5Audio11SoundHandleE[_ZN5Queen8MP3Sound13playSoundDataEPN6Common4FileEmPN5Audio11SoundHandleE]+0x40): undefined reference to `Audio::makeMP3Stream(Common::SeekableReadStream*, DisposeAfterUse::Flag)'
mad.h are in epoc32/include and libmad.lib are in \epoc32\release\armv5\urel.
In file
D:\Symbian\Projects\SDL\scummvm\engines\queen\sounds.cpp
in class declaration MP3Sound Carbide grayed playStream and AudioStreamWrapper. In OGGSound all looks fine. Build with ogg vorbis only succesful.
Flight of Amazon Queen with FLAC, VORBIS and MP3 works. Patched cl_eabi.pl doesn't solves arm-none-symbianelf-ld: section .data loaded at [00a00000,00a1617b] overlaps section .text loaded at [00008000,01101d57]
And have this errors :
files/codesourcery/sourcery_codebench_lite_for_arm_symbianos/bin/../lib/gcc/arm-none-symbianelf/4.6.3/../../../../arm-none-symbianelf/lib\libsupc++.a(eh_personality.o): In function `base_of_encoded_value(unsigned char, _Unwind_Context*)':
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context+0x5c): undefined reference to `_Unwind_GetDataRelBase'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context+0x68): undefined reference to `_Unwind_GetRegionStart'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context+0x74): undefined reference to `_Unwind_GetTextRelBase'
d:/program files/codesourcery/sourcery_codebench_lite_for_arm_symbianos/bin/../lib/gcc/arm-none-symbianelf/4.6.3/../../../../arm-none-symbianelf/lib\libsupc++.a(eh_personality.o): In function `_ZL17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info.constprop.1':
eh_personality.cc:(.text._ZL17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info.constprop.1+0x18): undefined reference to `_Unwind_GetRegionStart'
d:/program files/codesourcery/sourcery_codebench_lite_for_arm_symbianos/bin/../lib/gcc/arm-none-symbianelf/4.6.3/../../../../arm-none-symbianelf/lib\libsupc++.a(eh_personality.o): In function `__gxx_personality_v0':
eh_personality.cc:(.text.__gxx_personality_v0+0x5c): undefined reference to `_Unwind_GetLanguageSpecificData'
eh_personality.cc:(.text.__gxx_personality_v0+0x1e0): undefined reference to `__gnu_unwind_frame'
eh_personality.cc:(.text.__gxx_personality_v0+0x224): undefined reference to `_Unwind_GetLanguageSpecificData'
arm-none-symbianelf-ld: \Symbian\S60_5th_Edition_SDK_v1.0\epoc32\release\ARMV5\urel\EEXE.LIB(uc_exe_.o)(.text+0x2): unresolvable R_ARM_THM_CALL relocation against symbol `_ZN4User9InvariantEv@@euser{000a0000}[100039e5].dll'
And have this errors :
files/codesourcery/sourcery_codebench_lite_for_arm_symbianos/bin/../lib/gcc/arm-none-symbianelf/4.6.3/../../../../arm-none-symbianelf/lib\libsupc++.a(eh_personality.o): In function `base_of_encoded_value(unsigned char, _Unwind_Context*)':
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context+0x5c): undefined reference to `_Unwind_GetDataRelBase'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context+0x68): undefined reference to `_Unwind_GetRegionStart'
eh_personality.cc:(.text._ZL21base_of_encoded_valuehP15_Unwind_Context+0x74): undefined reference to `_Unwind_GetTextRelBase'
d:/program files/codesourcery/sourcery_codebench_lite_for_arm_symbianos/bin/../lib/gcc/arm-none-symbianelf/4.6.3/../../../../arm-none-symbianelf/lib\libsupc++.a(eh_personality.o): In function `_ZL17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info.constprop.1':
eh_personality.cc:(.text._ZL17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info.constprop.1+0x18): undefined reference to `_Unwind_GetRegionStart'
d:/program files/codesourcery/sourcery_codebench_lite_for_arm_symbianos/bin/../lib/gcc/arm-none-symbianelf/4.6.3/../../../../arm-none-symbianelf/lib\libsupc++.a(eh_personality.o): In function `__gxx_personality_v0':
eh_personality.cc:(.text.__gxx_personality_v0+0x5c): undefined reference to `_Unwind_GetLanguageSpecificData'
eh_personality.cc:(.text.__gxx_personality_v0+0x1e0): undefined reference to `__gnu_unwind_frame'
eh_personality.cc:(.text.__gxx_personality_v0+0x224): undefined reference to `_Unwind_GetLanguageSpecificData'
arm-none-symbianelf-ld: \Symbian\S60_5th_Edition_SDK_v1.0\epoc32\release\ARMV5\urel\EEXE.LIB(uc_exe_.o)(.text+0x2): unresolvable R_ARM_THM_CALL relocation against symbol `_ZN4User9InvariantEv@@euser{000a0000}[100039e5].dll'