All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] i2c undefines
@ 2006-12-30 19:57 mike
  0 siblings, 0 replies; only message in thread
From: mike @ 2006-12-30 19:57 UTC (permalink / raw)
  To: buildroot

I'm trying to rebuild some applications that I used to have running with
an old version of buildroot, but now I'm getting undefined symbols, and
it's all stuff to do with i2c_smbus_* library routines.

e.g.

sensor.o: In function `main':/home/mike/work/sensor/sensor.c:77:
undefined reference to `i2c_smbus_read_byte_data'
:/home/mike/work/sensor/sensor.c:84: undefined reference to
`i2c_smbus_write_block_data'
:/home/mike/work/sensor/sensor.c:99: undefined reference to
`i2c_smbus_write_byte'
:/home/mike/work/sensor/sensor.c:111: undefined reference to
`i2c_smbus_read_word_data'

The linux kernel header file i2c.h supplied with a pukka kernel is
different to the one I find in
build_arch/staging_dir/include/linux/i2c.h

So what's going on here ? Why is the i2c.h header in the staging_dir
hierarchy different to the real i2c.h header ?

Mike

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-30 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-30 19:57 [Buildroot] i2c undefines mike

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.