[Gllug] kernel compile woes
Jim Bailey
jim at freesolutions.net
Tue Feb 11 16:25:10 UTC 2003
On Tue, Feb 11, 2003 at 03:59:18PM +0000, Tethys wrote:
>
> Jim Bailey writes:
>
> >make[1]: leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video'
> >make: *** [_dir_drivers] Error 2
>
> Can we have a few more lines of surrounding context?
No problem here is the output from the last attempt. I am making it
from a gentoo ebuild based on the Benh PPC kernel AFAIK.
I am also building it from inside a chrooted enviroment as per standard
Gentoo install instructions.
I have also sucessfully compiled non kernel apps from
ebuilds using custom flags found in make.conf without any problems.
If you need any more info I will do my best to supply it.
Peace Jim
-------------- next part --------------
. scripts/mkversion > .tmpversion
dnsdomainname: No address associated with name
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-ppc-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.4.20-ppc-r2/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DUTS_MACHINE='"ppc"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20-ppc-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.4.20-ppc-r2/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring " -C kernel
make[1]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/kernel'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/kernel'
make[1]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/kernel'
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.20-ppc-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.4.20-ppc-r2/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring " -C drivers
make[1]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers'
make -C block
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/block'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/block'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/block'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/block'
make -C cdrom
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/cdrom'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/cdrom'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/cdrom'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/cdrom'
make -C char
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char'
make -C joystick
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char/joystick'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char/joystick'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char/joystick'
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char/joystick'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/char'
make -C hotplug
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/hotplug'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/hotplug'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/hotplug'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/hotplug'
make -C ide
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/ide'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/ide'
ld -r -o ide-mod.o ide.o ide-features.o ide-taskfile.o cmd64x.o ide-adma.o ide-dma.o ide-pci.o ide-pmac.o sl82c105.o ide-proc.o
ld -r -o ide-probe-mod.o ide-probe.o ide-geometry.o
rm -f idedriver.o
ld -r -o idedriver.o ide-mod.o ide-probe-mod.o ide-disk.o ide-cd.o ide-floppy.o
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/ide'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/ide'
make -C input
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/input'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/input'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/input'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/input'
make -C macintosh
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/macintosh'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/macintosh'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/macintosh'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/macintosh'
make -C media
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media'
make -C radio
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/radio'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/radio'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/radio'
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/radio'
make -C video
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/video'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/video'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/video'
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media/video'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/media'
make -C misc
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/misc'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/misc'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/misc'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/misc'
make -C net
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net'
make -C tulip
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/tulip'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/tulip'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/tulip'
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/tulip'
make -C wireless
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/wireless'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/wireless'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/wireless'
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net/wireless'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/net'
make -C parport
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/parport'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/parport'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/parport'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/parport'
make -C pci
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/pci'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/pci'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/pci'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/pci'
make -C scsi
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/scsi'
make -C sym53c8xx_2
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/scsi/sym53c8xx_2'
ld -r -o sym53c8xx.o sym_fw.o sym_glue.o sym_hipd.o sym_malloc.o sym_misc.o sym_nvram.o
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/scsi/sym53c8xx_2'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/scsi'
ld -r -o scsi_mod.o scsi.o hosts.o scsi_ioctl.o constants.o scsicam.o scsi_proc.o scsi_error.o scsi_obsolete.o scsi_queue.o scsi_lib.o scsi_merge.o scsi_dma.o scsi_scan.o scsi_syms.o
ld -r -o sd_mod.o sd.o
ld -r -o sr_mod.o sr.o sr_ioctl.o sr_vendor.o
rm -f scsidrv.o
ld -r -o scsidrv.o scsi_mod.o sym53c8xx_2/sym53c8xx.o ide-scsi.o mesh.o mac53c94.o st.o sd_mod.o sr_mod.o sg.o
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/scsi'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/scsi'
make -C sound
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/sound'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/sound'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/sound'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/sound'
make -C usb
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/usb'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/usb'
ld -r -o usbcore.o usb.o usb-debug.o hub.o devio.o inode.o drivers.o devices.o hcd.o
ld -r -o hid.o hid-core.o hid-input.o
rm -f usbdrv.o
ld -r -o usbdrv.o usbcore.o usb-ohci.o hid.o
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/usb'
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/usb'
make -C video
make[2]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video'
make -C aty
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/aty'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/aty'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/aty'
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/aty'
make -C matrox
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/matrox'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/matrox'
make[4]: Nothing to be done for `all_targets'.
make[4]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/matrox'
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video/matrox'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-ppc-r2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/usr/src/linux-2.4.20-ppc-r2/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -nostdinc -iwithprefix include -DKBUILD_BASENAME=aty128fb -c -o aty128fb.o aty128fb.c
aty128fb.c: In function `aty128fb_ioctl':
aty128fb.c:2478: warning: unused variable `fb'
aty128fb.c:2479: warning: unused variable `value'
aty128fb.c:2480: warning: unused variable `rc'
aty128fb.c: In function `aty128_set_backlight_enable':
aty128fb.c:2529: structure has no member named `lcd_on'
aty128fb.c: At top level:
aty128fb.c:230: warning: `font' defined but not used
aty128fb.c:231: warning: `mode' defined but not used
aty128fb.c:232: warning: `nomtrr' defined but not used
aty128fb.c:1066: warning: `aty128_set_crt_enable' defined but not used
aty128fb.c:1076: warning: `aty128_set_lcd_enable' defined but not used
make[3]: *** [aty128fb.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-ppc-r2/drivers'
make: *** [_dir_drivers] Error 2
More information about the GLLUG
mailing list