erasmux/hero-2.6.29-flykernel

Error Building source

Opened this issue · 1 comments

Hello.
I have tried to build the source code in order to obtain a custorm kernel for a HTC hero but always with the same result and error.

First, a problem with # defined in glue.h file, but the most important are these errors:

make[1]: *** [arch/arm/mach-msm/htc_port_list.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
...
make[1]: *** [mm/vmalloc.o] Error 1
...
include/linux/netdevice.h: In function 'netdev_for_each_tx_queue':
include/linux/netdevice.h:902:27: error: macro "f" passed 3 arguments, but takes just 1
include/linux/netdevice.h:902:3: warning: statement with no effect
make[2]: *** [fs/cifs/cifsfs.o] Error 1
make[1]: *** [fs/cifs] Error 2

I don't know exactly what is happening and I would be grateful if someone could help me.

Thank you

I am not sure why you get this error. One way to tackle this is to try to understand what is different in your build environment from what work for me. Try to follow the instructions in the wiki: https://github.com/erasmux/hero-2.6.29-flykernel/wiki/HOWTO:-Build-the-kernel. Do note that this kernel is very dated and I assume quite a bit has changed in the 2+ years since I last built it....

A different way is, to try to understand and fix the error itself - try understand what is this macro why is the compiler complaining.