Red Hat Bugzilla – Bug 226783
Anaconda source code still refer to deprecated declarations
Last modified: 2007-11-30 17:11:56 EST
Description of problem:
I want to recompile Anaconda (more specificly its loader app) to add a few
customizations, but its source code refer to deprecated declaration like
"START_ARRAY". Commenting out the source code only lead to other similar problems.
Version-Release number of selected component (if applicable):
Fully updated Fedora Core 6 (2007.01.30)
Steps to Reproduce:
1. Download and install anaconda-18.104.22.168-1.src.rpm
2. Download and install all required "devel" package like libdhcp-devel
3. Go to anaconda main source code directory and run make
isys.c: In function ‘doRaidStart’:
isys.c:974: error: ‘START_ARRAY’ undeclared (first use in this function)
isys.c:974: error: (Each undeclared identifier is reported only once
isys.c:974: error: for each function it appears in.)
make: *** [isys.lo] Error 1
make: Leaving directory `/data/fedora/fc6/loader/anaconda-22.214.171.124/isys'
make: *** [subdirs] Error 1
Its look like the "kernel-headers-2.6.19-1.2895.fc6" package, which contains
the "/usr/include/linux/raid/md_u.h" defective file, is not up to date.
Anaconda changes a lot. If you want to rebuild it, patch it, etc, you need to
either get the source from CVS or grab a source RPM from rawhide. We've fixed
this problem (and you really don't need to report stuff like this).