ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > SymbianOS Port > building problem scummvm Goto page 1, 2  Next
building problem scummvm
  Author    Thread Reply to topic
muhul



Joined: 12 May 2010
Posts: 14
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

Rolling Eyes

 Reply with quote  
Post Wed May 12, 2010 3:57 am 
 View user's profile Send private message
Anotherguest
ScummVM Porter


Joined: 30 Oct 2005
Posts: 1425
Location: Malmoe, Sweden
 

You need to patch the Symbian tools in order to link it, or just reduce the number of supported engines you build.. just to test that your build works. cl_eabi.pl(or what is named now again) in your tools folder.

 Reply with quote  
Post Wed May 12, 2010 7:36 am 
 View user's profile Send private message
Anotherguest
ScummVM Porter


Joined: 30 Oct 2005
Posts: 1425
Location: Malmoe, Sweden
 

You also need a patched eexe lib, should be available somewhere on symbian support forums.

 Reply with quote  
Post Wed May 12, 2010 7:36 am 
 View user's profile Send private message
Anotherguest
ScummVM Porter


Joined: 30 Oct 2005
Posts: 1425
Location: Malmoe, Sweden
 

What version of SDL are you using, my port or the official port by Hannu? The official symbian port (in the SDL repository) will not run all engines properly due to mutex problems.

 Reply with quote  
Post Wed May 12, 2010 7:38 am 
 View user's profile Send private message
muhul



Joined: 12 May 2010
Posts: 14
 

Thanks Anotherguest

i used official SDL

change your release Smile

I will try it

sorry my bad english XD

 Reply with quote  
Post Wed May 12, 2010 9:16 am 
 View user's profile Send private message
muhul



Joined: 12 May 2010
Posts: 14
 

I have Question Anotherguest

where is eexe lib patch?

i search symbian forum but dead link Shocked

where is patch??

 Reply with quote  
Post Wed May 12, 2010 11:24 am 
 View user's profile Send private message
Anotherguest
ScummVM Porter


Joined: 30 Oct 2005
Posts: 1425
Location: Malmoe, Sweden
 

It was posted here before:

http://developer.symbian.com/forum/m...ID=68807#68807

I guess they have a copy somewhere

 Reply with quote  
Post Wed May 12, 2010 1:08 pm 
 View user's profile Send private message
muhul



Joined: 12 May 2010
Posts: 14
 

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?

 Reply with quote  
Post Wed May 12, 2010 3:26 pm 
 View user's profile Send private message
jvprat
ScummVM Developer


Joined: 30 Oct 2006
Posts: 71
 

Anotherguest: it would be nice if you could fill the Symbian compilation wiki page with these instructions: http://wiki.scummvm.org/index.php/Compiling_ScummVM/Symbian

 Reply with quote  
Post Wed May 12, 2010 3:54 pm 
 View user's profile Send private message
Anotherguest
ScummVM Porter


Joined: 30 Oct 2005
Posts: 1425
Location: Malmoe, Sweden
 

Ahh yes.. should update that to be inline with the other ports. You need to patch the cl_eabi.pl with offset 0xf00000 to build all engines. Or reduce the number of engines supported.

 Reply with quote  
Post Wed May 12, 2010 4:48 pm 
 View user's profile Send private message
muhul



Joined: 12 May 2010
Posts: 14
 

thanks reply Anotherguest

i change eexe.lib(http://81.91.109.109/forum/message.jspa?messageID=68807#68807)

I solved Problem Laughing

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 Very Happy

 Reply with quote  
Post Wed May 12, 2010 5:53 pm 
 View user's profile Send private message
fedor



Joined: 12 Oct 2013
Posts: 26
 

Hi, I try to build scummvm with Neverhood Support. I can't compile libmad and libtremor.lib because assembler code written for arm4 processor. How solve this problem? I'm using GCCE 4.6.3, SDL 1.2.14 Anotherguest version with codewarrior 2.7 and S60_5th_Edition_SDK_v1.0

 Reply with quote  
Post Sat Oct 12, 2013 12:51 pm 
 View user's profile Send private message ICQ Number
fedor



Joined: 12 Oct 2013
Posts: 26
 

Demo Neverhood works fine. I builded libtremor.lib but can't libmad.

 Reply with quote  
Post Mon Oct 14, 2013 4:36 pm 
 View user's profile Send private message ICQ Number
fedor



Joined: 12 Oct 2013
Posts: 26
 

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.

 Reply with quote  
Post Tue Oct 15, 2013 8:00 pm 
 View user's profile Send private message ICQ Number
fedor



Joined: 12 Oct 2013
Posts: 26
 

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'

 Reply with quote  
Post Thu Oct 24, 2013 8:57 am 
 View user's profile Send private message ICQ Number
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page 1, 2  Next


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge