Closed Bug 293580 Opened 20 years ago Closed 20 years ago

NSPR fails to compile under Windows MSVC8 AMD64 (x86-64)

Categories

(NSPR :: NSPR, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 225859

People

(Reporter: junk, Assigned: wtc)

Details

Attachments

(2 files)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; en) Opera 8.0
Build Identifier: 

NSPR fails to compile for me under Windows XP x64 version 5.2 (Build 3790.
srv03_sp1_rtm.050324-1447 : Service Pack 1) with MSVC8 (Visual Studio 2005 Beta 
2) and www.mozilla-x86-64.com's buildtools. The following error occurs during 
"make -f client.mk build:"

"mozilla\objbin\dist\include\nspr\prcpucfg.h(149) : fatal error C1189: #error :  
unknown processor architecture"

Reproducible: Always

Steps to Reproduce:
1. Set up VS2005 beta 2 build environment.
2. Compile Firefox (or possibly anything that depends on NSPR.)
Actual Results:  
Compilation fails at prcpucfg.h:

"mozilla\objbin\dist\include\nspr\prcpucfg.h(149) : fatal error C1189: #error :  
unknown processor architecture"

Expected Results:  
Compile successfully.

.mozconfig and my environment variables in mozset.bat should be attached below.
Attached file .mozconfig
Attachment #183134 - Attachment mime type: application/x-msdownload → text/plain
Thanks for the bug report.  This is a known issue.
I worked on it a year ago (even bought an AMD64 PC
for this work), but the patch I created hasn't been
reviewed or tested by others.

My patch is in bug 225859.  If you know how to apply
a patch, please give it a try.  I will attach a new
patch for the current NSPR source tree.

*** This bug has been marked as a duplicate of 225859 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: