Thread: help undeclared __LINUX_ARM_ARCH__

  1. #1
    Registered User
    Join Date
    Aug 2009

    help undeclared __LINUX_ARM_ARCH__

    So basically im having a problem compiling a kernel with cross compiling. Im pretty sure the cross compiler is working or i think it is. but basically like most of the forums ive been reading the error is just that I have a compiling error where alot of the files in
    linux--version/arch/arm/include/asm/* header files are saying

    __LINUX_ARM_ARCH__ undeclared error.

    I did a grep search for it and haven't really found where it should be declared any ideas where to solve this problem

  2. #2
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    When you cross compile, you'll have to do something along these lines:

    make ARCH=arm CROSS_COMPILE=/my/path/to/arm-unknown-linux-

    Are you leaving off the ARCH=arm? That _could_ be your problem.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  2. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 02:53 AM
  3. Why wont my function exit correctly?
    By LightsOut06 in forum C Programming
    Replies: 2
    Last Post: 10-09-2005, 09:23 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM