linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* problem building 2.3.47: no macintosh.a file
@ 2000-02-29  1:19 Lou Langholtz
  2000-02-29  2:03 ` Lou Langholtz
  0 siblings, 1 reply; 7+ messages in thread
From: Lou Langholtz @ 2000-02-29  1:19 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

When trying to compile the 2.3.47 linux distribution from a kernel.org
mirror, I don't get a macintosh.a file built in my drivers/macintosh/
directory. As a matter of fact, I don't seem to get any macintosh
drivers built in that directory as there's no .o files at all. Anyone
else experience this? I've tried poking around to discover where the
error could be but so far I'm clueless about this. Am I doing something
wrong with my .config configuration info? I've attached my .config file
in case this could be it and someone could check it. Any other
possibilities?

BTW: I did have to make some minor changes to get even so far as to try
linking it all together. I've attached the context diff of my mem.c file
which I had to change to get it to compile. Could my simple change be
the right thing to have done for the mem.c file???

Thanks for any help!

[-- Attachment #2: cdiff --]
[-- Type: text/plain, Size: 633 bytes --]

*** drivers/char/mem.c.orig	Wed Feb 16 16:42:05 2000
--- drivers/char/mem.c	Sun Feb 27 19:45:06 2000
***************
*** 585,591 ****
--- 585,593 ----
  	{1, "mem",     S_IRUSR | S_IWUSR | S_IRGRP, &mem_fops},
  	{2, "kmem",    S_IRUSR | S_IWUSR | S_IRGRP, &kmem_fops},
  	{3, "null",    S_IRUGO | S_IWUGO,           &null_fops},
+ #if !defined(CONFIG_PPC) && !defined(__mc68000__)
  	{4, "port",    S_IRUSR | S_IWUSR | S_IRGRP, &port_fops},
+ #endif
  	{5, "zero",    S_IRUGO | S_IWUGO,           &zero_fops},
  	{7, "full",    S_IRUGO | S_IWUGO,           &full_fops},
  	{8, "random",  S_IRUGO | S_IWUSR,           &random_fops},

[-- Attachment #3: .config --]
[-- Type: text/plain, Size: 12655 bytes --]

#
# Automatically generated make config: don't edit
#
# CONFIG_UID16 is not set

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Platform support
#
CONFIG_PPC=y
CONFIG_6xx=y
# CONFIG_4xx is not set
# CONFIG_PPC64 is not set
# CONFIG_82xx is not set
# CONFIG_8xx is not set
CONFIG_PMAC=y
# CONFIG_PREP is not set
# CONFIG_CHRP is not set
# CONFIG_ALL_PPC is not set
# CONFIG_GEMINI is not set
# CONFIG_APUS is not set
# CONFIG_SMP is not set
# CONFIG_ALTIVEC is not set
CONFIG_MACH_SPECIFIC=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# General setup
#
CONFIG_PCI=y
CONFIG_PCI=y
CONFIG_NET=y
CONFIG_SYSCTL=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_PCI_NAMES=y
# CONFIG_HOTPLUG is not set
# CONFIG_PARPORT is not set
CONFIG_VGA_CONSOLE=y
CONFIG_FB=y
CONFIG_FB_COMPAT_XPMAC=y
# CONFIG_PMAC_PBOOK is not set
CONFIG_MAC_FLOPPY=y
CONFIG_MAC_SERIAL=y
CONFIG_ADB=y
CONFIG_ADB_CUDA=y
CONFIG_ADB_MACIO=y
# CONFIG_ADB_PMU is not set
CONFIG_ADB_KEYBOARD=y
CONFIG_ADBMOUSE=y
CONFIG_PROC_DEVICETREE=y
# CONFIG_TOTALMP is not set
CONFIG_BOOTX_TEXT=y
# CONFIG_MOTOROLA_HOTSWAP is not set

#
# Plug and Play configuration
#
# CONFIG_PNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_IDEDISK is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set

#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_IDEPCI is not set
# CONFIG_BLK_DEV_SL82C105 is not set
# CONFIG_BLK_DEV_IDE_PMAC is not set
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_BLK_CPQ_DA is not set

#
# Additional Block Devices
#
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_IDE_MODES is not set
# CONFIG_BLK_DEV_HD is not set

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_NETLINK=y
# CONFIG_RTNETLINK is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
CONFIG_IP_ALIAS=y
CONFIG_SYN_COOKIES=y

#
# (it is safe to leave these untouched)
#
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set

#
#
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_DECNET is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# SCSI support
#
CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_CHR_DEV_ST=y
CONFIG_ST_EXTRA_DEVS=2
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_DEBUG_QUEUES is not set
# CONFIG_SCSI_MULTI_LUN is not set
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
CONFIG_SCSI_AIC7XXX=y
# CONFIG_AIC7XXX_TCQ_ON_BY_DEFAULT is not set
CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_PROC_STATS=y
CONFIG_AIC7XXX_RESET_DELAY=15
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_NCR53C8XX is not set
CONFIG_SCSI_SYM53C8XX=y
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=20
# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
# CONFIG_SCSI_NCR53C8XX_IOMAPPED is not set
# CONFIG_SCSI_NCR53C8XX_PQS_PDS is not set
# CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_MESH=y
CONFIG_SCSI_MESH_SYNC_RATE=5
CONFIG_SCSI_MAC53C94=y
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_ETHERTAP is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MACE=y
# CONFIG_BMAC is not set
# CONFIG_GMAC is not set
# CONFIG_NCR885E is not set
# CONFIG_OAKNET is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_PCI is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_YELLOWFIN is not set
# CONFIG_ACENIC is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PPP=y
# CONFIG_PPP_ASYNC is not set
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=m
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring driver support
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Console drivers
#

#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_RIVA is not set
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
CONFIG_FB_OF=y
CONFIG_FB_CONTROL=y
# CONFIG_FB_PLATINUM is not set
# CONFIG_FB_VALKYRIE is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_CT65550 is not set
# CONFIG_FB_S3TRIO is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FBCON_ADVANCED is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
CONFIG_FBCON_FONTS=y
# CONFIG_FONT_8x8 is not set
CONFIG_FONT_8x16=y
CONFIG_FONT_SUN8x16=y
CONFIG_FONT_SUN12x22=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=m
CONFIG_SERIAL_EXTENDED=y
# CONFIG_SERIAL_MANY_PORTS is not set
# CONFIG_SERIAL_SHARE_IRQ is not set
# CONFIG_SERIAL_DETECT_IRQ is not set
# CONFIG_SERIAL_MULTIPORT is not set
# CONFIG_HUB6 is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
CONFIG_BUSMOUSE=y
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_LOGIBUSMOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
CONFIG_ADBMOUSE=y
# CONFIG_MOUSE is not set

#
# Joysticks
#
# CONFIG_JOYSTICK is not set
# CONFIG_QIC02_TAPE is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
CONFIG_NVRAM=y
# CONFIG_RTC is not set

#
# Video For Linux
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_DRM is not set
# CONFIG_AGP is not set

#
# USB support
#
# CONFIG_USB is not set

#
# File systems
#
# CONFIG_QUOTA is not set
CONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_HFS_FS=y
# CONFIG_BFS_FS is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=y
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_ISO9660_FS=y
# CONFIG_JOLIET is not set
# CONFIG_MINIX_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
CONFIG_NFS_FS=y
# CONFIG_NFSD is not set
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
# CONFIG_SMB_FS is not set
# CONFIG_NCP_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set

#
# Sound
#
CONFIG_SOUND=y
CONFIG_DMASOUND=y
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_OSS=y
# CONFIG_SOUND_DMAP is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_GUS is not set
# CONFIG_SOUND_VMIDI is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_MPU401 is not set
# CONFIG_SOUND_NM256 is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_SOFTOSS is not set
# CONFIG_SOUND_SB is not set
# CONFIG_SOUND_WAVEFRONT is not set
# CONFIG_SOUND_MAUI is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_SOUND_YM3812 is not set
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_OPL3SA2 is not set
# CONFIG_SOUND_UART6850 is not set

#
# Additional low level sound drivers
#
# CONFIG_LOWLEVEL_SOUND is not set

#
# Kernel hacking
#
CONFIG_MAGIC_SYSRQ=y
# CONFIG_KGDB is not set
CONFIG_XMON=y

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem building 2.3.47: no macintosh.a file
  2000-02-29  1:19 problem building 2.3.47: no macintosh.a file Lou Langholtz
@ 2000-02-29  2:03 ` Lou Langholtz
  0 siblings, 0 replies; 7+ messages in thread
