[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Debian]:lirc uebersetzen



Hallo Liste!

Ich habe versucht, mir lirc zu installieren um vom Bett aus
mein xawtv zu bedienen.
Leider komme ich nicht sehr weit.
Ich habe folgende Pakete installiert:
frank@pelle:~$ dpkg -l |grep lirc
ii  liblircclient- 0.6.0.final-2  Development files for LIRC
client library
ii  liblircclient0 0.6.0.final-2  LIRC client library
ii  lirc           0.6.0.final-2  Linux Infra-red Remote
Control support

Dadurch werden die Sourcen in /usr/src/lirc/ installiert. In
der dortigen README steht, ich solle in das meiner Hardware
entsprechende Verzeichnis wechseln und make ausführen:
frank@pelle:/usr/src/lirc/lirc_haup$ make
[... siehe unten ...]
make[2]: *** [lirc_haup.o] Error 1
make[1]: *** [_mod_/usr/src/lirc/lirc_haup] Error 2
make: *** [lirc_haup.o] Error 2

Das ist natürlich nicht so schön. Hat einer von Euch
vielleicht eine Idee, was da schieflaufen könnte?

Vielen Dank schonmal!

Grüße
Frank


Ausgabe von make:
---
DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR modules)
make[1]: Entering directory `/usr/src/kernel-source-2.2.14'
make -C  /usr/src/lirc/lirc_haup CFLAGS="-Wall
-Wstrict-prototypes -O2 -fomit-fr
ame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -malign-loops=
2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODULE"
MAKING_MODULES=1 modul
es
make[2]: Entering directory `/usr/src/lirc/lirc_haup'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -pip
e -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2
 -DCPU=686 -DMODULE -DHAVE_CONFIG_H -I. -I. -I../..  -c -o
