BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004824 [buildroot] Architecture Specific major sometimes 09-05-08 10:08 09-05-08 10:08
Reporter john_schimandle View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version 0.9.27
Summary 0004824: at91sam9263ek build fails due to CFG_DEBUG being undefined
Description project_build_arm/at91sam9263ek/at91bootstrap-2.3/board/at91sam9263ek/dataflash/at91sam9263ek.h

has the statement

#undef CFG_DEBUG

This statement causes the compile of project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/dataflash.c to fail because the debug functions
in project_build_arm/at91sam9263ek/at91bootstrap-2.3/driver/debug.c were
not compiled.

To fix the defect just change the offending line to

#define CFG_DEBUG

You could also make a more extensive fix that would actually make the debugging optional but that would required surrounding all calls to debug functions in all .c files with #ifdef CFG_DEBUG. This is more work and I don't know if this is necessary because this is the bootstrap loader.

Only reproduceable if you are building for the at91sam9263ek because this is the only .h file that has a undef for CFG_DEBUG. All other device include files have the define instead.
Additional Information Attached is modified file.
Attached Files  at91sam9263ek.h [^] (5,231 bytes) 09-05-08 10:08

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-05-08 10:08 john_schimandle New Issue
09-05-08 10:08 john_schimandle Status new => assigned
09-05-08 10:08 john_schimandle Assigned To  => buildroot
09-05-08 10:08 john_schimandle File Added: at91sam9263ek.h


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker