Re: -git tree build failure #2: drivers/net/cnic.c:2520: error: implicit declaration of function ‘__symbol_get’

Ingo Molnar
2009-06-13T21:11:37Z

* Ingo Molnar <mingo@elte.hu> wrote:

> > Why do we need to do it twice?
>
> Hm, indeed ... weird - i pasted that error message from a direct
> reproducer and when i added module.h the build failure
> disappeared. James - please discard the second patch for now,
> there's something fishy here.

I still had the window open that had the build failure:

LD sound/pci/snd-es1968.o
CC fs/btrfs/zlib.o
drivers/net/cnic.c: In function ‘init_bnx2_cnic’:
drivers/net/cnic.c:2524: error: implicit declaration of function
‘__symbol_get’
drivers/net/cnic.c:2524: warning: assignment makes pointer from
integer without a cast
distcc[22461] ERROR: compile drivers/net/cnic.c on ph/32 failed
make[2]: *** [drivers/net/cnic.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC drivers/ide/trm290.o
CC drivers/scsi/cxgb3i/cxgb3i_ddp.o
LD sound/pci/snd-fm801.o
CC net/sched/sch_drr.o
CC fs/cifs/xattr.o
CC drivers/scsi/mpt2sas/mpt2sas_base.o

So it's real - even if the fix is bogus. But it's a different config
- i'll now try to figure out which one it is and why the build fails
...

Ingo