Build error while compiling bltinmodule.o

Asked by Mark Hurenkamp

Hi,

When building I get the following error, m I doing something wrong here?

scons: Reading SConscript files ...
EPOCROOT=\
Info: SIS creation disabled
Info: Symbian OS version = 9.1
Info: UI platform = S60 3.0
Building winscw udeb
Defines []
Building internal extensions:['applicationmanager', 'calendar', 'contacts', 'e32
db', 'gles', 'globalui', 'gps', 'graphics', 'inbox', 'keycapture', 'logs', 'mess
aging', 'miso', 'recorder', 'socket', 'sysinfo', 'telephone', 'topwindow', 'uikl
udges', 'zlib']
Building external extensions:[]
Getting dependencies for _applicationmanager.lib
Getting dependencies for _calendar.lib
Getting dependencies for _contacts.lib
Getting dependencies for e32db.lib
Getting dependencies for gles.lib
Getting dependencies for globalui.lib
Getting dependencies for _locationacq.lib
Getting dependencies for _graphics.lib
Getting dependencies for inbox.lib
Getting dependencies for _keycapture.lib
Getting dependencies for _logs.lib
Getting dependencies for _messaging.lib
Getting dependencies for miso.lib
Getting dependencies for _recorder.lib
Getting dependencies for e32socket.lib
Getting dependencies for _sysinfo.lib
Getting dependencies for _telephone.lib
Getting dependencies for _topwindow.lib
Getting dependencies for _uikludges.lib
Getting dependencies for zlib.lib
Regenerating template target core\Symbian\config.c
Getting dependencies for PythonCommunityConfig.lib
Getting dependencies for PythonCommunity.dll
Getting dependencies for PythonCommunity_appui.dll
Allocated UID:0xE1000000
Getting dependencies for PythonCommunity.exe
Allocated UID:0xE1000001
Getting dependencies for PythonCommunity_launcher.exe
Allocated UID:0xE1000002
Getting dependencies for helloworld_0xe1000002.exe
Allocated UID:0xE1000003
Getting dependencies for btconsole_0xe1000003.exe
Allocated UID:0xE1000004
Getting dependencies for filebrowser_0xe1000004.exe
Allocated UID:0xE1000005
Creating a distribution SIS PythonCommunity.sis with UID 0xe1000005
scons: done reading SConscript files.
scons: Building targets ...
mwccsym2 -o winscw_udeb\PythonCommunity_dll\core\Python\bltinmodule.o -c -g -O0
-inline off -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -ms
gstyle gcc -enum int -str pool -exc ms -trigraphs on -nostdinc -cwd source -I- -
I\epoc32\include -I\epoc32\include\variant -include "symbian_os_v9.1.hrh" -d "BU
ILTIN_SYSINFO" -d "BUILTIN_GLES" -d "BUILTIN_E32SOCKET" -d "BUILTIN_GLOBALUI" -d
 "BUILTIN_INBOX" -d "BUILTIN_CONTACTS" -d "BUILTIN_APPLICATIONMANAGER" -d "BUILT
IN_LOGGING" -d "BUILTIN_E32DB" -d "BUILTIN_GPS" -d "BUILTIN_ZLIBMODULE" -d "BUIL
TIN_RECORDER" -d "BUILTIN_TOPWINDOW" -d "BUILTIN_TELEPHONE" -d "USE_GLOBAL_DATA_
HACK" -d "HAVE_ACTIVESCHEDULERWAIT" -d "BUILTIN_GRAPHICS" -d "BUILTIN_MESSAGING"
 -d "BUILTIN_CALENDAR" -d "BUILTIN_MISO" -d "BUILTIN_KEYCAPTURE" -d "HAVE_HUGE_V
AL" -d "BUILTIN_UIKLUDGES" -d "__UID3__=0x0" -d "__SYMBIAN32__" -d "_UNICODE" -d
 "__SUPPORT_CPP_EXCEPTIONS__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SE
RIES60__" -d "__SYMBIAN_OS_VERSION__=91" -d "__UI_VERSION__=30" -d "_DEBUG" -d "
__CW32__" -d "__WINS__" -d "__WINSCW__" -d "__DLL__" -i W:\epoc32\include -i W:\
epoc32\include\libc -i core\Symbian -i core\Objects -i core\Parser -i core\Pytho
n -i core\include -i core\Modules core\Python\bltinmodule.c
scons: *** [winscw_udeb\PythonCommunity_dll\core\Python\bltinmodule.o] Exception

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Taskmaster.py"
, line 220, in execute
    self.targets[0].build()
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Node\__init__.
py", line 370, in build
    apply(self.get_executor(), (self,), kw)
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Executor.py",
line 145, in __call__
    return self.do_execute(target, kw)
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Executor.py",
line 131, in do_execute
    status = apply(act, (self.targets, self.get_sources(), env), kw)
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Action.py", li
ne 755, in __call__
    show, execute, chdir)
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Action.py", li
ne 815, in __call__
    return apply(c.__call__, args, kw)
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Action.py", li
ne 467, in __call__
    stat = self.execute(target, source, env)
  File "C:\Python25\Lib\site-packages\scons-1.0.1.d20080915\SCons\Action.py", li
ne 679, in execute
    result = spawn(shell, escape, cmd_line[0], cmd_line, ENV)
  File "W:\workspace\pys60\pys60community\src\scons_symbian\colorizer.py", line
166, in spawn
    shell = False, env = env)
  File "c:\Python25\lib\subprocess.py", line 594, in __init__
    errread, errwrite)
  File "c:\Python25\lib\subprocess.py", line 816, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
scons: building terminated because of errors.

Question information

Language:
English Edit question
Status:
Solved
For:
PyS60 community Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Hurenkamp
Solved:
Last query:
Last reply:
Revision history for this message
Mark Hurenkamp (mark-hurenkamp) said :
#1

It turns out that the WINSCW environment could not be found.
Running Carbide.c++ v1.3->Configure environment for WINSCW from the windows menu solved my problem.

Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) said :
#2

Thanks Mark!