Re: to 2.4 tree or not to 2.4 tree


Subject: Re: to 2.4 tree or not to 2.4 tree
From: Patrick Callahan (pac1@tiac.net)
Date: Mon Jul 30 2001 - 20:11:39 MDT


I got as far as make... Then this:

Is this driver for ppc at all?

If its not how do you get it out of the build?

Should I just remove the line for S3trio from the makefile for
/usr/src/linux-2.4/drivers/video?/usr/src/linux-2.4/drivers/video
or is there some configuration option that didn't get set
(I copied the 2.2.19 config and didnt change anything
in make menuconfig. Maybe something new needs to be turned off for ppc?

Anyone got an easy answer?

-Pat

gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-D__powerpc__ -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
-mmultiple -mstring -c -o S3triofb.o S3triofb.c
S3triofb.c:524: warning: #warning FIXME: always obey fb_var.accel_flags
In file included from S3triofb.c:42:
/usr/src/linux-2.4/include/asm/pci-bridge.h:24: warning: `struct pci_dev'
declared inside parameter list
/usr/src/linux-2.4/include/asm/pci-bridge.h:24: warning: its scope is only
this
definition or declaration, which is probably not what you want.
/usr/src/linux-2.4/include/asm/pci-bridge.h:65: field `io_resource' has
incomplete type
/usr/src/linux-2.4/include/asm/pci-bridge.h:66: field `mem_resources' has
incomplete type
S3triofb.c: In function `s3trio_init':
S3triofb.c:322: warning: implicit declaration of function `pci_device_loc'
S3triofb.c: At top level:
S3triofb.c:783: warning: `Trio_MoveCursor' defined but not used
make[3]: *** [S3triofb.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4/drivers'
make: *** [_dir_drivers] Error 2

On Tuesday 24 July 2001 04:13, you wrote:
> on 24/7/01 1:55 am, Patrick Callahan at pac1@tiac.net wrote:
> > Now what does one do first after downloading 22mb via 28,800 again?
> >
> > -pat on a Blue G3 rev1 no special hardware...
>
> You need to configure the kernel ...
>
> - cd to the kernel directory
> - make menuconfig
>
> ... set configuration options. I don't know whether the kernel source that
> ships with YDL is shipped preconfigured. If it is, you could:
>
> - start from the old kernel directory
> - make menuconfig
> - use the menuconfig option to save the kernel configuration to a file
> - cd to the new kernel directory
> - make menuconfig
> - use the menuconfig option to load the kernel options you just saved
>
> There are some options that will be specific to your hardware, you just
> need to work through them removing things that clearly aren't relevant (eg
> SCSI support on a Mac with no SCSI etc.). Then:
>
> - make dep
> - make
> - make modules
> - make modules_install (as root)
>
> ... and that should be your new kernel (vmlinux) and System.map
>
> Iain



This archive was generated by hypermail 2a24 : Mon Jul 30 2001 - 19:20:04 MDT