From: gearoid.murphy@ul.ie (Gearoid Murphy)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Linking Problem
Date: Thu, 09 Jun 2005 20:51:31 +0000 [thread overview]
Message-ID: <42A8906C.10707@ul.ie> (raw)
Hi all,
This should be trivial for everyone here. I'm trying to write a user
space program i2c device driver. I access the device using /dev but when
I try to use functions included in the i2c-core my compiler tells me its
getting an undefined reference. I know this is because I'm not including
the proper libraries. How do i get around this?. I've tried explicitly
including the i2c-core.ko in the gcc compile command but this spews out
errors about other undefined references.
All I want to do is successfully communicate to an SRF08 sonar using
the i2c parallel port adapter for the ELV adapter (built using the
schema in the i2c docs). I'm using debian 2.6+ and am completely at my
wits end.
Any help would be brillant.
Regards,
Gearoid
next reply other threads:[~2005-06-09 20:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 20:51 Gearoid Murphy [this message]
2005-06-10 3:52 ` [lm-sensors] Linking Problem Mark M. Hoffman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42A8906C.10707@ul.ie \
--to=gearoid.murphy@ul.ie \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.