All of lore.kernel.org
 help / color / mirror / Atom feed
From: radian@cox.net (Adrian Mariano)
To: lm-sensors@vger.kernel.org
Subject: lm_sensors compiled problem
Date: Thu, 19 May 2005 06:25:03 +0000	[thread overview]
Message-ID: <200407010220.WAA29129@vizcacha.cox.net> (raw)

I'm trying to compile lm_sensors 2.8.7.  I compiled and installed
i2c-2.8.7, and I am compiling against the kernel source for the
running kernel and the source tree is the one used to compile the
current kernel.  However, it is a SuSE kernel, version 2.4.16, not one
of the pristine kernels from kernel.org.

I poked around briefly in the code to try to understand what is going
on, but basically I found that I was as confused as the compiler by
the code.  My compiler is gcc 2.95.3.

adrian> make
gcc  -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include -I/usr/local/include  -I/lib/modules/2.4.16/build/include -nostdinc -I /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include  -Wall -O2  -c kernel/busses/i2c-ali1535.c -o kernel/busses/i2c-ali1535.o
kernel/busses/i2c-ali1535.c:571: warning: implicit declaration of function `__devexit_p'
kernel/busses/i2c-ali1535.c:571: initializer element is not constant
kernel/busses/i2c-ali1535.c:571: (near initialization for `ali1535_driver.remove')
kernel/busses/i2c-ali1535.c:572: initializer element is not constant
kernel/busses/i2c-ali1535.c:572: (near initialization for `ali1535_driver')
make: *** [kernel/busses/i2c-ali1535.o] Error 1

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 Adrian Mariano [this message]
2005-05-19  6:25 ` lm_sensors compiled problem Jean Delvare
2005-05-19  6:25 ` Adrian Mariano
2005-05-19  6:25 ` 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=200407010220.WAA29129@vizcacha.cox.net \
    --to=radian@cox.net \
    --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.