All times are UTC-06:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Apr 22, 2011 4:00 am 
Offline

Joined: Sun Oct 03, 2010 1:28 pm
Posts: 14
Location: France
Hi,

I've got a WiFi USB key with an antena which i want to use with my efika mx smartbook. The driver is better in compat-wireless than in actual kernel.

when i run make (after ./script/driver select rt2x00), the header file mach/memory.h can't be found. I've searched with find all my disk without sucess.

Help greatly appreciated.

Report:
[root@efika] /usr/src/compat-wireless-2011-04-16 > make
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.31.14.20-efikamx/build M=/usr/src/compat-wireless-2011-04-16 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31.14.20-efikamx'
CC [M] /usr/src/compat-wireless-2011-04-16/compat/main.o
In file included from /usr/src/linux-headers-2.6.31.14.20-efikamx/arch/arm/include/asm/page.h:197,
from include/linux/mm_types.h:15,
from include/linux/kmemcheck.h:4,
from include/linux/skbuff.h:18,
from include/linux/if_ether.h:124,
from include/linux/netdevice.h:29,
from /usr/src/compat-wireless-2011-04-16/include/linux/compat-2.6.29.h:5,
from /usr/src/compat-wireless-2011-04-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
/usr/src/linux-headers-2.6.31.14.20-efikamx/arch/arm/include/asm/memory.h:18: fatal error: mach/memory.h: No such file or directory
compilation terminated.
make[3]: *** [/usr/src/compat-wireless-2011-04-16/compat/main.o] Error 1
make[2]: *** [/usr/src/compat-wireless-2011-04-16/compat] Error 2
make[1]: *** [_module_/usr/src/compat-wireless-2011-04-16] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31.14.20-efikamx'
make: *** [modules] Error 2


Top
   
 Post subject:
PostPosted: Fri Apr 22, 2011 4:49 am 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
I ran into this as well when trying compat-wireless. I didn't find a solution either. I think that compat-wireless does not work at all with 2.6.31 kernels though for some reason.


Top
   
 Post subject:
PostPosted: Fri Apr 22, 2011 10:16 am 
Offline

Joined: Sun Oct 03, 2010 1:28 pm
Posts: 14
Location: France
Ok, but why the file mach/memory.h is included in the /usr/src/linux-headers-2.6.31.14.20-efikamx/arch/arm/include/asm/memory.h file if mach/memory.h doesn't exist?

Sorry if this is a stupid question, i'm a noob c programmer.


Top
   
 Post subject:
PostPosted: Fri Apr 22, 2011 11:25 am 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
I really don't know the answer either. I ended up trying an experimental 2.6.38 kernel built from 3 different git trees to test my wireless stuff so I didn't look into this too closely.

I'm not really a kernel hacker so I'm not sure whats going on with compat-wireless.


Top
   
 Post subject:
PostPosted: Fri Apr 22, 2011 12:48 pm 
Offline

Joined: Sun Oct 03, 2010 1:28 pm
Posts: 14
Location: France
Thanks very much for your help.

I may try later...


Top
   
 Post subject:
PostPosted: Sat Apr 23, 2011 9:35 am 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

The reason for this is a missing directory in the sources package (it's a known bug).
Just get and symlink/copy the /arch/arm/plat-mxc/include/mach directory from the Git repo to your headers under a mach/ directory.


Best regards,
Johan

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Mon Apr 25, 2011 1:19 pm 
Offline

Joined: Sun Oct 03, 2010 1:28 pm
Posts: 14
Location: France
Thanks Johan.

Now compiling...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group