Ankündigung

Einklappen
Keine Ankündigung bisher.

bcusdk auf raspberry pi lässt sich nicht kompilieren

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    bcusdk auf raspberry pi lässt sich nicht kompilieren

    Hallo,

    ich wollte mir das bcusdk auf einem Raspberry Pi mit Debian Wheezy bauen. Es wurden die Original-Sources von https://www.auto.tuwien.ac.at/~mkoegler/index.php/eibdeb verwendet.

    pthsem 2.0.8 lässt sich kompilieren. Probleme treten beim Kompilieren von m68hc05-gnu_0.0.2 auf. Der Make bricht irgendwann mit der folgenden Fehlermeldung ab:


    Code:
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.././bfd -I. -I../.././bfd -I../.././bfd/../include -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wunused-but-set-variable -Werror -g -fkeep-inline-functions -MT verilog.lo -MD -MP -MF .deps/verilog.Tpo -c ../.././bfd/verilog.c -o verilog.o
    ../.././bfd/verilog.c: In function 'verilog_write_section':
    ../.././bfd/verilog.c:225:15: error: variable 'address' set but not used [-Werror=unused-but-set-variable]
    cc1: all warnings being treated as errors
    make[5]: *** [verilog.lo] Error 1
    make[5]: Leaving directory `/root/build/m68hc05-gnu-0.0.2/host-armv6l-unknown-linux-gnueabi/bfd'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/root/build/m68hc05-gnu-0.0.2/host-armv6l-unknown-linux-gnueabi/bfd'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/root/build/m68hc05-gnu-0.0.2/host-armv6l-unknown-linux-gnueabi/bfd'
    make[2]: *** [all-stage1-bfd] Error 2
    make[2]: Leaving directory `/root/build/m68hc05-gnu-0.0.2'
    make[1]: *** [stage1-bubble] Error 2
    make[1]: Leaving directory `/root/build/m68hc05-gnu-0.0.2'
    make: *** [all] Error 2
    Der gcc ist also der Meinung, dass in der Datei verilog.c eine Variable namens address gesetzt, aber nicht verwendet wird. Hmm, habe mir den Source-Code angeschaut. Die Variable wird sehr wohl verwendet. Stehe im Moment auf dem Schlauch....
    gcc-Compiler: 4.6.3

    Vielleicht kann jemand weiterhelfen.

    Danke & Gruß,
    thoern

    #2
    Hi thoern

    Brauchst du das 68HC05 Zeug überhaupt (ging bei mir exakt genau so schief)?
    Willst Du nicht nur den eibd haben?
    Das funktioniert wie hier beschrieben:

    https://knx-user-forum.de/knx-eib-fo...pberry-pi.html

    Das hat bei mir tadellos funktioniert, auch mit dem neuen Wheezy

    Gruß, Martin

    Kommentar

    Lädt...
    X