Ticket #206 (closed defect: wontfix)

Opened 7 years ago

Last modified 6 years ago

TellStick Net firmware doesn't build with version 9.80 of the compiler

Reported by: micke prag <micke.prag@…> Owned by:
Priority: minor Milestone:
Component: Telldus Live! Version: 2.1.1
Keywords: Cc:
Blocked By: Blocking:
Platform: Other Sensitive: no
Verified by Telldus: yes

Description

[  0%] Compiling common.c
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC18 MCUs (Lite Mode)  V9.80
Copyright (C) 2011 Microchip Technology Inc.
[  0%] Compiling discovery.c
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC18 MCUs (Lite Mode)  V9.80
Copyright (C) 2011 Microchip Technology Inc.
/home/micke/Documents/dev/telldus/tellstick-net/tcpip/TCPIP Stack/Compiler.h: 167: (111) redefining preprocessor macro "Nop" (/opt/hitech/picc-18/9.80/include/pic18.h: 41) (warning)
/home/micke/Documents/dev/telldus/tellstick-net/tcpip/TCPIP Stack/Compiler.h: 168: (111) redefining preprocessor macro "ClrWdt" (/opt/hitech/picc-18/9.80/include/pic18.h: 39) (warning)
/home/micke/Documents/dev/telldus/tellstick-net/tcpip/TCPIP Stack/Compiler.h: 169: (111) redefining preprocessor macro "Reset" (/opt/hitech/picc-18/9.80/include/pic18.h: 43) (warning)
/opt/hitech/picc-18/9.80/include/stdlib.h:148: error[984]: type redeclared
/opt/hitech/picc-18/9.80/include/stdlib.h:148: error[1098]: conflicting declarations for variable "ltoa" (/opt/hitech/picc-18/9.80/include/stdlib.h:151)
/opt/hitech/picc-18/9.80/include/stdlib.h:149: error[984]: type redeclared
/opt/hitech/picc-18/9.80/include/stdlib.h:149: error[1098]: conflicting declarations for variable "ultoa" (/opt/hitech/picc-18/9.80/include/stdlib.h:152)
/opt/hitech/picc-18/9.80/include/stdlib.h:148: error[984]: type redeclared
/opt/hitech/picc-18/9.80/include/stdlib.h:148: error[1098]: conflicting declarations for variable "ltoa" (/opt/hitech/picc-18/9.80/include/stdlib.h:151)
/opt/hitech/picc-18/9.80/include/stdlib.h:149: error[984]: type redeclared
/opt/hitech/picc-18/9.80/include/stdlib.h:149: error[1098]: conflicting declarations for variable "ultoa" (/opt/hitech/picc-18/9.80/include/stdlib.h:152)
make[2]: *** [discovery.p1] Fel 1
make[1]: *** [CMakeFiles/TellStickNet.dir/all] Fel 2
make: *** [all] Fel 2

Change History

comment:1 Changed 7 years ago by micke prag <micke.prag@…>

  • Status changed from new to closed
  • Resolution set to wontfix

Compiler.h defines __18CXX which makes the compiler think it is in "C18 Compatibility mode". Enabling this mode globally doesn't seem to work at all.
We need a version of the TCP/IP stack that doesn't defines this.
For now, use an older version of the compiler (9.63PL3, 9.65 and 9.66 tested).

comment:2 Changed 6 years ago by mark andrews <mark@…>

 http://ww1.microchip.com/downloads/en/DeviceDoc/picc-18-pro_9.66.8870-linux.zip

Was hard to find a version of the compiler that worked, hopefully this link will help others.

Note: See TracTickets for help on using tickets.