[webkit-help] unable to remap select.dll error

Daebarkee Jung daebarkee at gmail.com
Thu Nov 11 10:30:29 PST 2010


Hello,
I am trying to build webkit cairo.
I have two different errors:
In BuildLog.htm : no external symbol about GetOpenFileName()
In cygwin prompt: select.dll remap error.

I wonder which is the first and main problem.

The build stops at WebKit and BuildLog.htm says:

---- BuildLog.htm ---
Performing Pre-Link Event...
        1 file(s) copied.
        1 file(s) copied.
Linking...
   Creating library
C:\cygwin\home\ILMO\r71697Build\lib\WebKit_debug.lib and object
C:\cygwin\home\ILMO\r71697Build\lib\WebKit_debug.exp
WebKitLib_debug.lib(WebChromeClient.obj) : error LNK2019: unresolved
external symbol __imp__GetOpenFileNameW at 4 referenced in function
"public: virtual void __thiscall WebChromeClient::runOpenPanel(class
WebCore::Frame *,class WTF::PassRefPtr)"
(?runOpenPanel at WebChromeClient@@UAEXPAVFrame at WebCore@@V?$PassRefPtr at VFileChooser@WebCore@@@WTF@@@Z)
C:\cygwin\home\ILMO\r71697Build\bin\WebKit_debug.dll : fatal error
LNK1120: 1 unresolved externals
Project : warning PRJ0018 : The following environment variables were not found:
$(PRODUCTION)
---- End of BuildLog.htm ----



The followings are my cygwin prompt build error message:



------ cygwin prompt -----
      0 [main] python 4396 C:\cygwin\bin\python.exe: *** fatal error -
unable to                                    remap
\\?\C:\cygwin\lib\python2.6\lib-dynload\select.dll to same address as
par                                   ent: 0x3A0000 != 0x3F0000
Stack trace:
Frame     Function  Args
0028A528  6102749B  (0028A528, 00000000, 00000000, 00000000)
0028A818  6102749B  (61177B80, 00008000, 00000000, 61179977)
0028B848  61004AFB  (611A136C, 6125C4A4, 003A0000, 003F0000)
End of stack trace
      1 [main] python 2024 fork: child 4396 - died waiting for dll
loading, errn                                   o 11
Traceback (most recent call last):
  File "WebKitTools/Scripts/print-vse-failure-logs", line 80, in <module>
    PrintVisualStudioExpressLogs().main()
  File "WebKitTools/Scripts/print-vse-failure-logs", line 68, in main
    obj_directory = self._obj_directory()
  File "WebKitTools/Scripts/print-vse-failure-logs", line 64, in _obj_directory
    build_directory =
self._executive.run_command([build_directory_script_path,
                      "--top-level"]).rstrip()
  File "/home/ILMO/r71697/WebKitTools/Scripts/webkitpy/common/system/executive.p
                                  y", line 346, in run_command
    close_fds=self._should_close_fds())
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child
    self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
---- End of cygwin prompt -----


I found this remap error can be figured out by using rebaseall.
So, as said in http://trac.webkit.org/wiki/BuildingOnWindows,
I made /tmp/rebasephp file like:

/lib/python2.6/lib-dynload/select.dll

And run the following:

c:\cygwin\bin\ash -c "/bin/rebaseall -T /tmp/rebasephp"

However, this made another error:
---- ash run ----
C:\Users\Daebark>C:\cygwin\bin\ash.exe -c "/bin/rebaseall -T /tmp/rebasephp"
/usr/lib/cygicudata.dll: skipped because nonexistent
/usr/lib/cygicui18n.dll: skipped because nonexistent
/usr/lib/cygicuio.dll: skipped because nonexistent
/usr/lib/cygicule.dll: skipped because nonexistent
/usr/lib/cygiculx.dll: skipped because nonexistent
/usr/lib/cygicutu.dll: skipped because nonexistent
/usr/lib/cygicuuc.dll: skipped because nonexistent
FixImage (/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll) failed
 with last error = 13
---- End of ash run ----

Any hint or advice would be appreciated.

Best regards,

Daebark


More information about the webkit-help mailing list