help undeclared __LINUX_ARM_ARCH__

This is a discussion on help undeclared __LINUX_ARM_ARCH__ within the Linux Programming forums, part of the Platform Specific Boards category; So basically im having a problem compiling a kernel with cross compiling. Im pretty sure the cross compiler is working ...

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    192

    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
    Location
    Alabama
    Posts
    1,065
    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, 10: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, 10:23 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-30-2005, 12:21 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21