OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Angstrom And Dm9601 Module
protechk
post Jan 13 2008, 12:30 PM
Post #1





Group: Members
Posts: 9
Joined: 7-November 07
Member No.: 20,910



I would like to know if someone have an ipk with dm9601 module for Angstrom. Or if someone have a howto which explain how to compile a module.
I use an USB/Ethernet dongle with this chipset.

Thnks
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Capn_Fish
post Dec 18 2008, 04:42 AM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



In my experience "gcc cannot create executables" means that you've got bad options set somewhere (like trying to do -march=iwmmxt when it doesn't support it). I don't know if you did anything like that, but it's something to look into.

Also, can you build other packages?
Go to the top of the page
 
+Quote Post
Hacdan
post Dec 18 2008, 06:39 PM
Post #3





Group: Members
Posts: 15
Joined: 3-January 08
Member No.: 21,151



QUOTE(Capn_Fish @ Dec 18 2008, 07:42 AM) *
In my experience "gcc cannot create executables" means that you've got bad options set somewhere (like trying to do -march=iwmmxt when it doesn't support it). I don't know if you did anything like that, but it's something to look into.

Also, can you build other packages?


No, it seems as if it needs to compile gcc for arm before it can compile any other packages? That is where it has failed every time is at gcc.

Here's the error I've been getting:
dave@Ubuntu-VM:~/oe/org.openembedded.stable/packages/hostap$ bitbake hostap-modules
NOTE: Handling BitBake files: \ (4976/4976) [100 %]
NOTE: Parsing finished. 4750 cached, 0 parsed, 226 skipped, 0 masked.
NOTE: build 200811272340: started

OE Build Configuration:
BB_VERSION = "1.8.10"
OE_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "akita"
DISTRO = "angstrom"
DISTRO_VERSION = "2007.12-r19"
TARGET_FPU = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 140 of 322 (ID: 293, /oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb, do_compile)
NOTE: Running task 148 of 322 (ID: 121, /oe/org.openembedded.stable/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb, do_patch)
NOTE: package gcc-native-3.4.4: started
NOTE: package gcc-native-3.4.4-r7: task do_compile: started
NOTE: package linux-libc-headers-2.6.20: started
NOTE: package linux-libc-headers-2.6.20-r9: task do_patch: started
NOTE: package linux-libc-headers-2.6.20-r9: task do_patch: completed
NOTE: package linux-libc-headers-2.6.20: completed
NOTE: Running task 149 of 322 (ID: 118, /oe/org.openembedded.stable/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb, do_configure)
NOTE: package linux-libc-headers-2.6.20: started
NOTE: package linux-libc-headers-2.6.20-r9: task do_configure: started
ERROR: function do_compile failed
ERROR: see log in /oe/angstrom-stable//work/i686-linux/gcc-native-3.4.4-r7/temp/log.do_compile.6144
NOTE: Task failed: /oe/angstrom-stable//work/i686-linux/gcc-native-3.4.4-r7/temp/log.do_compile.6144
NOTE: package gcc-native-3.4.4-r7: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-native-3.4.4: failed
ERROR: Build of /oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb do_compile failed
ERROR: Task 293 (/oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb, do_compile) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /oe/org.openembedded.stable/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb, do_configure (6291)
NOTE: package linux-libc-headers-2.6.20-r9: task do_configure: completed
NOTE: package linux-libc-headers-2.6.20: completed
NOTE: Tasks Summary: Attempted 147 tasks of which 146 didn't need to be rerun and 1 failed.
ERROR: '/oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb' failed
Go to the top of the page
 
+Quote Post
ant
post Dec 19 2008, 05:57 AM
Post #4





Group: Members
Posts: 163
Joined: 11-March 04
From: IT
Member No.: 2,270



>dave@Ubuntu-VM:~/oe/org.openembedded.stable/packages/hostap$ bitbake hostap-modules

Ah, you're using ubuntu...

http://www.mail-archive.com/devel@lists.op...g/msg03391.html

Second thing, don't use 'dash' as shell. Some recipes are broken (gtk+ etc.) so you need 'bash' to compile properly.



About the topic, to compile the module you just edit the kernel defconfig and add:

CONFIG_USB_NET_DM9601=m

Ant
Go to the top of the page
 
+Quote Post

Posts in this topic
protechk   Angstrom And Dm9601 Module   Jan 13 2008, 12:30 PM
Capn_Fish   Do you have a build environment set up? If so, you...   Jan 13 2008, 02:27 PM
adf   QUOTE(Capn_Fish @ Jan 13 2008, 01:27 PM) ...   Jan 13 2008, 10:39 PM
Capn_Fish   Nope, but the package search tool says it's on...   Jan 14 2008, 04:38 AM
zdroyer   QUOTE(Capn_Fish @ Jan 14 2008, 01:38 PM) ...   Jan 15 2008, 05:45 AM
protechk   I am interesting but what kernel do you use to com...   Jan 14 2008, 08:58 AM
Capn_Fish   2.6.23, the default one that comes with Angstrom.   Jan 14 2008, 11:22 AM
Capn_Fish   No problem. Here you go.   Jan 15 2008, 11:19 AM
zdroyer   Thanx a lot Capn_Fish! However the ipk cannot ...   Jan 16 2008, 07:28 AM
Capn_Fish   Unfortunately, my dongle doesn't work, but gla...   Jan 16 2008, 11:19 AM
Hacdan   Not to bring up an old topic, but I need hostap.ko...   Dec 13 2008, 08:57 PM
Capn_Fish   You need to edit the build files with the options ...   Dec 14 2008, 08:11 AM
Hacdan   Unfortunately, I just reflashed from r198. I have ...   Dec 14 2008, 02:16 PM
Capn_Fish   QUOTE(Hacdan @ Dec 14 2008, 04:16 PM) Unf...   Dec 14 2008, 06:38 PM
Hacdan   QUOTE(Capn_Fish @ Dec 14 2008, 09:38 PM) ...   Dec 14 2008, 06:57 PM
Capn_Fish   I think it's patched for packet injection by d...   Dec 15 2008, 02:24 PM
Hacdan   Just a quick question, I have everything setup and...   Dec 17 2008, 07:20 PM
Capn_Fish   In my experience "gcc cannot create executabl...   Dec 18 2008, 04:42 AM
Hacdan   QUOTE(Capn_Fish @ Dec 18 2008, 07:42 AM) ...   Dec 18 2008, 06:39 PM
ant   >dave@Ubuntu-VM:~/oe/org.openembedded.stable/pa...   Dec 19 2008, 05:57 AM
Capn_Fish   If you're using Ubuntu 8.10, the normal GCC do...   Dec 19 2008, 11:43 AM
ant   In openembedded the default is to create glibc bin...   Dec 19 2008, 01:55 PM
Hacdan   I am very open to any other operating system sugge...   Dec 20 2008, 03:32 PM
Hacdan   I really hate to break down and ask, but out of fr...   Feb 8 2009, 08:08 PM
Capn_Fish   QUOTE(Hacdan @ Feb 8 2009, 10:08 PM) I re...   Feb 9 2009, 03:03 PM
Hacdan   Thank you so much. I would really like to know whe...   Feb 9 2009, 03:46 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 05:46 AM