microtrigger / lightpack

Automatically exported from code.google.com/p/lightpack
GNU General Public License v3.0
1 stars 0 forks source link

Can not build firmware on Debian #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build firmware with gcc-avr 4.7.2 on debian system.

What is the expected output? What do you see instead?
Is not building.
 1. not found Version.h
 2. VVV
Descriptors.c:51:45: error: variable ‘GenericReport’ must be const in order 
to be put into read-only section by means of ‘__attribute__((progmem))’
Descriptors.c:77:33: error: variable ‘DeviceDescriptor’ must be const in 
order to be put into read-only section by means of 
‘__attribute__((progmem))’
Descriptors.c:104:40: error: variable ‘ConfigurationDescriptor’ must be 
const in order to be put into read-only section by means of 
‘__attribute__((progmem))’
Descriptors.c:163:33: error: variable ‘LanguageString’ must be const in 
order to be put into read-only section by means of 
‘__attribute__((progmem))’
Descriptors.c:174:33: error: variable ‘ManufacturerString’ must be const in 
order to be put into read-only section by means of 
‘__attribute__((progmem))’
Descriptors.c:185:33: error: variable ‘ProductString’ must be const in 
order to be put into read-only section by means of 
‘__attribute__((progmem))’

What version of the product are you using? On what operating system?
revision on Firmware tree: "df7a86ff0afd94d9e1b6093184847eb000cbbed9
Author: Timur Sattarov <tim.helloworld@gmail.com>
Date:   Mon May 28 20:24:02 2012 +0400

    watchdog has been fixed"
OS: Debian 7

Please provide any additional information below.
 Patch with fix included.

Original issue reported on code.google.com by nolex...@gmail.com on 9 Feb 2013 at 7:35

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by tim.hell...@gmail.com on 11 Nov 2013 at 12:21