From: Lou Langholtz @ 2000-02-29  2:03 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]

Lou Langholtz wrote:

> When trying to compile the 2.3.47 linux distribution from a kernel.org
> mirror, I don't get a macintosh.a file built in my drivers/macintosh/
> directory. As a matter of fact, I don't seem to get any macintosh
> drivers built in that directory as there's no .o files at all. Anyone
> else experience this? I've tried poking around to discover where the
> error could be but so far I'm clueless about this. Am I doing something
> wrong with my .config configuration info? I've attached my .config file
> in case this could be it and someone could check it. Any other
> possibilities?

Aha! I found I needed to change (fix?) drivers/Makefile to essentially add in
the macintosh subdirectory like for CONFIG_MAC but for CONFIG_PPC. I've
attached this context diff.

> BTW: I did have to make some minor changes to get even so far as to try
> linking it all together. I've attached the context diff of my mem.c file
> which I had to change to get it to compile. Could my simple change be
> the right thing to have done for the mem.c file???

Now the linker gets the macintosh.a stuff but spews out about some undefined
references and fails. I suspect I may be able to fix this by changing my
configuration. If anybody knows better, please let me know too. The actual
undefined references are to: find_via_pmu, pmu_poll, backlight_level,
pmu_set_brightness, and vgacon_remap_base.

