linux-libc-dev on 64-bit arches does not provide asm/unaligned.h

Bug #62080 reported by João Mamede
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

crypto.c:24:27: error: asm/unaligned.h: Arquivo ou diretório inexistente
crypto.c: In member function 'void cDes::Des(unsigned char*, const unsigned char*, int) const':

It says it doesn't find the file or directory(unaligned.h).

In my source based distro the file is in /usr/include/asm and it comes from glibc.
I only have the file in
/usr/src/linux-headers-2.6.15-23/include/asm-alpha/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-arm26/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-arm/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-m68knommu/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-cris/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-frv/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-generic/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-h8300/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-i386/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-ia64/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-m32r/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-m68k/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-mips/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-parisc/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-powerpc/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-s390/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-sh/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-sh64/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-sparc/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-sparc64/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-um/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-v850/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-x86_64/unaligned.h
/usr/src/linux-headers-2.6.15-23/include/asm-xtensa/unaligned.h
I tried to copy one of asm-generic to /usr/include/asm/asm-generic..it finds the file however it doesn't compile straight.

I don't know what else to do. I'm using edgy since last night(23-Sept-2006) in dapper this same app compiled well.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

It seems the file you are looking for is in the linux-kernel-headers package (as shown here http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=unaligned.h&searchmode=searchfiles&case=insensitive&version=edgy&arch=i386)

Revision history for this message
João Mamede (foreveruni) wrote : Re: [Bug 62080] Re: can't find asm/unaligned.h

I tried that however when I apt-get install linux-kernel-headers this
packages must be removed:
Os seguintes pacotes serão REMOVIDOS:
  apt-build build-essential comerr-dev g++ g++-4.0 g++-4.1 libao-dev
  libasound2-dev libaudiofile-dev libavahi-glib-dev libbonobo2-dev
libc6-dev
  libcamel1.2-dev libcap-dev libedataserver1.2-dev libesd0-dev
libexpat1-dev
  libflac-dev libfontconfig1-dev libfontenc-dev libfreetype6-dev
libgconf-dev
  libgconf2-dev libgcrypt11-dev libgl1-mesa-dev libglib1.2-dev
libglib2.0-dev
  libglu1-mesa-dev libgnome-vfs-dev libgpg-error-dev libid3tag0-dev
libidl-dev
  libjpeg62-dev libkrb5-dev libmng-dev libncurses5-dev liboaf-dev
libogg-dev
  libopencdk8-dev libopenobex-1.0-0-dev liborbit-dev liborbit2-dev
  libpng12-dev libpopt-dev libslang1-dev libsndfile1-dev libsqlite3-dev
  libssl-dev libstdc++6-4.0-dev libstdc++6-4.1-dev libtool libvorbis-dev
  libxfont-dev libxft-dev libxml-dev linux-libc-dev xorg-dev zlib1g-dev
Mamede
Sáb, 2006-09-23 às 22:27 +0000, Lionel Le Folgoc escreveu:
> It seems the file you are looking for is in the linux-kernel-headers
> package (as shown here http://packages.ubuntu.com/cgi-
> bin/search_contents.pl?word=unaligned.h&searchmode=searchfiles&case=insensitive&version=edgy&arch=i386)
> Use 'apt-get autoremove' to remove them.

Revision history for this message
Michael Bienia (geser) wrote : Re: can't find asm/unaligned.h

linux-kernel-headers was renamed to linux-libc-headers.

Revision history for this message
Michael Bienia (geser) wrote :

The correct package name is linux-libc-dev but it doesn't include asm/unaligned.h (at least not on AMD64).

Revision history for this message
Sebastian Rode (sebastian-ro-deactivatedaccount) wrote :

In Gutsy it is in i386 but not in the amd64 part.

Changed in linux-source-2.6.17:
importance: Undecided → Medium
status: New → Confirmed
Daniel T Chen (crimsun)
Changed in uclibc:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

This bug report was marked as Confirmed a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Invalid
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.