From nobody@www.freebsd.org  Tue Jun 18 20:21:19 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 15DEF37B40A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jun 2002 20:21:19 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5J3LIhG070394
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 Jun 2002 20:21:18 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g5J3LIqZ070392;
	Tue, 18 Jun 2002 20:21:18 -0700 (PDT)
Message-Id: <200206190321.g5J3LIqZ070392@www.freebsd.org>
Date: Tue, 18 Jun 2002 20:21:18 -0700 (PDT)
From: Rajat Datta <rdatta@austin.rr.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Bochs compile problem in main.cc
X-Send-Pr-Version: www-1.0

>Number:         39494
>Category:       ports
>Synopsis:       Bochs compile problem in main.cc
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 18 20:30:01 PDT 2002
>Closed-Date:    Tue Jun 18 21:14:14 PDT 2002
>Last-Modified:  Tue Jun 18 21:14:14 PDT 2002
>Originator:     Rajat Datta
>Release:        4.6-RC #0
>Organization:
>Environment:
FreeBSD tiramisu 4.6-RC FreeBSD 4.6-RC #0: Fri Jun 14 22:28:51 CDT 2002     root@tiramisu:/mnt/alt/obj/mnt/alt/src/sys/RAJAT  i386      
>Description:
When compiling Bochs with "make WITH_BOCHS_CPU_LEVEL=6 WITH_BOCHS_X86_DEBUGGER=yes install"
I encounter the following error:

main.cc: In function `int bx_init_hardware()':
main.cc:1177: `i' undeclared (first use this function)      
>How-To-Repeat:
      
>Fix:
 1177c1177
<   BX_CPU(0)->local_apic.set_id (0);
---
>   BX_CPU(0)->local_apic.set_id (i);


This is all right, since we have chosen only one CPU.     
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Tue Jun 18 21:13:46 PDT 2002 
State-Changed-Why:  
This problem was fixed a few hours ago. Update your ports collection and 
try again. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39494 
>Unformatted:
