fhirschmann / sleeptimer Goto Github PK
View Code? Open in Web Editor NEWSimple single button lirc-capable shut down timer with an OSD
License: GNU General Public License v3.0
Simple single button lirc-capable shut down timer with an OSD
License: GNU General Public License v3.0
I am getting this on recent Arch x86_64 install:
..
In file included from sleeptimer.c:35:
../config.h:75: error: "PACKAGE_VERSION" redefined [-Werror]
75 | #define PACKAGE_VERSION "0.4.2"
|
In file included from /usr/include/lirc/curl_poll.h:35,
from /usr/include/lirc/lirc_client.h:124,
from sleeptimer.c:32:
/usr/include/lirc/config.h:233: note: this is the location of the previous definition
233 | #define PACKAGE_VERSION "0.10.1"
|
In file included from sleeptimer.c:35:
../config.h:83: error: "VERSION" redefined [-Werror]
83 | #define VERSION "0.4.2"
|
In file included from /usr/include/lirc/curl_poll.h:35,
from /usr/include/lirc/lirc_client.h:124,
from sleeptimer.c:32:
/usr/include/lirc/config.h:248: note: this is the location of the previous definition
248 | #define VERSION "0.10.1"
|
cc1: all warnings being treated as errors
make[2]: *** [Makefile:425: sleeptimer-sleeptimer.o] Error 1
make[2]: Leaving directory '/data/jose/.cache/yay/sleeptimer/src/sleeptimer-0.4.2/src'
make[1]: *** [Makefile:476: all-recursive] Error 1
make[1]: Leaving directory '/data/jose/.cache/yay/sleeptimer/src/sleeptimer-0.4.2'
make: *** [Makefile:382: all] Error 2
Hi there,
I get the following error if I am trying to compile the package I've downloaded from http://dl.0x0b.de/halttimer/
Thanks for your help
root@xbmc:~/downloads/halttimer-0.3# make
make all-recursive
make[1]: Entering directory `/root/downloads/halttimer-0.3'
Making all in po
make[2]: Entering directory `/root/downloads/halttimer-0.3/po'
make[2]: Leaving directory `/root/downloads/halttimer-0.3/po'
Making all in src
make[2]: Entering directory `/root/downloads/halttimer-0.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -Wall -Werror -g -O2 -MT halttimer-halttimer.o -MD -MP -MF .deps/halttimer-halttimer.Tpo -c -o halttimer-halttimer.o `test -f 'halttimer.c' || echo './'`halttimer.c
mv -f .deps/halttimer-halttimer.Tpo .deps/halttimer-halttimer.Po
gcc -Wall -Werror -g -O2 -L/usr/lib -lxosd -lpthread -lXext -lX11 -lXinerama -o halttimer halttimer-halttimer.o -llirc_client
halttimer-halttimer.o: In function `catch_usr1':
/root/downloads/halttimer-0.3/src/halttimer.c:114: undefined reference to `xosd_display'
halttimer-halttimer.o: In function `catch_alarm':
/root/downloads/halttimer-0.3/src/halttimer.c:81: undefined reference to `xosd_display'
/root/downloads/halttimer-0.3/src/halttimer.c:77: undefined reference to `xosd_display'
halttimer-halttimer.o: In function `main':
/root/downloads/halttimer-0.3/src/halttimer.c:303: undefined reference to `xosd_create'
/root/downloads/halttimer-0.3/src/halttimer.c:304: undefined reference to `xosd_set_font'
/root/downloads/halttimer-0.3/src/halttimer.c:305: undefined reference to `xosd_set_colour'
/root/downloads/halttimer-0.3/src/halttimer.c:306: undefined reference to `xosd_set_timeout'
/root/downloads/halttimer-0.3/src/halttimer.c:307: undefined reference to `xosd_set_align'
/root/downloads/halttimer-0.3/src/halttimer.c:308: undefined reference to `xosd_set_vertical_offset'
/root/downloads/halttimer-0.3/src/halttimer.c:309: undefined reference to `xosd_set_horizontal_offset'
/root/downloads/halttimer-0.3/src/halttimer.c:310: undefined reference to `xosd_set_shadow_offset'
/root/downloads/halttimer-0.3/src/halttimer.c:316: undefined reference to `xosd_destroy'
collect2: ld returned 1 exit status
make[2]: *** [halttimer] Error 1
make[2]: Leaving directory `/root/downloads/halttimer-0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/downloads/halttimer-0.3'
make: *** [all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.