[elrepo] kmod-rr174x for el7
Leon Fauster
leonfauster at googlemail.com
Thu Jan 1 19:27:15 EST 2015
Am 26.12.2014 um 14:42 schrieb Phil Perry <phil at elrepo.org>:
> I applied your patch and tried building on el7, but without success:
>
> [phil at rhel7 rr174x-linux-src-v2.4]$ cd product/rr1740pm/linux/
> [phil at rhel7 linux]$ make KERNELDIR=/usr/src/kernels/3.10.0-123.el7.x86_64
> make[1]: Entering directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
> CC [M]
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1
>
>
> 740pm/linux/.build/os_linux.o
> CC [M]
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.o
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.c:
> In function ‘hpt_do_disk_ioctl’:
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.c:1840:17:
> warning: unused variable ‘pIdentify’ [-Wunused-variable]
> PIDENTIFY_DATA pIdentify;
> ^
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.c:
> At top level:
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.c:2118:2:
> error: unknown field ‘proc_info’ specified in initializer
> proc_info: hpt_proc_info26,
> ^
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.c:2118:2:
> warning: initialization from incompatible pointer type [enabled by default]
> /home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.c:2118:2:
> warning: (near initialization for ‘driver_template.proc_dir’) [enabled
> by default]
> make[2]: ***
> [/home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build/osm_linux.o]
> Error 1
> make[1]: ***
> [_module_/home/phil/Desktop/elrepo/el7/rr174x/rr174x-linux-src-v2.4/product/rr1740pm/linux/.build]
> Error 2
> make[1]: Leaving directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
> make: *** [rr174x.ko] Error 2
> [phil at rhel7 linux]$
>
>
> Any suggestions how to fix?
build only tested with:
$ cat /etc/redhat-release
CentOS release 6.6 (Final)
$ rpm -qa |grep kernel-lt
kernel-lt-3.10.63-1.el6.elrepo.x86_64
kernel-lt-devel-3.10.63-1.el6.elrepo.x86_64
$ # apply after the first patch
$ cat <(curl -s http://pastebin.centos.org/14816/raw/) | patch -p0 -b
--
LF
More information about the elrepo
mailing list