View previous topic :: View next topic |
Author |
Message |
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Sun Jul 08, 2018 4:54 pm Post subject: lirc-0.9.0-r6 compile error and Kernel 4.14.52-gentoo |
|
|
Lirc refuses to compile and gives out the following error,
Code: |
In file included from config_file.c:34:0:
transmit.h:32:13: warning: inline function 'set_bit' declared but never defined
inline void set_bit(ir_code * code, int bit, int data);
^~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -march=native -c -o dump_config.o dump_config.c
In file included from dump_config.c:29:0:
config_file.h:70:14: warning: inline function 'get_void_array' declared but never defined
inline void *get_void_array(struct void_array *ar);
^~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -march=native -c -o input_map.o input_map.c
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,--as-needed -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o libhw_module.a -lasound -L/usr/lib64 -lusb -L/usr/lib64 -lusb -L/usr/lib64 -lusb -L/usr/lib64 -lusb -L/usr/lib64 -lusb -lpthread -lpthread
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o -Wl,--as-needed libhw_module.a -lasound -L/usr/lib64 -lusb -lpthread
libhw_module.a(hw_default.o): In function `default_init':
hw_default.c:(.text+0x5c9): undefined reference to `major'
hw_default.c:(.text+0x5dd): undefined reference to `major'
libhw_module.a(receive.o): In function `receive_decode':
receive.c:(.text+0x2fd3): undefined reference to `get_next_pulse'
receive.c:(.text+0x2fe6): undefined reference to `get_next_space'
receive.c:(.text+0x3055): undefined reference to `get_next_space'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:640: irrecord] Error 1
make[3]: Leaving directory '/var/tmp/portage/app-misc/lirc-0.9.0-r6/work/lirc-0.9.0/daemons'
make[2]: *** [Makefile:489: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/app-misc/lirc-0.9.0-r6/work/lirc-0.9.0/daemons'
make[1]: *** [Makefile:437: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-misc/lirc-0.9.0-r6/work/lirc-0.9.0'
make: *** [Makefile:369: all] Error 2
* ERROR: app-misc/lirc-0.9.0-r6::gentoo failed (compile phase):
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Sun Jul 08, 2018 5:05 pm Post subject: |
|
|
https://bugs.gentoo.org/652740
Try to unmask version 0.10.0 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Mon Jul 09, 2018 1:13 pm Post subject: |
|
|
Thanks. That worked. |
|
Back to top |
|
|
|