* `smp_num_cpus' undeclared in 2.4.3
@ 2001-05-08 22:41 Jaswinder Singh
0 siblings, 0 replies; only message in thread
From: Jaswinder Singh @ 2001-05-08 22:41 UTC (permalink / raw)
To: linux-kernel; +Cc: Jaswinder Singh
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
Dear linux-kernel mailing list,
I am trying to build 2.4.3 for Intel machine .
But i am getting this error when i say no to 'CONFIG_SMP' :-
In file included from ksyms.c:17:
/usr/src/linux-2.4.3/include/linux/kernel_stat.h:48: `smp_num_cpus'
undeclared (first use in this function)
/usr/src/linux-2.4.3/include/linux/kernel_stat.h:48: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4.3/include/linux/kernel_stat.h:48: for each function it
appears in.)
make[2]: *** [ksyms.o] Error 1
but when i say yes to 'CONFIG_SMP' , there is no compilation error.
I am attaching autoconf.h for reference.
Thanks ,
Best Regards,
Jaswinder.
--
These are my opinions not 3Di.
[-- Attachment #2: autoconf.h --]
[-- Type: application/octet-stream, Size: 12128 bytes --]
/*
* Automatically generated C config: don't edit
*/
#define AUTOCONF_INCLUDED
#define CONFIG_X86 1
#define CONFIG_ISA 1
#undef CONFIG_SBUS
#define CONFIG_UID16 1
/*
* Code maturity level options
*/
#undef CONFIG_EXPERIMENTAL
/*
* Loadable module support
*/
#define CONFIG_MODULES 1
#define CONFIG_MODVERSIONS 1
#define CONFIG_KMOD 1
/*
* Processor type and features
*/
#undef CONFIG_M386
#undef CONFIG_M486
#define CONFIG_M586 1
#undef CONFIG_M586TSC
#undef CONFIG_M586MMX
#undef CONFIG_M686
#undef CONFIG_MPENTIUMIII
#undef CONFIG_MPENTIUM4
#undef CONFIG_MK6
#undef CONFIG_MK7
#undef CONFIG_MCRUSOE
#undef CONFIG_MWINCHIPC6
#undef CONFIG_MWINCHIP2
#undef CONFIG_MWINCHIP3D
#define CONFIG_X86_WP_WORKS_OK 1
#define CONFIG_X86_INVLPG 1
#define CONFIG_X86_CMPXCHG 1
#define CONFIG_X86_BSWAP 1
#define CONFIG_X86_POPAD_OK 1
#define CONFIG_X86_L1_CACHE_SHIFT (5)
#define CONFIG_X86_USE_STRING_486 1
#define CONFIG_X86_ALIGNMENT_16 1
#undef CONFIG_TOSHIBA
#undef CONFIG_MICROCODE
#undef CONFIG_X86_MSR
#undef CONFIG_X86_CPUID
#define CONFIG_NOHIGHMEM 1
#undef CONFIG_HIGHMEM4G
#undef CONFIG_HIGHMEM64G
#undef CONFIG_MATH_EMULATION
#undef CONFIG_MTRR
#undef CONFIG_SMP
#undef CONFIG_X86_UP_IOAPIC
/*
* General setup
*/
#define CONFIG_NET 1
#undef CONFIG_VISWS
#define CONFIG_PCI 1
#undef CONFIG_PCI_GOBIOS
#undef CONFIG_PCI_GODIRECT
#define CONFIG_PCI_GOANY 1
#define CONFIG_PCI_BIOS 1
#define CONFIG_PCI_DIRECT 1
#define CONFIG_PCI_NAMES 1
#undef CONFIG_EISA
#undef CONFIG_MCA
#define CONFIG_HOTPLUG 1
/*
* PCMCIA/CardBus support
*/
#define CONFIG_PCMCIA 1
#define CONFIG_CARDBUS 1
#undef CONFIG_I82365
#undef CONFIG_TCIC
#define CONFIG_SYSVIPC 1
#undef CONFIG_BSD_PROCESS_ACCT
#define CONFIG_SYSCTL 1
#define CONFIG_KCORE_ELF 1
#undef CONFIG_KCORE_AOUT
#define CONFIG_BINFMT_AOUT 1
#define CONFIG_BINFMT_ELF 1
#define CONFIG_BINFMT_MISC 1
#define CONFIG_PM 1
#undef CONFIG_APM
/*
* Memory Technology Devices (MTD)
*/
#undef CONFIG_MTD
/*
* Parallel port support
*/
#undef CONFIG_PARPORT
/*
* Plug and Play configuration
*/
#define CONFIG_PNP 1
#define CONFIG_ISAPNP 1
/*
* Block devices
*/
#define CONFIG_BLK_DEV_FD 1
#undef CONFIG_BLK_DEV_XD
#undef CONFIG_PARIDE
#undef CONFIG_BLK_CPQ_DA
#undef CONFIG_BLK_CPQ_CISS_DA
#undef CONFIG_BLK_DEV_DAC960
#undef CONFIG_BLK_DEV_LOOP
#undef CONFIG_BLK_DEV_NBD
#undef CONFIG_BLK_DEV_RAM
#undef CONFIG_BLK_DEV_INITRD
/*
* Multi-device support (RAID and LVM)
*/
#undef CONFIG_MD
#undef CONFIG_BLK_DEV_MD
#undef CONFIG_MD_LINEAR
#undef CONFIG_MD_RAID0
#undef CONFIG_MD_RAID1
#undef CONFIG_MD_RAID5
#undef CONFIG_BLK_DEV_LVM
/*
* Networking options
*/
#define CONFIG_PACKET 1
#undef CONFIG_PACKET_MMAP
#undef CONFIG_NETLINK
#undef CONFIG_NETFILTER
#undef CONFIG_FILTER
#define CONFIG_UNIX 1
#define CONFIG_INET 1
#define CONFIG_IP_MULTICAST 1
#undef CONFIG_IP_ADVANCED_ROUTER
#undef CONFIG_IP_PNP
#undef CONFIG_NET_IPIP
#undef CONFIG_NET_IPGRE
#undef CONFIG_IP_MROUTE
#undef CONFIG_INET_ECN
#undef CONFIG_SYN_COOKIES
/*
*
*/
#undef CONFIG_IPX
#undef CONFIG_ATALK
#undef CONFIG_DECNET
#undef CONFIG_BRIDGE
/*
* QoS and/or fair queueing
*/
#undef CONFIG_NET_SCHED
/*
* Telephony Support
*/
#undef CONFIG_PHONE
#undef CONFIG_PHONE_IXJ
/*
* ATA/IDE/MFM/RLL support
*/
#define CONFIG_IDE 1
/*
* IDE, ATA and ATAPI Block devices
*/
#define CONFIG_BLK_DEV_IDE 1
/*
* Please see Documentation/ide.txt for help/info on IDE drives
*/
#undef CONFIG_BLK_DEV_HD_IDE
#undef CONFIG_BLK_DEV_HD
#define CONFIG_BLK_DEV_IDEDISK 1
#undef CONFIG_IDEDISK_MULTI_MODE
#undef CONFIG_BLK_DEV_IDEDISK_VENDOR
#undef CONFIG_BLK_DEV_IDEDISK_FUJITSU
#undef CONFIG_BLK_DEV_IDEDISK_IBM
#undef CONFIG_BLK_DEV_IDEDISK_MAXTOR
#undef CONFIG_BLK_DEV_IDEDISK_QUANTUM
#undef CONFIG_BLK_DEV_IDEDISK_SEAGATE
#undef CONFIG_BLK_DEV_IDEDISK_WD
#undef CONFIG_BLK_DEV_COMMERIAL
#undef CONFIG_BLK_DEV_TIVO
#undef CONFIG_BLK_DEV_IDECS
#define CONFIG_BLK_DEV_IDECD 1
#undef CONFIG_BLK_DEV_IDETAPE
#undef CONFIG_BLK_DEV_IDEFLOPPY
#undef CONFIG_BLK_DEV_IDESCSI
/*
* IDE chipset support/bugfixes
*/
#define CONFIG_BLK_DEV_CMD640 1
#undef CONFIG_BLK_DEV_CMD640_ENHANCED
#undef CONFIG_BLK_DEV_ISAPNP
#define CONFIG_BLK_DEV_RZ1000 1
#define CONFIG_BLK_DEV_IDEPCI 1
#define CONFIG_IDEPCI_SHARE_IRQ 1
#undef CONFIG_BLK_DEV_IDEDMA_PCI
#undef CONFIG_BLK_DEV_OFFBOARD
#undef CONFIG_IDEDMA_PCI_AUTO
#undef CONFIG_BLK_DEV_IDEDMA
#undef CONFIG_IDEDMA_PCI_WIP
#undef CONFIG_IDEDMA_NEW_DRIVE_LISTINGS
#undef CONFIG_BLK_DEV_AEC62XX
#undef CONFIG_AEC62XX_TUNING
#undef CONFIG_BLK_DEV_ALI15X3
#undef CONFIG_WDC_ALI15X3
#undef CONFIG_BLK_DEV_AMD7409
#undef CONFIG_AMD7409_OVERRIDE
#undef CONFIG_BLK_DEV_CMD64X
#undef CONFIG_BLK_DEV_CY82C693
#undef CONFIG_BLK_DEV_CS5530
#undef CONFIG_BLK_DEV_HPT34X
#undef CONFIG_HPT34X_AUTODMA
#undef CONFIG_BLK_DEV_HPT366
#undef CONFIG_BLK_DEV_PIIX
#undef CONFIG_PIIX_TUNING
#undef CONFIG_BLK_DEV_NS87415
#undef CONFIG_BLK_DEV_OPTI621
#undef CONFIG_BLK_DEV_PDC202XX
#undef CONFIG_PDC202XX_BURST
#undef CONFIG_BLK_DEV_OSB4
#undef CONFIG_BLK_DEV_SIS5513
#undef CONFIG_BLK_DEV_SLC90E66
#undef CONFIG_BLK_DEV_TRM290
#undef CONFIG_BLK_DEV_VIA82CXXX
#undef CONFIG_IDE_CHIPSETS
#undef CONFIG_IDEDMA_AUTO
#undef CONFIG_DMA_NONPCI
#define CONFIG_BLK_DEV_IDE_MODES 1
/*
* SCSI support
*/
#undef CONFIG_SCSI
/*
* I2O device support
*/
#undef CONFIG_I2O
#undef CONFIG_I2O_PCI
#undef CONFIG_I2O_BLOCK
#undef CONFIG_I2O_LAN
#undef CONFIG_I2O_SCSI
#undef CONFIG_I2O_PROC
/*
* Network device support
*/
#define CONFIG_NETDEVICES 1
/*
* ARCnet devices
*/
#undef CONFIG_ARCNET
#undef CONFIG_DUMMY
#define CONFIG_DUMMY_MODULE 1
#undef CONFIG_BONDING
#undef CONFIG_EQUALIZER
#undef CONFIG_TUN
#undef CONFIG_NET_SB1000
/*
* Ethernet (10 or 100Mbit)
*/
#define CONFIG_NET_ETHERNET 1
#undef CONFIG_NET_VENDOR_3COM
#undef CONFIG_LANCE
#undef CONFIG_NET_VENDOR_SMC
#undef CONFIG_NET_VENDOR_RACAL
#undef CONFIG_DEPCA
#undef CONFIG_HP100
#undef CONFIG_NET_ISA
#define CONFIG_NET_PCI 1
#undef CONFIG_PCNET32
#undef CONFIG_ADAPTEC_STARFIRE
#undef CONFIG_AC3200
#undef CONFIG_APRICOT
#undef CONFIG_CS89x0
#undef CONFIG_TULIP
#undef CONFIG_DE4X5
#undef CONFIG_DGRS
#undef CONFIG_DM9102
#define CONFIG_EEPRO100 1
#undef CONFIG_EEPRO100_PM
#undef CONFIG_LNE390
#undef CONFIG_NATSEMI
#undef CONFIG_NE2K_PCI
#undef CONFIG_NE3210
#undef CONFIG_ES3210
#undef CONFIG_8139TOO
#undef CONFIG_8139TOO_PIO
#undef CONFIG_8139TOO_TUNE_TWISTER
#undef CONFIG_8139TOO_8129
#undef CONFIG_SIS900
#undef CONFIG_EPIC100
#undef CONFIG_SUNDANCE
#undef CONFIG_TLAN
#undef CONFIG_VIA_RHINE
#undef CONFIG_WINBOND_840
#undef CONFIG_HAPPYMEAL
#undef CONFIG_NET_POCKET
/*
* Ethernet (1000 Mbit)
*/
#undef CONFIG_ACENIC
#undef CONFIG_HAMACHI
#undef CONFIG_SK98LIN
#undef CONFIG_FDDI
#undef CONFIG_PPP
#undef CONFIG_SLIP
/*
* Wireless LAN (non-hamradio)
*/
#undef CONFIG_NET_RADIO
/*
* Token Ring devices
*/
#undef CONFIG_TR
#undef CONFIG_NET_FC
/*
* Wan interfaces
*/
#undef CONFIG_WAN
/*
* PCMCIA network device support
*/
#define CONFIG_NET_PCMCIA 1
#undef CONFIG_PCMCIA_3C589
#undef CONFIG_PCMCIA_3C574
#undef CONFIG_PCMCIA_FMVJ18X
#define CONFIG_PCMCIA_PCNET 1
#undef CONFIG_PCMCIA_NMCLAN
#undef CONFIG_PCMCIA_SMC91C92
#undef CONFIG_PCMCIA_XIRC2PS
#undef CONFIG_ARCNET_COM20020_CS
#undef CONFIG_PCMCIA_IBMTR
#undef CONFIG_PCMCIA_XIRTULIP
#define CONFIG_NET_PCMCIA_RADIO 1
#define CONFIG_PCMCIA_RAYCS 1
#undef CONFIG_PCMCIA_HERMES
#undef CONFIG_PCMCIA_NETWAVE
#undef CONFIG_PCMCIA_WAVELAN
#undef CONFIG_AIRONET4500_CS
#define CONFIG_PCMCIA_NETCARD 1
/*
* Amateur Radio support
*/
#undef CONFIG_HAMRADIO
/*
* IrDA (infrared) support
*/
#undef CONFIG_IRDA
/*
* ISDN subsystem
*/
#undef CONFIG_ISDN
/*
* Old CD-ROM drivers (not SCSI, not IDE)
*/
#undef CONFIG_CD_NO_IDESCSI
/*
* Input core support
*/
#undef CONFIG_INPUT
/*
* Character devices
*/
#define CONFIG_VT 1
#define CONFIG_VT_CONSOLE 1
#define CONFIG_SERIAL 1
#undef CONFIG_SERIAL_CONSOLE
#undef CONFIG_SERIAL_EXTENDED
#undef CONFIG_SERIAL_NONSTANDARD
#define CONFIG_UNIX98_PTYS 1
#define CONFIG_UNIX98_PTY_COUNT (256)
/*
* I2C support
*/
#undef CONFIG_I2C
/*
* Mice
*/
#undef CONFIG_BUSMOUSE
#define CONFIG_MOUSE 1
#define CONFIG_PSMOUSE 1
#undef CONFIG_82C710_MOUSE
#undef CONFIG_PC110_PAD
/*
* Joysticks
*/
#undef CONFIG_JOYSTICK
/*
* Input core support is needed for joysticks
*/
#undef CONFIG_QIC02_TAPE
/*
* Watchdog Cards
*/
#undef CONFIG_WATCHDOG
#undef CONFIG_INTEL_RNG
#undef CONFIG_NVRAM
#undef CONFIG_RTC
#undef CONFIG_DTLK
#undef CONFIG_R3964
#undef CONFIG_APPLICOM
/*
* Ftape, the floppy tape device driver
*/
#undef CONFIG_FTAPE
#define CONFIG_AGP 1
#define CONFIG_AGP_INTEL 1
#define CONFIG_AGP_I810 1
#define CONFIG_AGP_VIA 1
#define CONFIG_AGP_AMD 1
#define CONFIG_AGP_SIS 1
#define CONFIG_AGP_ALI 1
#define CONFIG_DRM 1
#define CONFIG_DRM_TDFX 1
#undef CONFIG_DRM_GAMMA
#undef CONFIG_DRM_R128
#define CONFIG_DRM_RADEON 1
#undef CONFIG_DRM_I810
#undef CONFIG_DRM_MGA
/*
* PCMCIA character devices
*/
#undef CONFIG_PCMCIA_SERIAL_CS
/*
* Multimedia devices
*/
#undef CONFIG_VIDEO_DEV
/*
* File systems
*/
#undef CONFIG_QUOTA
#undef CONFIG_AUTOFS_FS
#define CONFIG_AUTOFS4_FS 1
#undef CONFIG_REISERFS_FS
#undef CONFIG_REISERFS_CHECK
#undef CONFIG_ADFS_FS
#undef CONFIG_ADFS_FS_RW
#undef CONFIG_AFFS_FS
#undef CONFIG_HFS_FS
#undef CONFIG_BFS_FS
#undef CONFIG_FAT_FS
#undef CONFIG_MSDOS_FS
#undef CONFIG_UMSDOS_FS
#undef CONFIG_VFAT_FS
#undef CONFIG_EFS_FS
#undef CONFIG_JFFS_FS
#undef CONFIG_CRAMFS
#undef CONFIG_RAMFS
#define CONFIG_ISO9660_FS 1
#undef CONFIG_JOLIET
#undef CONFIG_MINIX_FS
#undef CONFIG_NTFS_FS
#undef CONFIG_NTFS_RW
#undef CONFIG_HPFS_FS
#define CONFIG_PROC_FS 1
#undef CONFIG_DEVFS_FS
#undef CONFIG_DEVFS_MOUNT
#undef CONFIG_DEVFS_DEBUG
#define CONFIG_DEVPTS_FS 1
#undef CONFIG_QNX4FS_FS
#undef CONFIG_QNX4FS_RW
#undef CONFIG_ROMFS_FS
#define CONFIG_EXT2_FS 1
#undef CONFIG_SYSV_FS
#undef CONFIG_SYSV_FS_WRITE
#undef CONFIG_UDF_FS
#undef CONFIG_UDF_RW
#undef CONFIG_UFS_FS
#undef CONFIG_UFS_FS_WRITE
/*
* Network File Systems
*/
#undef CONFIG_CODA_FS
#undef CONFIG_NFS_FS
#undef CONFIG_NFS_V3
#undef CONFIG_ROOT_NFS
#undef CONFIG_NFSD
#undef CONFIG_NFSD_V3
#undef CONFIG_SUNRPC
#undef CONFIG_LOCKD
#undef CONFIG_SMB_FS
#undef CONFIG_NCP_FS
#undef CONFIG_NCPFS_PACKET_SIGNING
#undef CONFIG_NCPFS_IOCTL_LOCKING
#undef CONFIG_NCPFS_STRONG
#undef CONFIG_NCPFS_NFS_NS
#undef CONFIG_NCPFS_OS2_NS
#undef CONFIG_NCPFS_SMALLDOS
#undef CONFIG_NCPFS_NLS
#undef CONFIG_NCPFS_EXTRAS
/*
* Partition Types
*/
#undef CONFIG_PARTITION_ADVANCED
#define CONFIG_MSDOS_PARTITION 1
#undef CONFIG_SMB_NLS
#undef CONFIG_NLS
/*
* Console drivers
*/
#define CONFIG_VGA_CONSOLE 1
#undef CONFIG_VIDEO_SELECT
/*
* Sound
*/
#define CONFIG_SOUND 1
#undef CONFIG_SOUND_CMPCI
#undef CONFIG_SOUND_EMU10K1
#undef CONFIG_SOUND_FUSION
#undef CONFIG_SOUND_CS4281
#undef CONFIG_SOUND_ES1370
#define CONFIG_SOUND_ES1371 1
#undef CONFIG_SOUND_ESSSOLO1
#undef CONFIG_SOUND_MAESTRO
#undef CONFIG_SOUND_MAESTRO3
#undef CONFIG_SOUND_ICH
#undef CONFIG_SOUND_SONICVIBES
#undef CONFIG_SOUND_TRIDENT
#undef CONFIG_SOUND_MSNDCLAS
#undef CONFIG_SOUND_MSNDPIN
#undef CONFIG_SOUND_VIA82CXXX
#undef CONFIG_SOUND_OSS
#undef CONFIG_SOUND_TVMIXER
/*
* USB support
*/
#undef CONFIG_USB
/*
* Kernel hacking
*/
#undef CONFIG_MAGIC_SYSRQ
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-08 22:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-08 22:41 `smp_num_cpus' undeclared in 2.4.3 Jaswinder Singh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®