From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058316080.tru64-unix-managers.marc@archive.invalid> From: Randy Rodgers Date: Tue, 27 Jul 1999 13:05:22 +0000 To: tru64-unix-managers Subject: Removing xmi from configuration causes kernel build to fail X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058316080 Managers, We upgraded a DEC 7000 to an AS 8400 last fall. We have since been gradually removing the XMI SCSI adapters & replacing them with PCI. We removed the last one this past weekend, but when we attempted to run "doconfig" to build the kernel after removing the last entries for XMI from the configuration file the build failed with the following: ===================================================================== cc: Warning: ./pci.h, line 2: The redefinition of the macro "NTIOP" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. #define NTIOP 1 --------------^ objZ: No such file or directory - lsb_data.o *** Exit 1 ===================================================================== I have tracked down the problem to the following header files in /sys/HOSTNAME: pci.h & xmi.h. The following is the contents of these files when XMI is in the configuration file: xmi.h #define NTIOP 1 #define NXMI 1 pci.h #define NPCI 1 #define NTIOP 1 Once we remove the xmi entries from the configuration file the contents of the xmi.h file are as follows: #define NTIOP 0 #define NXMI 1 This is what causes the problem, but I don't know what to do about it. Our current method of getting around this problem is to leave the uneeded xmi entries in the configuration file. I have logged a call with CSC, but thought I would see if any of you knew the answer while I am waiting for a response. TIA [================================= [ Randy Rodgers [ rrodgers@ci.ft-wayne.in.us [ Senior Systems Programmer [ Allen County/City of Fort Wayne [ Information Systems [ (219)427-5727 [=================================