Public bug reported:

My system:
Description:    Ubuntu 11.04
Release:        11.04

Package: codeblocks
Priority: optional
Section: universe/devel
Installed-Size: 5148
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Original-Maintainer: David Paleino <da...@debian.org>
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"

** Affects: codeblocks (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/826574

Title:
  Codeblocks cannot build Atmel projects on 64 bit Ubuntu system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/codeblocks/+bug/826574/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to