2.2.12 failed compile on RH6

Brian Hall (brianw.hall@compaq.com)
Mon, 30 Aug 1999 09:51:39 -0600 (MDT)


One two different PCs with RedHat 6 installed, the 2.2.12 kernel compile fails
in the same place (one overclocked Celeron 300 to 450, the other a P2-400):

/usr/src/linux-2.2.12/include/linux/pagemap.h: In function `page_address':
In file included from /usr/src/linux-2.2.12/include/linux/locks.h:8,
from /usr/src/linux-2.2.12/include/linux/blk.h:5,
from init/main.c:23:
/usr/src/linux-2.2.12/include/linux/pagemap.h:17: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/src/linux-2.2.12/include/linux/pagemap.h:17: (Each undeclared identifier
is reported only once
/usr/src/linux-2.2.12/include/linux/pagemap.h:17: for each function it appears
in.)
/usr/src/linux-2.2.12/include/linux/pagemap.h:18: warning: control reaches end
of non-void function
/usr/src/linux-2.2.12/include/asm/pgtable.h: In function `get_pgd_slow':
In file included from /usr/src/linux-2.2.12/include/linux/vmalloc.h:7,
from /usr/src/linux-2.2.12/include/asm/io.h:101,
from init/main.c:26:
/usr/src/linux-2.2.12/include/asm/pgtable.h:408: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/src/linux-2.2.12/include/asm/pgtable.h: In function `pte_alloc_kernel':
/usr/src/linux-2.2.12/include/asm/pgtable.h:497: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/src/linux-2.2.12/include/asm/pgtable.h:505: warning: control reaches end
of non-void function
/usr/src/linux-2.2.12/include/asm/pgtable.h: In function `pte_alloc':
/usr/src/linux-2.2.12/include/asm/pgtable.h:515: `PAGE_OFFSET_RAW' undeclared
(first use in this function)
/usr/src/linux-2.2.12/include/asm/io.h: In function `virt_to_phys':
In file included from init/main.c:26:
/usr/src/linux-2.2.12/include/asm/io.h:112: `PAGE_OFFSET_RAW' undeclared (first
use in this function)
/usr/src/linux-2.2.12/include/asm/io.h:113: warning: control reaches end of
non-void function
/usr/src/linux-2.2.12/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux-2.2.12/include/asm/io.h:117: `PAGE_OFFSET_RAW' undeclared (first
use in this function)
/usr/src/linux-2.2.12/include/asm/io.h:118: warning: control reaches end of
non-void function
/usr/src/linux-2.2.12/include/asm/io.h: In function `check_signature':
/usr/src/linux-2.2.12/include/asm/io.h:175: `PAGE_OFFSET_RAW' undeclared (first
use in this function)
make: *** [init/main.o] Error 1

Kernel configuration (blank & comment lines removed):

CONFIG_EXPERIMENTAL=y
CONFIG_M686=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_MTRR=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_QUIRKS=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_PCI_OLD_PROC=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_APM=y
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_PARIDE_PARPORT=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_SKB_LARGE=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_TCQ_ON_BY_DEFAULT=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=32
CONFIG_AIC7XXX_RESET_DELAY=1
CONFIG_SCSI_SYM53C8XX=y
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=4
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_EEXPRESS_PRO=m
CONFIG_NET_EISA=y
CONFIG_EEXPRESS_PRO100=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_NVRAM=y
CONFIG_JOYSTICK=y
CONFIG_JOY_ANALOG=m
CONFIG_AUTOFS_FS=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
CONFIG_EXT2_FS=y
CONFIG_NFS_FS=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_NLS=y
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_PAS=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_ADLIB=m
CONFIG_SOUND_GUS=m
CONFIG_GUS16=y
CONFIG_GUSMAX=y
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_PSS=m
CONFIG_PSS_MIXER=y
CONFIG_SOUND_MSS=m
CONFIG_SOUND_SSCAPE=m
CONFIG_SOUND_TRIX=m
CONFIG_SOUND_MAD16=m
CONFIG_MAD16_OLDCARD=y
CONFIG_SOUND_WAVEFRONT=m
CONFIG_SOUND_CS4232=m
CONFIG_SOUND_OPL3SA2=m
CONFIG_SOUND_MAUI=m
CONFIG_SOUND_SGALAXY=m
CONFIG_SOUND_AD1816=m
CONFIG_SOUND_OPL3SA1=m
CONFIG_SOUND_SOFTOSS=m
CONFIG_SOUND_YM3812=m
CONFIG_SOUND_VMIDI=m
CONFIG_SOUND_UART6850=m
CONFIG_MAGIC_SYSRQ=y

--
Brian Hall <brianw.hall@compaq.com>
Linux Consultant

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/