Active Topics

 


Reply
Thread Tools
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#31
Try:
make -C /usr/src/kernel-power-headers/ M=/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ modules CC=gcc
 
Posts: 63 | Thanked: 27 times | Joined on Apr 2011
#32
TO PALI:

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # make -C /usr/src/kernel-power-headers/ M=/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ modules CC=gcc
make: gcc: program not found
make: Entering directory `/usr/src/kernel-power-headers'
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o
/bin/sh: gcc: not found
make[1]: *** [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o] Error 127
make: *** [_module_/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211] Error 2
make: Leaving directory `/usr/src/kernel-power-headers'

it looks like a packet is missing: gcc
i tried: apt-get install gcc
but this packet is not in repositories
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#33
gcc is in sdk repository.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 63 | Thanked: 27 times | Joined on Apr 2011
#34
thanks!! i added the SDK repository, and yes gcc was there, now i have a new error:

make: arm-linux-gcc: program not found
make: Entering directory `/usr/src/kernel-power-headers'
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o
/bin/sh: arm-linux-gcc: not found
make[1]: *** [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o] Error 127
make: *** [_module_/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211] Error 2
make: Leaving directory `/usr/src/kernel-power-headers'

look like it needs too the packet: arm-linux-gcc
and it´s not in SDK or any other repository I have.
Could you do me a favor please?? type in your teminal:

apt-cache search arm-linux-gcc

to see if you have in your repositories that packet and i´m missing some other repository.
 
Posts: 540 | Thanked: 387 times | Joined on May 2009
#35
@ -Tyler-
You really shouldn't be compiling this on your N900 if possible. Instead you should use a cross-compiler environment such as scratchbox within a desktop Linux install if possible. Enabling the SDK repo on these devices is generally discouraged as it can quite easily break your install. Sorry I can't be of more help.

Last edited by linuxeventually; 2011-04-20 at 10:03.
 

The Following User Says Thank You to linuxeventually For This Useful Post:
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#36
I compiled some modules directly on N900 (and whole kernel too )

@-Tyler-

You need to run:
make -C /usr/src/kernel-power-headers/ M=/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ modules CC=gcc
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 63 | Thanked: 27 times | Joined on Apr 2011
#37
@ linuxeventually

i will try to compile thes driver inside n900 with the help of pali and if cant i would begin to study how to do it with scratchbox in my flamant liinux mint

@ pali

I made it and kwon i get some new errors:

make -C /usr/src/kernel-power-headers/ M=/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ modules CC=gcc
make: Entering directory `/usr/src/kernel-power-headers'
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o
/tmp/ccNT44NB.s: Assembler messages:
/tmp/ccNT44NB.s:301: rdhi, rdlo and rm must all be different
/tmp/ccNT44NB.s:354: rdhi, rdlo and rm must all be different
/tmp/ccNT44NB.s:8880: rdhi, rdlo and rm must all be different
/tmp/ccNT44NB.s:8899: rdhi, rdlo and rm must all be different
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.o
/tmp/ccthf7Ki.s: Assembler messages:
/tmp/ccthf7Ki.s:3584: rdhi, rdlo and rm must all be different
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_tx.o
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.o
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_module.o
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac_wx.o
/tmp/ccNtKkPI.s: Assembler messages:
/tmp/ccNtKkPI.s:963: rdhi, rdlo and rm must all be different
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt.o
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_ccmp.o
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_tkip.o
/bin/sh: arm-linux-objdump: not found
CC [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_crypt_wep.o
/bin/sh: arm-linux-objdump: not found
LD [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211-rtl.o
/bin/sh: arm-linux-ld: not found
make[1]: *** [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211-rtl.o] Error 127
make: *** [_module_/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211] Error 2
make: Leaving directory `/usr/src/kernel-power-headers'

look like some new packets is missing:

arm-linux-objdump
arm-linux-ld

and i don´t find them even in SDK repository

HELP please i´m crazy to connect my alpha 1W to N900 it would be amazing to have the possibility to link external antennas to the N900!!
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#38
You need to specify objdump and linker in makefile variable. Try run this:

make -C /usr/src/kernel-power-headers/ M=/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/ieee80211/ modules CC=gcc LD=ld OBJDUMP=objdump

And with same rule add other programs which is other name...
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 63 | Thanked: 27 times | Joined on Apr 2011
#39
thanks that works!! now i´m getting problems in step 10:

make -C /usr/src/kernel-power-headers/ M=/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/ modules CC=gcc LD=ld OBJDUMP=objdump
make: Entering directory `/usr/src/kernel-power-headers'
LD [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "ieee80211_wx_get_name_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "free_ieee80211_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_freq_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "alloc_ieee80211_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_essid_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_mode_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_encode_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_rx_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_get_beacon_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_rate_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_mode_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_is_54g_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wpa_supplicant_ioctl_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_is_shortslot_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_encode_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_reset_queue_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_wap_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_scan_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_stop_queue_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_freq_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_essid_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_softmac_stop_protocol_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_softmac_start_protocol_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wake_queue_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wlan_frequencies_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_wap_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_get_scan_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
WARNING: "ieee80211_wx_set_rate_rtl7" [/targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko] undefined!
CC /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.mod.o
LD [M] /targets/FREMANTLE_ARMEL/usr/src/rtl8187_linux_26.1010.0622.2006/beta-8187/r8187.ko
make: Leaving directory `/usr/src/kernel-power-headers'

all the time in every line says: undefined!
 
Posts: 63 | Thanked: 27 times | Joined on Apr 2011
#40
thinking about it, i think the undefinied lines could be, because in step 9, pinoverclock says:

Remove ./beta-r817/Module.symvers and link the one at the folder ieee80211:

rm -f ./beta-8187/Module.symvers
ln -s ../ieee80211/Module.symvers ./beta-8187Module.symvers

he tries to link to an archive that dont exits (beta-8187Module.symvers) it must be instead:

ln -s /ieee80211/Module.symvers /beta-8187/Module.symvers

but you cant link to that archive, because you deleted it in the step before... i dont understad why pinoverclock does that
 
Reply

Tags
alfa, external, r8187, rtl8187, wifi


 
Forum Jump


All times are GMT. The time now is 23:59.