Git Product home page Git Product logo

sleeptimer's People

Contributors

fhirschmann avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sleeptimer's Issues

compilation error: ../config.h:83: error: "VERSION" redefined [-Werror]

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

Compile error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.