Closed Bug 549745 Opened 14 years ago Closed 14 years ago

Problem with nsinstall.exe cross-compiling to WinCE: "[Error 22] The requested operation requires elevation" and "Bad file number"

Categories

(Firefox Build System :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 515513

People

(Reporter: cjones, Unassigned)

Details

Attachments

(1 file)

Attached file wince mozconfig
This is with VS2008 and the Windows Mobile 6 SDK.  I'm trying to build with pymake, if that makes any difference.

After configuring and running make from the objdir, I almost immediately get the error

make.py[4]: Leaving directory 'c:\Users\cjones\mozilla\wm-dbg\config\mkdepend'
c:\Users\cjones\mozilla\wm-dbg\config\Makefile:106:0$ c:/Users/cjones/mozilla/wm
-dbg/config/nsinstall.exe -R -m 644 ../mozilla-config.h ../../infalloc-mc/config
/nsStaticComponents.h  ../dist/include
[Error 22] The requested operation requires elevation
c:\Users\cjones\mozilla\wm-dbg\config\Makefile:106:0: command 'c:/Users/cjones/m
ozilla/wm-dbg/config/nsinstall.exe -R -m 644 ../mozilla-config.h ../../infalloc-
mc/config/nsStaticComponents.h  ../dist/include' failed, return code -127
c:\Users\cjones\mozilla\infalloc-mc\config\rules.mk:762:0: command 'c:/mozilla-b
uild/python25/python.exe c:/Users/cjones/mozilla/pymake/make.py -C config export
' failed, return code 2
c:\Users\cjones\mozilla\infalloc-mc\config\rules.mk:777:0: command 'c:/mozilla-b
uild/python25/python.exe c:/Users/cjones/mozilla/pymake/make.py export_tier_base
' failed, return code 2
c:\Users\cjones\mozilla\infalloc-mc\config\rules.mk:728:0: command 'c:/mozilla-b
uild/python25/python.exe c:/Users/cjones/mozilla/pymake/make.py  tier_base' fail
ed, return code 2

If I try invoking the nsinstall.exe command directly, I get

$ c:/Users/cjones/mozilla/wm-dbg/config/nsinstall.exe -R -m 644 ../mozilla-config.h ../../infalloc-mc/config /nsStaticComponents.h  ../dist/include
bash": c:/Users/cjones/mozilla/wm-dbg/config/nsinstall.exe: Bad file number
Oops.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Attachment #429852 - Attachment mime type: application/octet-stream → text/plain
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: