From: Marco G. <m....@fa...> - 2002-04-01 16:36:46
|
BB> Hi Marco, BB> if you include the error messages that you get, maybe we can figure out BB> what's going on. BB> When I think about it, my advice about messing with the symlinks probably BB> wasn't great, I think there is a configure directive that lets you set the BB> kernel location. Yes, I edited the Makefile and changed the paths to the 2.2.19 Kernel-Source and now I get these Error-Messages I included at the end of the mail. But as I know from the LRP-Maillist, they are using the glibc 2.0.7. So I wanted to dload it from the GNU-FTP, but there is no ver. 2.0.7 !? The other software I'm using (lcdproc and irmp3) is compiled with "-static"-Flag and all is working fine. Ok ok, the Binaries are up to 2 MB, but I still have 8 Gig free HD-Space on my MP3-Box and so it really doesn't matter much. Ok, here are the Error-Messages: [root@linux /root]# cd lirc-0.6.5 [root@linux lirc-0.6.5]# cd drivers [root@linux drivers]# cd lirc_serial [root@linux lirc_serial]# make DIR=`pwd`; (cd /usr/src/linux-2.2.19/; make SUBDIRS=$DIR obj-m=lirc_serial.o modules) make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/linux-2.2.19« make -C /root/lirc-0.6.5/drivers/lirc_serial CFLAGS="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE" MAKING_MODULES=1 modules make[2]: Wechsel in das Verzeichnis Verzeichnis »/root/lirc-0.6.5/drivers/lirc_serial« /usr/bin/kgcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DHAVE_CONFIG_H -I. -I. -I../.. -c -o lirc_serial.o lirc_serial.c lirc_serial.c:72: warning: #warning "******************************************" lirc_serial.c:73: warning: #warning " Your serial port driver is compiled into " lirc_serial.c:74: warning: #warning " the kernel. You will have to release the " lirc_serial.c:75: warning: #warning " port you want to use for LIRC with: " lirc_serial.c:76: warning: #warning " setserial /dev/ttySx uart none " lirc_serial.c:77: warning: #warning "******************************************" lirc_serial.c:109: warning: #warning "Software carrier only affects transmitting" lirc_serial.c:115: warning: #warning "Note: using rdtsc instruction" In file included from /usr/include/linux/sched.h:15, from lirc_serial.c:83: /usr/include/linux/timex.h:173: field `time' has incomplete type In file included from /usr/include/linux/sched.h:80, from lirc_serial.c:83: /usr/include/linux/timer.h:17: field `list' has incomplete type /usr/include/linux/timer.h: In function `timer_pending': /usr/include/linux/timer.h:53: warning: control reaches end of non-void function /usr/include/asm/hw_irq.h: At top level: In file included from /usr/include/linux/irq.h:59, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:45, from lirc_serial.c:85: /usr/include/asm/hw_irq.h:78: parse error before `(' lirc_serial.c:248: warning: type defaults to `int' in declaration of `DECLARE_WAIT_QUEUE_HEAD' lirc_serial.c:248: warning: parameter names (without types) in function declaration lirc_serial.c: In function `calc_pulse_lengths_in_clocks': lirc_serial.c:405: warning: implicit declaration of function `printk' lirc_serial.c:405: `KERN_INFO' undeclared (first use in this function) lirc_serial.c:405: (Each undeclared identifier is reported only once lirc_serial.c:405: for each function it appears in.) lirc_serial.c:405: parse error before string constant lirc_serial.c: In function `rbwrite': lirc_serial.c:578: `KERN_WARNING' undeclared (first use in this function) lirc_serial.c:578: parse error before string constant lirc_serial.c: In function `irq_handler': lirc_serial.c:648: `KERN_WARNING' undeclared (first use in this function) lirc_serial.c:648: parse error before string constant lirc_serial.c:655: warning: implicit declaration of function `do_gettimeofday' lirc_serial.c:686: parse error before string constant lirc_serial.c:710: parse error before string constant lirc_serial.c:713: parse error before string constant lirc_serial.c:722: warning: implicit declaration of function `wake_up_interruptible' lirc_serial.c:722: `lirc_wait_in' undeclared (first use in this function) lirc_serial.c: At top level: lirc_serial.c:728: warning: type defaults to `int' in declaration of `DECLARE_WAIT_QUEUE_HEAD' lirc_serial.c:728: warning: parameter names (without types) in function declaration lirc_serial.c: In function `init_port': lirc_serial.c:756: `KERN_ERR' undeclared (first use in this function) lirc_serial.c:756: parse error before string constant lirc_serial.c:758: `KERN_WARNING' undeclared (first use in this function) lirc_serial.c:758: parse error before string constant lirc_serial.c:760: parse error before string constant lirc_serial.c:826: warning: implicit declaration of function `sleep_on_timeout' lirc_serial.c:826: `power_supply_queue' undeclared (first use in this function) lirc_serial.c:838: `KERN_INFO' undeclared (first use in this function) lirc_serial.c:838: parse error before string constant lirc_serial.c:843: parse error before string constant lirc_serial.c: At top level: lirc_serial.c:850: warning: `struct file' declared inside parameter list lirc_serial.c:850: warning: its scope is only this definition or declaration, lirc_serial.c:850: warning: which is probably not what you want. lirc_serial.c:850: warning: `struct inode' declared inside parameter list lirc_serial.c: In function `lirc_open': lirc_serial.c:869: warning: implicit declaration of function `request_irq' lirc_serial.c:873: `KERN_ERR' undeclared (first use in this function) lirc_serial.c:873: parse error before string constant lirc_serial.c:879: parse error before string constant lirc_serial.c:887: `KERN_INFO' undeclared (first use in this function) lirc_serial.c:887: parse error before string constant lirc_serial.c: At top level: lirc_serial.c:914: warning: `struct file' declared inside parameter list lirc_serial.c:914: warning: `struct inode' declared inside parameter list lirc_serial.c: In function `lirc_close': lirc_serial.c:930: warning: implicit declaration of function `free_irq' lirc_serial.c:932: `KERN_INFO' undeclared (first use in this function) lirc_serial.c:932: parse error before string constant lirc_serial.c: At top level: lirc_serial.c:943: parse error before `poll_table' lirc_serial.c:943: warning: `struct file' declared inside parameter list lirc_serial.c:944: warning: function declaration isn't a prototype lirc_serial.c: In function `lirc_poll': lirc_serial.c:945: warning: implicit declaration of function `poll_wait' lirc_serial.c:945: `file' undeclared (first use in this function) lirc_serial.c:945: `lirc_wait_in' undeclared (first use in this function) lirc_serial.c:945: `wait' undeclared (first use in this function) lirc_serial.c: At top level: lirc_serial.c:965: warning: `struct file' declared inside parameter list lirc_serial.c: In function `lirc_read': lirc_serial.c:973: warning: implicit declaration of function `DECLARE_WAITQUEUE' lirc_serial.c:973: `wait' undeclared (first use in this function) lirc_serial.c:980: warning: implicit declaration of function `add_wait_queue' lirc_serial.c:980: `lirc_wait_in' undeclared (first use in this function) lirc_serial.c:981: dereferencing pointer to incomplete type lirc_serial.c:986: warning: implicit declaration of function `copy_to_user' lirc_serial.c:995: dereferencing pointer to incomplete type lirc_serial.c:1000: warning: implicit declaration of function `signal_pending' lirc_serial.c:1001: `ERESTARTSYS' undeclared (first use in this function) lirc_serial.c:1010: warning: implicit declaration of function `schedule' lirc_serial.c:1011: dereferencing pointer to incomplete type lirc_serial.c:1014: warning: implicit declaration of function `remove_wait_queue' lirc_serial.c:1015: dereferencing pointer to incomplete type lirc_serial.c: At top level: lirc_serial.c:1021: warning: `struct file' declared inside parameter list lirc_serial.c: In function `lirc_write': lirc_serial.c:1037: warning: implicit declaration of function `verify_area' lirc_serial.c:1037: `VERIFY_READ' undeclared (first use in this function) lirc_serial.c:1042: warning: implicit declaration of function `copy_from_user' lirc_serial.c: At top level: lirc_serial.c:1063: warning: `struct file' declared inside parameter list lirc_serial.c:1063: warning: `struct inode' declared inside parameter list lirc_serial.c: In function `lirc_ioctl': lirc_serial.c:1073: warning: implicit declaration of function `put_user' lirc_serial.c:1087: `ENOIOCTLCMD' undeclared (first use in this function) lirc_serial.c:1133: warning: implicit declaration of function `get_user' lirc_serial.c:1194: `KERN_WARNING' undeclared (first use in this function) lirc_serial.c:1194: parse error before string constant lirc_serial.c:1231: parse error before string constant lirc_serial.c:1066: warning: `value' might be used uninitialized in this function lirc_serial.c:1067: warning: `ivalue' might be used uninitialized in this function lirc_serial.c: At top level: lirc_serial.c:1244: variable `lirc_fops' has initializer but incomplete type lirc_serial.c:1246: unknown field `read' specified in initializer lirc_serial.c:1246: warning: excess elements in struct initializer after `lirc_fops' lirc_serial.c:1247: unknown field `write' specified in initializer lirc_serial.c:1247: warning: excess elements in struct initializer after `lirc_fops' lirc_serial.c:1249: unknown field `poll' specified in initializer lirc_serial.c:1249: warning: excess elements in struct initializer after `lirc_fops' lirc_serial.c:1253: unknown field `ioctl' specified in initializer lirc_serial.c:1253: warning: excess elements in struct initializer after `lirc_fops' lirc_serial.c:1254: unknown field `open' specified in initializer lirc_serial.c:1254: warning: excess elements in struct initializer after `lirc_fops' lirc_serial.c:1255: unknown field `release' specified in initializer lirc_serial.c:1256: warning: excess elements in struct initializer after `lirc_fops' lirc_serial.c: In function `init_module': lirc_serial.c:1309: warning: implicit declaration of function `register_chrdev' lirc_serial.c:1310: `KERN_ERR' undeclared (first use in this function) lirc_serial.c:1310: parse error before string constant lirc_serial.c: In function `cleanup_module': lirc_serial.c:1321: warning: implicit declaration of function `unregister_chrdev' lirc_serial.c:1323: `KERN_INFO' undeclared (first use in this function) lirc_serial.c:1323: parse error before string constant lirc_serial.c: At top level: lirc_serial.c:728: warning: `DECLARE_WAIT_QUEUE_HEAD' declared `static' but never defined make[2]: *** [lirc_serial.o] Fehler 1 make[2]: Verlassen des Verzeichnisses Verzeichnis »/root/lirc-0.6.5/drivers/lirc_serial« make[1]: *** [_mod_/root/lirc-0.6.5/drivers/lirc_serial] Fehler 2 make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/linux-2.2.19« |