All of lore.kernel.org
 help / color / mirror / Atom feed
From: ishikawa@yk.rim.or.jp (Ishikawa)
To: lm-sensors@vger.kernel.org
Subject: Compiling lm_sensors module with gcc 3.3. (A problem and
Date: Thu, 19 May 2005 06:24:01 +0000	[thread overview]
Message-ID: <3EF5C004.95BAC10B@yk.rim.or.jp> (raw)
In-Reply-To: <3EF4DD25.6000802@yk.rim.or.jp>

"Mark D. Studebaker" wrote:
> 
> thanks for the report.
> We've already attempted to fix things in CVS.
> Would you please try it for us using gcc 3.3.
> There's a link on our home page (May 31st entry)
> to the new makefile and the file etc/config.c, which is also needed.
> 

Thank you for your quick response.

I downloaded the Makefile and etc/config.c
and retried compiling lm_sensors 2.7.0 using gcc 3.3.

Well, the compilation produced lots of warnings
about system headers (now used CC options include -Wall), but
the compilation succeeded!

I looked at the difference in Makefile.
Obviously the use of -nostdinc on the gcc command line,
and specifying the necessary header directories in correct/desired 
order explicitly using -I helped.
(Actually I played with -nostdinc when I encountered the problem, 
but I didn't know the "-print-search-dirs" directive to GCC. So
I could not figure out where GCC would be searching for the
standard headers in GCC's default scheme. There I gave up, 
and decided to use the different directory for i2c headers in
my suggested patch.)

Thank you again for your great piece of software!

Happy Hacking

PS: maybe your entry dated May 31st might want to mention
gcc 3.3 (or gcc 3.x) since I obviously missed 
this entry when I checked your web page yesterday...

Ishikawa, Chiaki

-- 
int main(void){int j 03;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */

  parent reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 Compiling lm_sensors module with gcc 3.3. (A problem and workaround.) Chiaki
2005-05-19  6:24 ` Compiling lm_sensors module with gcc 3.3. (A problem and Mark M. Hoffman
2005-05-19  6:24 ` Ishikawa
2005-05-19  6:24 ` Mark D. Studebaker 
2005-05-19  6:24 ` Ishikawa
2005-05-19  6:24 ` Ishikawa [this message]
2005-05-19  6:24 ` Mark D. Studebaker 
2005-05-19  6:24 ` Ishikawa
2005-05-19  6:24 ` Ishikawa
2005-05-19  6:24 ` Ishikawa
2005-05-19  6:24 ` Jean Delvare

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=3EF5C004.95BAC10B@yk.rim.or.jp \
    --to=ishikawa@yk.rim.or.jp \
    --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.