lirc_haup.o lirc_haup
.c
make[2]: Leaving directory `/usr/src/lirc/lirc_haup'
make[1]: Leaving directory `/usr/src/kernel-source-2.2.14'
mex.h:159: field `time' has incomplete type
In file included from /usr/include/linux/sched.h:74,
                 from lirc_haup.c:26:
/usr/include/asm/processor.h:285: warning: `struct
task_struct' declared inside
parameter list
/usr/include/asm/processor.h:285: warning: its scope is only
this definition or
declaration, which is probably not what you want.
/usr/include/asm/processor.h:289: warning: `struct
task_struct' declared inside
parameter list
In file included from lirc_haup.c:45:
lirc_haup.h:90: warning: `struct file' declared inside
parameter list
lirc_haup.h:90: warning: `struct inode' declared inside
parameter list
lirc_haup.h:91: warning: `struct file' declared inside
parameter list
lirc_haup.h:91: warning: `struct inode' declared inside
parameter list
lirc_haup.h:93: warning: `struct file' declared inside
parameter list
lirc_haup.h:95: warning: `struct file' declared inside
parameter list
lirc_haup.h:97: warning: `struct file' declared inside
parameter list
lirc_haup.h:99: warning: `struct file' declared inside
parameter list
lirc_haup.h:99: warning: `struct inode' declared inside
parameter list
lirc_haup.h:102: warning: `struct i2c_device' declared
inside parameter list
lirc_haup.h:103: warning: `struct i2c_device' declared
inside parameter list
lirc_haup.h:105: warning: `struct i2c_device' declared
inside parameter list
lirc_haup.c:56: variable `lirc_haup_fops' has initializer
but incomplete type
lirc_haup.c:57: warning: excess elements in struct
initializer
lirc_haup.c:57: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:58: warning: excess elements in struct
initializer
lirc_haup.c:58: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:59: warning: excess elements in struct
initializer
lirc_haup.c:59: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:60: warning: excess elements in struct
initializer
lirc_haup.c:60: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:61: warning: excess elements in struct
initializer
lirc_haup.c:61: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:62: warning: excess elements in struct
initializer
lirc_haup.c:62: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:63: warning: excess elements in struct
initializer
lirc_haup.c:63: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:64: warning: excess elements in struct
initializer
lirc_haup.c:64: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:65: warning: excess elements in struct
initializer
lirc_haup.c:65: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:67: warning: excess elements in struct
initializer
lirc_haup.c:67: warning: (near initialization for
`lirc_haup_fops')
lirc_haup.c:71: variable `lirc_haup_i2c_driver' has
initializer but incomplete t
ype
lirc_haup.c:73: warning: excess elements in struct
initializer
lirc_haup.c:73: warning: (near initialization for
`lirc_haup_i2c_driver')
lirc_haup.c:74: warning: excess elements in struct
initializer
lirc_haup.c:74: warning: (near initialization for
`lirc_haup_i2c_driver')
lirc_haup.c:75: warning: excess elements in struct
initializer
lirc_haup.c:75: warning: (near initialization for
`lirc_haup_i2c_driver')
lirc_haup.c:75: warning: excess elements in struct
initializer
lirc_haup.c:75: warning: (near initialization for
`lirc_haup_i2c_driver')
lirc_haup.c:77: warning: excess elements in struct
initializer
lirc_haup.c:77: warning: (near initialization for
`lirc_haup_i2c_driver')
lirc_haup.c:78: warning: excess elements in struct
initializer
lirc_haup.c:78: warning: (near initialization for
`lirc_haup_i2c_driver')
lirc_haup.c:80: warning: excess elements in struct
initializer
lirc_haup.c:80: warning: (near initialization for
`lirc_haup_i2c_driver')
lirc_haup.c: In function `lirc_haup_do_timer':
lirc_haup.c:107: warning: implicit declaration of function
`wake_up'
lirc_haup.c:120: warning: implicit declaration of function
`printk'
lirc_haup.c:125: warning: implicit declaration of function
`wake_up_interruptibl
e'
lirc_haup.c:130: `jiffies' undeclared (first use in this
function)
lirc_haup.c:130: (Each undeclared identifier is reported
only once
lirc_haup.c:130: for each function it appears in.)
lirc_haup.c: In function `read_raw_keypress':
lirc_haup.c:142: `LOCK_FLAGS' undeclared (first use in this
function)
lirc_haup.c:144: warning: implicit declaration of function
`LOCK_I2C_BUS'
lirc_haup.c:146: warning: implicit declaration of function
`i2c_start'
lirc_haup.c:148: warning: implicit declaration of function
`i2c_sendbyte'
lirc_haup.c:150: warning: implicit declaration of function
`i2c_readbyte'
lirc_haup.c:156: warning: implicit declaration of function
`i2c_stop'
lirc_haup.c:158: warning: implicit declaration of function
`UNLOCK_I2C_BUS'
lirc_haup.c: At top level:
lirc_haup.c:205: warning: `struct i2c_device' declared
inside parameter list
lirc_haup.c:206: conflicting types for `lirc_haup_attach'
lirc_haup.h:102: previous declaration of `lirc_haup_attach'
lirc_haup.c: In function `lirc_haup_attach':
lirc_haup.c:211: dereferencing pointer to incomplete type
lirc_haup.c:211: `I2C_BUSID_BT848' undeclared (first use in
this function)
lirc_haup.c:214: dereferencing pointer to incomplete type
lirc_haup.c:214: warning: implicit declaration of function
`kmalloc'
lirc_haup.c:215: `GFP_KERNEL' undeclared (first use in this
function)
lirc_haup.c:215: warning: assignment makes pointer from
integer without a cast
lirc_haup.c:219: dereferencing pointer to incomplete type
lirc_haup.c:220: dereferencing pointer to incomplete type
lirc_haup.c:221: dereferencing pointer to incomplete type
lirc_haup.c: At top level:
lirc_haup.c:238: warning: `struct i2c_device' declared
inside parameter list
lirc_haup.c:239: conflicting types for `lirc_haup_detach'
lirc_haup.h:103: previous declaration of `lirc_haup_detach'
lirc_haup.c: In function `lirc_haup_detach':
lirc_haup.c:241: dereferencing pointer to incomplete type
lirc_haup.c:250: warning: implicit declaration of function
`kfree'
lirc_haup.c: At top level:
lirc_haup.c:258: warning: `struct i2c_device' declared
inside parameter list
lirc_haup.c:259: conflicting types for `lirc_haup_command'
lirc_haup.h:105: previous declaration of `lirc_haup_command'
lirc_haup.c:265: warning: `struct file' declared inside
parameter list
lirc_haup.c:266: conflicting types for `lirc_haup_poll'
lirc_haup.h:97: previous declaration of `lirc_haup_poll'
lirc_haup.c: In function `lirc_haup_poll':
lirc_haup.c:267: warning: implicit declaration of function
`poll_wait'
lirc_haup.c: At top level:
lirc_haup.c:280: warning: `struct file' declared inside
parameter list
lirc_haup.c:280: warning: `struct inode' declared inside
parameter list
lirc_haup.c:281: conflicting types for `lirc_haup_ioctl'
lirc_haup.h:99: previous declaration of `lirc_haup_ioctl'
lirc_haup.c: In function `lirc_haup_ioctl':
lirc_haup.c:288: warning: implicit declaration of function
`put_user'
lirc_haup.c:291: warning: implicit declaration of function
`get_user'
lirc_haup.c:303: `ENOIOCTLCMD' undeclared (first use in this
function)
lirc_haup.c:282: warning: `result' might be used
uninitialized in this function
lirc_haup.c:284: warning: `mode' might be used uninitialized
in this function
lirc_haup.c: At top level:
lirc_haup.c:310: warning: `struct file' declared inside
parameter list
lirc_haup.c:310: warning: `struct inode' declared inside
parameter list
lirc_haup.c:311: conflicting types for `lirc_haup_open'
lirc_haup.h:90: previous declaration of `lirc_haup_open'
lirc_haup.c: In function `lirc_haup_open':
lirc_haup.c:332: `jiffies' undeclared (first use in this
function)
lirc_haup.c: At top level:
lirc_haup.c:350: warning: `struct file' declared inside
parameter list
lirc_haup.c:350: warning: `struct inode' declared inside
parameter list
lirc_haup.c:351: conflicting types for `lirc_haup_close'
lirc_haup.h:91: previous declaration of `lirc_haup_close'
lirc_haup.c: In function `lirc_haup_close':
lirc_haup.c:352: warning: implicit declaration of function
`sleep_on'
lirc_haup.c: At top level:
lirc_haup.c:375: warning: `struct file' declared inside
parameter list
lirc_haup.c:376: conflicting types for `lirc_haup_read'
lirc_haup.h:93: previous declaration of `lirc_haup_read'
lirc_haup.c: In function `lirc_haup_read':
lirc_haup.c:389: dereferencing pointer to incomplete type
lirc_haup.c:389: `O_NONBLOCK' undeclared (first use in this
function)
lirc_haup.c:391: warning: implicit declaration of function
`interruptible_sleep_
on'
lirc_haup.c:392: warning: implicit declaration of function
`signal_pending'
lirc_haup.c:392: `current' undeclared (first use in this
function)
lirc_haup.c:393: `ERESTARTSYS' undeclared (first use in this
function)
lirc_haup.c:401: warning: implicit declaration of function
`copy_to_user'
lirc_haup.c: At top level:
lirc_haup.c:413: warning: `struct file' declared inside
parameter list
lirc_haup.c:414: conflicting types for `lirc_haup_write'
lirc_haup.h:95: previous declaration of `lirc_haup_write'
lirc_haup.c: In function `init_module':
lirc_haup.c:449: warning: implicit declaration of function
`register_chrdev'
lirc_haup.c:458: warning: implicit declaration of function
`i2c_register_driver'
lirc_haup.c:471: invalid use of undefined type `struct
i2c_driver'
lirc_haup.c:472: invalid use of undefined type `struct
i2c_driver'
lirc_haup.c: In function `cleanup_module':
lirc_haup.c:484: warning: implicit declaration of function
`unregister_chrdev'
lirc_haup.c:490: warning: implicit declaration of function
`i2c_unregister_drive
r'
make[2]: *** [lirc_haup.o] Error 1
make[1]: *** [_mod_/usr/src/lirc/lirc_haup] Error 2
make: *** [lirc_haup.o] Error 2

---

-- 
Frank Berger  *    Lerchenweg 1    *    49448 Lemförde
 05443/2593   *    0177/3014557    *   frank@bergers.net
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     734


Reply to: