Ubuntu Pastebin

Paste from anticore at Fri, 1 Apr 2016 18:27:01 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
cp -f ./define.release ./define.h
make -C /lib/modules/4.2.0-34-generic/build/ SUBDIRS=/home/anti/Software/rts5227 modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-34-generic'
  CC [M]  /home/anti/Software/rts5227/rtsx.o
/home/anti/Software/rts5227/rtsx.c: In function ‘proc_info’:
/home/anti/Software/rts5227/rtsx.c:148:55: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
  SPRINTF("        Build: %s, %s\n", __DATE__, __TIME__);
                                                       ^
/home/anti/Software/rts5227/rtsx.c:148:55: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
In file included from include/linux/printk.h:6:0,
                 from include/linux/kernel.h:13,
                 from include/linux/sched.h:17,
                 from include/linux/blkdev.h:4,
                 from /home/anti/Software/rts5227/rtsx.c:23:
/home/anti/Software/rts5227/rtsx.c: In function ‘rtsx_control_thread’:
include/linux/kern_levels.h:4:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64 {aka long long unsigned int}’ [-Wformat=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^
include/linux/kern_levels.h:10:18: note: in expansion of macro ‘KERN_SOH’
 #define KERN_ERR KERN_SOH "3" /* error conditions */
                  ^
/home/anti/Software/rts5227/rtsx.c:521:11: note: in expansion of macro ‘KERN_ERR’
    printk(KERN_ERR "Bad target number (%d:%d)\n",
           ^
include/linux/kern_levels.h:4:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64 {aka long long unsigned int}’ [-Wformat=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^
include/linux/kern_levels.h:10:18: note: in expansion of macro ‘KERN_SOH’
 #define KERN_ERR KERN_SOH "3" /* error conditions */
                  ^
/home/anti/Software/rts5227/rtsx.c:527:11: note: in expansion of macro ‘KERN_ERR’
    printk(KERN_ERR "Bad LUN (%d:%d)\n",
           ^
/home/anti/Software/rts5227/rtsx.c: In function ‘rtsx_probe’:
/home/anti/Software/rts5227/rtsx.c:921:39: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
  printk(KERN_INFO "--- %s, %s ---\n", __DATE__, __TIME__);
                                       ^
/home/anti/Software/rts5227/rtsx.c:921:49: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
  printk(KERN_INFO "--- %s, %s ---\n", __DATE__, __TIME__);
                                                 ^
/home/anti/Software/rts5227/rtsx.c: At top level:
/home/anti/Software/rts5227/rtsx.c:132:12: warning: ‘proc_info’ defined but not used [-Wunused-function]
 static int proc_info (struct Scsi_Host *host, char *buffer,
            ^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/anti/Software/rts5227/rtsx.o' failed
make[2]: *** [/home/anti/Software/rts5227/rtsx.o] Error 1
Makefile:1398: recipe for target '_module_/home/anti/Software/rts5227' failed
make[1]: *** [_module_/home/anti/Software/rts5227] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-34-generic'
Makefile:35: recipe for target 'default' failed
make: *** [default] Error 2
Download as text