Codeblocks cannot build Atmel projects on 64 bit Ubuntu system

Bug #826574 reported by Manfred Steiner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
codeblocks (Ubuntu)
New
Undecided
Unassigned

Bug Description

My system:
Description: Ubuntu 11.04
Release: 11.04

Package: codeblocks
Priority: optional
Section: universe/devel
Installed-Size: 5148
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: David Paleino <email address hidden>
Architecture: amd64
Version: 10.05-1

Other installed packages:
gcc-avr, avr-libc, gdb-avr, binutils-avr, avrdude

The error:

||=== test1, Release ===|
/usr/include/gnu/stubs.h|7|Fehler: gnu/stubs-32.h: Datei oder Verzeichnis nicht gefunden|
||=== Build finished: 1 errors, 0 warnings ===|

That's clear because on a 64 bit engine there is only /usr/include/stubs-64.h available

The following work-arround is working:

1) I copy the complete directory /usr/include/gnu from a 32 bit engine to the 64 bit engine using a different name, i.e. /usr/include32/gnu

2) In Codeblocks: menu settings/compiler debugger ... -> select GNU AVR GCC Compiler -> select Search Libraries
now remove the entry "/usr/include" and add entry "/usr/include32"

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi, a new codeblocks version is available, could you please try to reproduce your issue with this newer version?
The new version 12.11-2 is available in my ppa
https://code.launchpad.net/~costamagnagianfranco/+archive/costamagnagianfranco-ppa
The new version is already in raring, I backported it for quantal and precise too

In case the bug still persists, please set the status back to "new"

Changed in codeblocks (Ubuntu):
status: New → Incomplete
Changed in codeblocks (Ubuntu):
status: Incomplete → New
Revision history for this message
Teodor Petrov (fuscated) wrote :

This should be fixed in the svn repo of the codeblocks project.
trunk branch rev: 11121
release 16.xx branch rev: 11144

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.