hmntbhtt007 / bcmon

Automatically exported from code.google.com/p/bcmon
0 stars 0 forks source link

bcm4329 will not build for CM10 galaxysmtd (Samsung Galaxy S i9000) #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to 'make modules' to build bcmon bcm4329.ko against current CM10 
android_samsung_aries kernel

What is the expected output? What do you see instead?

  CC [M]  drivers/net/wireless/bcm4329/bcmon.o
  CC [M]  drivers/net/wireless/bcm4329/dhd_linux.o
  CC [M]  drivers/net/wireless/bcm4329/linux_osl.o
  CC [M]  drivers/net/wireless/bcm4329/bcmutils.o
  CC [M]  drivers/net/wireless/bcm4329/dhd_common.o
  CC [M]  drivers/net/wireless/bcm4329/dhd_custom_gpio.o
  CC [M]  drivers/net/wireless/bcm4329/wl_iw.o
  CC [M]  drivers/net/wireless/bcm4329/siutils.o
  CC [M]  drivers/net/wireless/bcm4329/sbutils.o
  CC [M]  drivers/net/wireless/bcm4329/aiutils.o
  CC [M]  drivers/net/wireless/bcm4329/hndpmu.o
  CC [M]  drivers/net/wireless/bcm4329/bcmwifi.o
  CC [M]  drivers/net/wireless/bcm4329/dhd_sdio.o
  CC [M]  drivers/net/wireless/bcm4329/dhd_linux_sched.o
  CC [M]  drivers/net/wireless/bcm4329/dhd_cdc.o
  CC [M]  drivers/net/wireless/bcm4329/bcmsdh_sdmmc.o
  CC [M]  drivers/net/wireless/bcm4329/bcmsdh.o
  CC [M]  drivers/net/wireless/bcm4329/bcmsdh_linux.o
drivers/net/wireless/bcm4329/bcmsdh_linux.c: In function 
'bcmsdh_register_oob_intr':
drivers/net/wireless/bcm4329/bcmsdh_linux.c:639: error: implicit declaration of 
function 'set_irq_wake'
make[4]: *** [drivers/net/wireless/bcm4329/bcmsdh_linux.o] Error 1
make[3]: *** [drivers/net/wireless/bcm4329] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

What version of the product are you using? On what operating system?

Please provide any additional information below.

I am inexperienced at building kernel modules, not sure where I could grab the 
necessary headers from

Original issue reported on code.google.com by Samuel.B...@gmail.com on 21 Sep 2012 at 5:15

GoogleCodeExporter commented 8 years ago
Hey man!, i also tryed to build this drivers but, you have to make some changes 
in source to compile without issues.

Now i'm trying to run in my Nexus S 4.1.1 but i see this error when load the 
module:
insmod: init_module 'bcm4329.ko' failed (Exec format error)
255|shell@android:/storage/sdcard0/nexus_bundle #

Original comment by berni.emerald@gmail.com on 22 Sep 2012 at 12:43

Attachments:

GoogleCodeExporter commented 8 years ago
Used this patch, module built but also got the Exec error.

Original comment by Samuel.B...@gmail.com on 22 Sep 2012 at 3:41

GoogleCodeExporter commented 8 years ago
Hey Samuel, you can solve it setting up propperly  "magic version" on kernel.

Now i solved this issue, but when I when make insmod i got a new error mesasge:

insmod $(pwd)/bcm4329-ruta.ko 
insmod: init_module '/sdcard/bcm4329-ruta.ko' failed (No such file or directory)

Original comment by berni.emerald@gmail.com on 22 Sep 2012 at 4:45

GoogleCodeExporter commented 8 years ago
with "modinfo", you can see if modver is the same as your kernel (uname -a), it 
works even on the build machine: modinfo [yourmodulepath]/bcm4329-ruta.ko

Original comment by tanguy.pruvot@gmail.com on 1 Jul 2013 at 9:10

GoogleCodeExporter commented 8 years ago
Its showing cant run as root su failed ..i cant open it..please help me.

Original comment by isaac.ro...@gmail.com on 23 Jun 2014 at 2:30

GoogleCodeExporter commented 8 years ago
where can i download this module?maybe i can help to test the module on my 
i9023 or i9001.

Original comment by cidy0...@gmail.com on 4 Oct 2014 at 2:57