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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
|
francois-n8p85m:/home/jeremy # tar zxvf acer_acpi-0.3.tar.tar
acer_acpi-0.3/
acer_acpi-0.3/NEWS
acer_acpi-0.3/Makefile
acer_acpi-0.3/README
acer_acpi-0.3/AUTHORS
acer_acpi-0.3/INSTALL
acer_acpi-0.3/acer_acpi.c
acer_acpi-0.3/COPYING
francois-n8p85m:/home/jeremy # ls -p
acer_acpi-0.3/ .fonts.cache-2 .profile
acer_acpi-0.3.tar.tar .gconf/ Projets_Netbeans/
.bash_history .gconfd/ public_html/
.bashrc .gnome2/ .qt/
bin/ .gnome2_private/ .recently-used
.config/ .gnu-emacs .recently-used-apps
.DCOPserver_francois-n8p85m__0 .gnupg/ .skel/
.DCOPserver_francois-n8p85m_:0 .gstreamer-0.10/ .thumbnails/
.DCOPserver_francois-n8p85m__1 .gtk_qt_engine_rc .urlview
.DCOPserver_francois-n8p85m_:1 .gtkrc-1.2-gnome2 .wapi/
.DCOPserver_portable-jeremy__0 .ICEauthority .Xauthority
.DCOPserver_portable-jeremy_:0 .inputrc .xcoralrc
Desktop/ .kde/ .xemacs/
.dmrc .kermrc .xim.template
Documents/ .local/ .xine/
.dvipsrc .mcop/ .xinitrc.template
.emacs .mozilla/ .xsession-errors
.esd_auth .muttrc .xsession-errors-localhost:1
.exrc .netbeans/ .xtalkrc
.fonts/ .ooo-2.0/
francois-n8p85m:/home/jeremy # cd acer_acpi-0.3
francois-n8p85m:/home/jeremy/acer_acpi-0.3 # ls -am
., .., acer_acpi.c, AUTHORS, COPYING, INSTALL, Makefile, NEWS, README
francois-n8p85m:/home/jeremy/acer_acpi-0.3 # ls -al
total 62
drwxr-xr-x 2 500 500 224 2005-10-16 13:43 .
drwxr-xr-x 28 jeremy users 1856 2006-09-28 10:15 ..
-rw-r--r-- 1 500 500 10759 2005-10-16 13:40 acer_acpi.c
-rw-r--r-- 1 500 500 38 2005-08-28 10:58 AUTHORS
-rw-r--r-- 1 500 500 18007 2002-05-08 21:01 COPYING
-rw-r--r-- 1 500 500 1909 2005-08-28 11:00 INSTALL
-rw-r--r-- 1 500 500 1604 2005-09-12 16:43 Makefile
-rw-r--r-- 1 500 500 309 2005-08-30 10:41 NEWS
-rw-r--r-- 1 500 500 10611 2005-10-16 13:42 README
francois-n8p85m:/home/jeremy/acer_acpi-0.3 # make
awk: cmd. ligne:1: Fatal: ne peut ouvrir le fichier " /lib/modules/2.6.16.21-0.21-default/build/include/linux/version.h " en lecture (Aucun fichier ou rpertoire de ce type)
gcc -I/lib/modules/`uname -r`/build/include -c -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -DMODVERSIONS -DMODULE -D__KERNEL__ -o acer_acpi.o acer_acpi.c
In file included from /usr/include/asm/percpu.h:4,
from /usr/include/asm/processor.h:24,
from /usr/include/asm/thread_info.h:17,
from /usr/include/linux/thread_info.h:21,
from /usr/include/linux/preempt.h:10,
from /usr/include/linux/spinlock.h:52,
from /usr/include/linux/capability.h:45,
from /usr/include/linux/sched.h:7,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/asm-generic/percpu.h:8: error: 'CONFIG_NR_CPUS' undeclared here (not in a function)
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/linux/jiffies.h:33:3: error: #error You lose.
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:248:46: error: division by zero in #if
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/linux/jiffies.h: In function 'jiffies_to_msecs':
/usr/include/linux/jiffies.h:253: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:253: error: (Each undeclared identifier is reported only once
/usr/include/linux/jiffies.h:253: error: for each function it appears in.)
/usr/include/linux/jiffies.h:259:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'jiffies_to_usecs':
/usr/include/linux/jiffies.h:264: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:272:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'msecs_to_jiffies':
/usr/include/linux/jiffies.h:277: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:285:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'usecs_to_jiffies':
/usr/include/linux/jiffies.h:290: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function 'timespec_to_jiffies':
/usr/include/linux/jiffies.h:309: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:315: error: 'SHIFT_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function 'jiffies_to_timespec':
/usr/include/linux/jiffies.h:328: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function 'timeval_to_jiffies':
/usr/include/linux/jiffies.h:350: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:354: error: 'SHIFT_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function 'jiffies_to_timeval':
/usr/include/linux/jiffies.h:366: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'jiffies_to_clock_t':
/usr/include/linux/jiffies.h:380: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function 'clock_t_to_jiffies':
/usr/include/linux/jiffies.h:391: error: 'CONFIG_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'jiffies_64_to_clock_t':
/usr/include/linux/jiffies.h:411: error: 'CONFIG_HZ' undeclared (first use in this function)
In file included from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:23,
from /usr/include/asm/semaphore.h:41,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/linux/prefetch.h: In function 'prefetch_range':
/usr/include/linux/prefetch.h:64: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function)
In file included from /usr/include/linux/rwsem.h:27,
from /usr/include/asm/semaphore.h:42,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/asm/rwsem.h: In function '__down_read':
/usr/include/asm/rwsem.h:105: error: expected ':' or ')' before 'KBUILD_BASENAME'
/usr/include/asm/rwsem.h: In function '__down_write':
/usr/include/asm/rwsem.h:157: error: expected ':' or ')' before 'KBUILD_BASENAME'
/usr/include/asm/rwsem.h: In function '__up_read':
/usr/include/asm/rwsem.h:194: error: expected ':' or ')' before 'KBUILD_BASENAME'
/usr/include/asm/rwsem.h: In function '__up_write':
/usr/include/asm/rwsem.h:220: error: expected ':' or ')' before 'KBUILD_BASENAME'
/usr/include/asm/rwsem.h: In function '__downgrade_write':
/usr/include/asm/rwsem.h:245: error: expected ':' or ')' before 'KBUILD_BASENAME'
In file included from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/asm/semaphore.h: In function 'down':
/usr/include/asm/semaphore.h:105: error: expected ':' or ')' before 'KBUILD_BASENAME'
/usr/include/asm/semaphore.h: In function 'down_interruptible':
/usr/include/asm/semaphore.h:130: error: expected ':' or ')' before 'KBUILD_BASENAME'
/usr/include/asm/semaphore.h: In function 'down_trylock':
/usr/include/asm/semaphore.h:155: error: expected ':' or ')' before 'KBUILD_BASENAME'
/usr/include/asm/semaphore.h: In function 'up':
/usr/include/asm/semaphore.h:179: error: expected ':' or ')' before 'KBUILD_BASENAME'
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:5,
from /usr/include/linux/sched.h:34,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/linux/mmzone.h: At top level:
/usr/include/linux/mmzone.h:41: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/mmzone.h:41: error: requested alignment is not a constant
/usr/include/linux/mmzone.h:64: error: requested alignment is not a constant
/usr/include/linux/mmzone.h:249: error: requested alignment is not a constant
In file included from /usr/include/linux/sched.h:37,
from /usr/include/linux/module.h:10,
from acer_acpi.c:41:
/usr/include/linux/rcupdate.h:69: error: requested alignment is not a constant
/usr/include/linux/rcupdate.h:72: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:23,
from acer_acpi.c:41:
/usr/include/asm/module.h:62:2: error: #error unknown processor family
acer_acpi.c:49:31: error: acpi/acpi_drivers.h: Aucun fichier ou rpertoire de ce type
acer_acpi.c:91: error: expected specifier-qualifier-list before 'acpi_handle'
acer_acpi.c: In function 'is_valid_acpi_path':
acer_acpi.c:99: error: 'acpi_handle' undeclared (first use in this function)
acer_acpi.c:99: error: expected ';' before 'handle'
acer_acpi.c:100: error: 'acpi_status' undeclared (first use in this function)
acer_acpi.c:100: error: expected ';' before 'status'
acer_acpi.c:102: error: 'status' undeclared (first use in this function)
acer_acpi.c:102: warning: implicit declaration of function 'acpi_get_handle'
acer_acpi.c:102: error: 'handle' undeclared (first use in this function)
acer_acpi.c:103: warning: implicit declaration of function 'ACPI_FAILURE'
acer_acpi.c: At top level:
acer_acpi.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WMAB_execute'
acer_acpi.c: In function 'write_mled':
acer_acpi.c:200: warning: implicit declaration of function 'WMAB_execute'
acer_acpi.c: At top level:
acer_acpi.c:281: warning: type defaults to 'int' in declaration of 'acpi_status'
acer_acpi.c:281: error: expected ',' or ';' before 'add_proc_entries'
acer_acpi.c:301: warning: type defaults to 'int' in declaration of 'acpi_status'
acer_acpi.c:301: error: expected ',' or ';' before 'remove_proc_entries'
acer_acpi.c:314: error: expected ')' before 'handle'
acer_acpi.c: In function 'acpi_acerkeys_add':
acer_acpi.c:329: warning: statement with no effect
acer_acpi.c:329: error: expected ';' before 'status'
acer_acpi.c:338: error: 'struct acer_hotk' has no member named 'handle'
acer_acpi.c:338: error: dereferencing pointer to incomplete type
acer_acpi.c:339: warning: implicit declaration of function 'acpi_device_name'
acer_acpi.c:339: warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast
acer_acpi.c:340: warning: implicit declaration of function 'acpi_device_class'
acer_acpi.c:340: warning: passing argument 1 of 'strcpy' makes pointer from integer without a cast
acer_acpi.c:341: warning: implicit declaration of function 'acpi_driver_data'
acer_acpi.c:341: error: invalid lvalue in assignment
acer_acpi.c:344: error: 'status' undeclared (first use in this function)
acer_acpi.c:344: warning: implicit declaration of function 'acpi_install_notify_handler'
acer_acpi.c:344: error: 'struct acer_hotk' has no member named 'handle'
acer_acpi.c:344: error: 'ACPI_SYSTEM_NOTIFY' undeclared (first use in this function)
acer_acpi.c:345: error: 'acer_acerkeys_notify' undeclared (first use in this function)
acer_acpi.c: In function 'acpi_acerkeys_remove':
acer_acpi.c:354: warning: statement with no effect
acer_acpi.c:354: error: expected ';' before 'status'
acer_acpi.c:361: error: 'status' undeclared (first use in this function)
acer_acpi.c:361: warning: implicit declaration of function 'acpi_remove_notify_handler'
acer_acpi.c:361: error: 'struct acer_hotk' has no member named 'handle'
acer_acpi.c:361: error: 'ACPI_SYSTEM_NOTIFY' undeclared (first use in this function)
acer_acpi.c:362: error: 'acer_acerkeys_notify' undeclared (first use in this function)
acer_acpi.c: At top level:
acer_acpi.c:370: error: variable 'acpi_acerkeys' has initializer but incomplete type
acer_acpi.c:371: error: unknown field 'name' specified in initializer
acer_acpi.c:371: warning: excess elements in struct initializer
acer_acpi.c:371: warning: (near initialization for 'acpi_acerkeys')
acer_acpi.c:372: error: unknown field 'class' specified in initializer
acer_acpi.c:372: warning: excess elements in struct initializer
acer_acpi.c:372: warning: (near initialization for 'acpi_acerkeys')
acer_acpi.c:373: error: unknown field 'ids' specified in initializer
acer_acpi.c:373: warning: excess elements in struct initializer
acer_acpi.c:373: warning: (near initialization for 'acpi_acerkeys')
acer_acpi.c:374: error: unknown field 'ops' specified in initializer
acer_acpi.c:374: error: extra brace group at end of initializer
acer_acpi.c:374: error: (near initialization for 'acpi_acerkeys')
acer_acpi.c:377: warning: excess elements in struct initializer
acer_acpi.c:377: warning: (near initialization for 'acpi_acerkeys')
acer_acpi.c: In function 'acer_acpi_init':
acer_acpi.c:384: warning: statement with no effect
acer_acpi.c:384: error: expected ';' before 'status'
acer_acpi.c:387: error: 'acpi_disabled' undeclared (first use in this function)
acer_acpi.c:399: error: 'status' undeclared (first use in this function)
acer_acpi.c:405: error: 'acpi_root_dir' undeclared (first use in this function)
acer_acpi.c:407: error: 'AE_ERROR' undeclared (first use in this function)
acer_acpi.c:410: warning: implicit declaration of function 'add_proc_entries'
acer_acpi.c:415: warning: implicit declaration of function 'ACPI_SUCCESS'
acer_acpi.c:416: warning: implicit declaration of function 'acpi_bus_register_driver'
acer_acpi.c:418: warning: implicit declaration of function 'remove_proc_entries'
acer_acpi.c: In function 'acer_acpi_exit':
acer_acpi.c:432: warning: implicit declaration of function 'acpi_bus_unregister_driver'
make: *** [acer_acpi.o] Erreur 1
francois-n8p85m:/home/jeremy/acer_acpi-0.3 # |
Partager