Advanced thanks ;-)




[-- Attachment #2: cdiff --]
[-- Type: text/plain, Size: 328 bytes --]

*** drivers/Makefile.orig	Thu Feb 17 10:57:13 2000
--- drivers/Makefile	Mon Feb 28 18:45:54 2000
***************
*** 52,57 ****
--- 52,62 ----
  MOD_SUB_DIRS += video
  endif

+ ifdef CONFIG_PPC
+ SUB_DIRS += macintosh
+ MOD_SUB_DIRS += macintosh
+ endif
+
  ifdef CONFIG_MAC
  SUB_DIRS += macintosh
  MOD_SUB_DIRS += macintosh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem building 2.3.47: no macintosh.a file
       [not found] <Pine.LNX.3.96L.1000228205949.7447A-100000@unix48.andrew.cmu.edu>
@ 2000-02-29  2:39 ` Lou Langholtz
  2000-02-29 15:48   ` Lou Langholtz
  0 siblings, 1 reply; 7+ messages in thread
From: Lou Langholtz @ 2000-02-29  2:39 UTC (permalink / raw)
  To: Hollis R Blanchard; +Cc: linuxppc-dev


Hollis R Blanchard wrote:

> On Mon, 28 Feb 2000, Lou Langholtz wrote:
>
> > When trying to compile the 2.3.47 linux distribution from a kernel.org
> > mirror, I don't get a macintosh.a file built in my drivers/macintosh/
> > directory. As a matter of fact, I don't seem to get any macintosh
> > drivers built in that directory as there's no .o files at all. Anyone
> > else experience this? I've tried poking around to discover where the
> > error could be but so far I'm clueless about this. Am I doing something
> > wrong with my .config configuration info? I've attached my .config file
> > in case this could be it and someone could check it. Any other
> > possibilities?
>
> I would recommend not using kernel.org sources for a while. Paul's tree seems
> to be the favorite for Macs right now.
>
> -Hollis

Thanks for responding so quickly. I feel so close now to actually getting the
2.3.47 sources to fully link. I'm down to just a multiple definitions error. Do
you suspect I'll still have lots of trouble with the 2.3.47 sources if I get
them to build on my PowerMac 7500? I know in the past that Paul stuff has been
infinitely better for PowerMacs while the kernel.org code simply wouldn't even
run. I'm hoping though that for a simple long time supported PowerMac 7500 that
the 2.3.47 sources should at least work better than my current 2.2.13pre15
kernel. Specifically I want to see that the darn ppp kernel freeze bug has gone
away since I use PPP so critically.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem building 2.3.47: no macintosh.a file
  2000-02-29  2:39 ` problem building 2.3.47: no macintosh.a file Lou Langholtz
@ 2000-02-29 15:48   ` Lou Langholtz
  2000-02-29 16:08     ` Brad Parker
  2000-02-29 16:19     ` Where to get Paul's tree [was Re: problem building 2.3.47: no macintosh.a file] phandel
  0 siblings, 2 replies; 7+ messages in thread
From: Lou Langholtz @ 2000-02-29 15:48 UTC (permalink / raw)
  To: linuxppc-dev


Lou Langholtz wrote:

> Hollis R Blanchard wrote:
>
> > . . .
> > I would recommend not using kernel.org sources for a while. Paul's tree seems
> > to be the favorite for Macs right now.
> >
> > -Hollis
>
> Thanks for responding so quickly. I feel so close now to actually getting the
> 2.3.47 sources to fully link. I'm down to just a multiple definitions error. Do
> you suspect I'll still have lots of trouble with the 2.3.47 sources if I get
> them to build on my PowerMac 7500? . . .

Argh! I've gotten now to the point that 2.3.47 builds all the way then the linker
barfs with two "multiple definition of" errors. In part in frustration, I thought
I'd do the smart thing and try patching to 2.3.48 to see if that'll compile
better. Quite the opposite. 2.3.48's build doesn't get nearly as far for me so I'm
hoping now to get rid of these last two linker errors for 2.3.47. Unfortunately I
did a recursive grep for these symbols which didn't find either of them and now
I'm at a loss of where to check next in getting rid of these last errors. Here's
what I see:

ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o
init/main.o init/version.o \
 --start-group \
 arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o arch/ppc/xmon/x.o \
 drivers/block/block.a drivers/char/char.o drivers/misc/misc.o drivers/net/net.o
drivers/parport/parport.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
drivers/sound/sounddrivers.o drivers/pci/pci.a drivers/macintosh/macintosh.a
drivers/video/video.o \
 net/network.a \
 /usr/src/linux/lib/lib.a \
 --end-group \
 -o vmlinux
kernel/kernel.o(.kstrtab+0x1f44): multiple definition of `__kstrtab_strspn'
arch/ppc/kernel/kernel.o(.kstrtab+0x4a4): first defined here
kernel/kernel.o(__ksymtab+0x9e0): multiple definition of `__ksymtab_strspn'
arch/ppc/kernel/kernel.o(__ksymtab+0x178): first defined here
make: *** [vmlinux] Error 1

Can anyone help me with these definition errors?

I feel so close with kernel.org's 2.3.47 kernel. Should I just byte the bullet and
use Paul's tree as Hollis suggests? Biggest problem with using another tree is
that I've got a very slow network pipe (a 28.8 modem and I already have
kernel.org's 2.3.47 + 2.3.48 sources). I also don't actually know anymore where to
get Paul's source tree. So in the end, kernel.org's 2.3.47 kernel still feels
closest to working for me.

Thanks!!!


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem building 2.3.47: no macintosh.a file
  2000-02-29 15:48   ` Lou Langholtz
@ 2000-02-29 16:08     ` Brad Parker
  2000-02-29 19:47       ` Lou Langholtz
  2000-02-29 16:19     ` Where to get Paul's tree [was Re: problem building 2.3.47: no macintosh.a file] phandel
  1 sibling, 1 reply; 7+ messages in thread
From: Brad Parker @ 2000-02-29 16:08 UTC (permalink / raw)
  To: Lou Langholtz; +Cc: linuxppc-dev



I've gotten 2.3.47 from kernel.org to build, doing pretty much what
Lou did (below).  To get rid of the link errors you need to edit
arch/ppc/kernel/ppc_ksyms.c and comment out the line with "strspn" in
it.

It boots on my imac.  I don't have a lot of milage yet, but usb works :-)

fyi - I plan to switch to an rsync from Paul's tree...

-brad

Lou Langholtz wrote:
>
>Lou Langholtz wrote:
>
>> Hollis R Blanchard wrote:
>>
>> > . . .
>> > I would recommend not using kernel.org sources for a while. Paul's tree se
>ems
>> > to be the favorite for Macs right now.
>> >
>> > -Hollis
>>
>> Thanks for responding so quickly. I feel so close now to actually getting th
>e
>> 2.3.47 sources to fully link. I'm down to just a multiple definitions error.
> Do
>> you suspect I'll still have lots of trouble with the 2.3.47 sources if I get
>> them to build on my PowerMac 7500? . . .
>
>Argh! I've gotten now to the point that 2.3.47 builds all the way then the lin
>ker
>barfs with two "multiple definition of" errors. In part in frustration, I thou
>ght
>I'd do the smart thing and try patching to 2.3.48 to see if that'll compile
>better. Quite the opposite. 2.3.48's build doesn't get nearly as far for me so
> I'm
>hoping now to get rid of these last two linker errors for 2.3.47. Unfortunatel
>y I
>did a recursive grep for these symbols which didn't find either of them and no
>w
>I'm at a loss of where to check next in getting rid of these last errors. Here
>'s
>what I see:
>
>ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o
>init/main.o init/version.o \
> --start-group \
> arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o
>mm/mm.o fs/fs.o ipc/ipc.o arch/ppc/xmon/x.o \
> drivers/block/block.a drivers/char/char.o drivers/misc/misc.o drivers/net/net
>.o
>drivers/parport/parport.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
>drivers/sound/sounddrivers.o drivers/pci/pci.a drivers/macintosh/macintosh.a
>drivers/video/video.o \
> net/network.a \
> /usr/src/linux/lib/lib.a \
> --end-group \
> -o vmlinux
>kernel/kernel.o(.kstrtab+0x1f44): multiple definition of `__kstrtab_strspn'
>arch/ppc/kernel/kernel.o(.kstrtab+0x4a4): first defined here
>kernel/kernel.o(__ksymtab+0x9e0): multiple definition of `__ksymtab_strspn'
>arch/ppc/kernel/kernel.o(__ksymtab+0x178): first defined here
>make: *** [vmlinux] Error 1
>
>Can anyone help me with these definition errors?
>
>I feel so close with kernel.org's 2.3.47 kernel. Should I just byte the bullet
> and
>use Paul's tree as Hollis suggests? Biggest problem with using another tree is
>that I've got a very slow network pipe (a 28.8 modem and I already have
>kernel.org's 2.3.47 + 2.3.48 sources). I also don't actually know anymore wher
>e to
>get Paul's source tree. So in the end, kernel.org's 2.3.47 kernel still feels
>closest to working for me.
>
>Thanks!!!
>
>
>

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Where to get Paul's tree [was Re: problem building 2.3.47: no macintosh.a file]
  2000-02-29 15:48   ` Lou Langholtz
  2000-02-29 16:08     ` Brad Parker
@ 2000-02-29 16:19     ` phandel
  1 sibling, 0 replies; 7+ messages in thread
From: phandel @ 2000-02-29 16:19 UTC (permalink / raw)
  To: Lou Langholtz; +Cc: linuxppc-dev


On Tue, 29 Feb 2000, Lou Langholtz wrote:

> I also don't actually know anymore where to get Paul's source tree.

Paul's devel:
rsync -auvz linuxcare.com.au::linux-pmac-devel /usr/src/linux-2.3-devel

Bitkeeper devel:
rsync -auvz hq.fsmlabs.com::linuxppc_2_3 /usr/src/linux-2.3-bit
(Read about the bitkeeper tree: http://www.fsmlabs.com/linuxppcbk.html)


Thanks,
Peter


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: problem building 2.3.47: no macintosh.a file
  2000-02-29 16:08     ` Brad Parker
@ 2000-02-29 19:47       ` Lou Langholtz
  0 siblings, 0 replies; 7+ messages in thread
From: Lou Langholtz @ 2000-02-29 19:47 UTC (permalink / raw)
  To: Brad Parker; +Cc: linuxppc-dev


Brad Parker wrote:

> I've gotten 2.3.47 from kernel.org to build, doing pretty much what
> Lou did (below).  To get rid of the link errors you need to edit
> arch/ppc/kernel/ppc_ksyms.c and comment out the line with "strspn" in
> it.
>
> It boots on my imac.  I don't have a lot of milage yet, but usb works :-)
> fyi - I plan to switch to an rsync from Paul's tree...
>
> -brad
>
> >. . . Argh! I've gotten now to the point that 2.3.47 builds all the way then
> the linker
> >barfs with two "multiple definition of" errors.  . . .
> >kernel/kernel.o(.kstrtab+0x1f44): multiple definition of `__kstrtab_strspn'
> >arch/ppc/kernel/kernel.o(.kstrtab+0x4a4): first defined here
> >kernel/kernel.o(__ksymtab+0x9e0): multiple definition of `__ksymtab_strspn'
> >arch/ppc/kernel/kernel.o(__ksymtab+0x178): first defined here
> >make: *** [vmlinux] Error 1
> >
> >Can anyone help me with these definition errors? . . .

That was it!!! I'm so excited! I'm running kernel.org's 2.3.47 now on my PowerMac
7500 and haven't encountered a bug yet. Network I/O through my PPP connection even
feels a little snappier now. With any luck -- as people have indicated -- I won't
have anymore PPP freeze ups either.

Rambling BTW (for the linuxppc-dev archives mostly):

I did encounter some trouble  with getting PPP to install properly. First
I reliazed I had to update my pppd (etc) which fortunately I had sources for
already on my system. Then I found I had to set CONFIG_PPP_ASYNC=m in my .config
and run "make modules; make modules_install" to make the kernel happy. Trying to
build it within the kernel (instead of as a module), didn't seem to want to let
PPP work. modprobe kept complaining in my syslog file that it couldn't locate
module "tty-ldisc-3" which the PPP source dist says should be aliased if it's
built as a module to the ppp_async module (in the /etc/modules.conf file). So
after building and installing ppp_async as a module and updating the modules conf
file PPP was able to work. Is this a bug in "make xconfig" where it should limit
the choices to either "m" or "n"? Or maybe something I did wrong? I guess so long
as my system can still reboot I won't loose any more sleep over it :-)


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-02-29 19:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.96L.1000228205949.7447A-100000@unix48.andrew.cmu.edu>
2000-02-29  2:39 ` problem building 2.3.47: no macintosh.a file Lou Langholtz
2000-02-29 15:48   ` Lou Langholtz
2000-02-29 16:08     ` Brad Parker
2000-02-29 19:47       ` Lou Langholtz
2000-02-29 16:19     ` Where to get Paul's tree [was Re: problem building 2.3.47: no macintosh.a file] phandel
2000-02-29  1:19 problem building 2.3.47: no macintosh.a file Lou Langholtz
2000-02-29  2:03 ` Lou Langholtz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).