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:
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
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
gcc-Compiler: 4.6.3
Vielleicht kann jemand weiterhelfen.
Danke & Gruß,
thoern
Kommentar