Hi there!

I cannot directly create a ticket in the Openmoko Trac since as soon as
I login with my e-mail address I got the same error:

  Warning: <acct_mgr.web_ui.MessageWrapper object at 0xb64e598c>

And I experience similar messages whenever I tried to create a new
ticket, which also tells me that I do not have enough permissions :-(

Anyway, I am trying to build one single kernel for both GTA01/GTA02,
starting with the GTA02 .config and then adding what I tought was the
needed settings (the full .config is attached).  Building the
corresponding kernel on Debian on a QNAP TS-409U failed with error:
=====
  CC [M]  drivers/watchdog/s3c2410_wdt.o
  LD      drivers/built-in.o
drivers/power/built-in.o: In function `pcf50606_charge_fast':
/tmp/buildd/linux-2.6-openmoko-20090702.gitd1c828aa/drivers/power/pcf50606-charger.c:37:
 multiple definition of `pcf50606_charge_fast'
drivers/i2c/built-in.o:/tmp/buildd/linux-2.6-openmoko-20090702.gitd1c828aa/drivers/i2c/chips/pcf50606.c:1083:
 first defined here
make[2]: *** [drivers/built-in.o] Error 1
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/tmp/buildd/linux-2.6-openmoko-20090702.gitd1c828aa'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
=====

Indeed pcf50606_charge_fast has been declared (and exported) two times:

  
http://git.openmoko.org/?p=kernel.git;a=blob;f=drivers/i2c/chips/pcf50606.c;h=95b3c768ea70f240c8462a4356e1d4f4c9a85dd3;hb=d1c828aa7073b356207b967e394defb26ab4da82#l1077
  
http://git.openmoko.org/?p=kernel.git;a=blob;f=drivers/power/pcf50606-charger.c;h=a566fe3ed567c17ab1e443239c06fa8401398614;hb=d1c828aa7073b356207b967e394defb26ab4da82#l36

Is this a real (and known) issue or am I fault somewhere?

I have now found that arch/arm/configs/gta01_moredrivers_defconfig does
not set CONFIG_SENSORS_PCF50606, thus I probably made an error.  I have
now unset that option and started a new compilation.  I will report back
tomorrow.

Thx, bye,
Gismo / Luca

Attachment: gta01-gta02_gitd1c828aa.config.gz
Description: .config for GTA01/GTA02 with gitd1c828aa

Attachment: pgp9NAI1GaLqC.pgp
Description: PGP signature

Reply via email to