Bug 39494

Summary: Bochs compile problem in main.cc
Product: Ports & Packages Reporter: Rajat Datta <rdatta>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Rajat Datta 2002-06-19 04:30:01 UTC
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)

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.
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-06-19 05:13:46 UTC
State Changed
From-To: open->closed

This problem was fixed a few hours ago. Update your ports collection and 
try again.