ticket #1291

Zeno R.R. Davatz zdavatz at ywesee.com
Thu Jul 31 11:53:01 CEST 2003


On Thu, 31 Jul 2003 11:09:54 +0200
Jean Delvare <khali at linux-fr.org> wrote:

> 
> > Now I get:
> > gcc -I. -Ikernel/include -I/usr/local/include  -Wall -O2   -c
> > prog/sensors/main.c -o prog/sensors/main.ro gcc -I. -Ikernel/include
> > -I/usr/local/include  -Wall -O2   -c prog/sensors/chips.c -o
> > prog/sensors/chips.ro gcc -o prog/sensors/sensors prog/sensors/main.ro
> > prog/sensors/chips.ro -Llib -lsensors gcc -I. -Ikernel/include
> > -I/usr/local/include  -Wall -O2   -c prog/dump/isadump.c -o
> > prog/dump/isadump.ro prog/dump/isadump.c: In function `main':
> > prog/dump/isadump.c:174: Warnung: implicit declaration of function
> > `outb' prog/dump/isadump.c:183: Warnung: implicit declaration of
> > function `inb' gcc  -o prog/dump/isadump prog/dump/isadump.ro
> > prog/dump/isadump.ro(.text+0x284): In function `main':
> > : undefined reference to `outb'
> > prog/dump/isadump.ro(.text+0x290): In function `main':
> > : undefined reference to `inb'
> > prog/dump/isadump.ro(.text+0x308): In function `main':
> > : undefined reference to `outb'
> > prog/dump/isadump.ro(.text+0x318): In function `main':
> > : undefined reference to `outb'
> > prog/dump/isadump.ro(.text+0x32c): In function `main':
> > : undefined reference to `outb'
> > prog/dump/isadump.ro(.text+0x33c): In function `main':
> > : undefined reference to `outb'
> > collect2: ld returned 1 exit status
> > make: *** [prog/dump/isadump] Fehler 1
> 
> So we are back to the original problem (ticket #1291).
> 
> Maybe you need an additional header and library to get inb and outb on
> PPC. Could you please run the following commands and report outputs?
> 
> grep '^inb ' -r /usr/include/*
this gives me:
grep '^inb ' -r /usr/include/*
grep: Warnung: /usr/include/gnome-xml/libxml: Rekursive Verzeichnisschleife.
 
grep: /usr/include/ioport.h: Zu viele Ebenen aus symbolischen Links

> grep '^outb ' -r /usr/include/*
this gives me:
 grep '^outb ' -r /usr/include/*
grep: Warnung: /usr/include/gnome-xml/libxml: Rekursive Verzeichnisschleife.
 
grep: /usr/include/ioport.h: Zu viele Ebenen aus symbolischen Links

any hints?

Thanks,
Zeno

-- 
Mit freundlichen Gruessen / Best regards

Zeno Davatz
Strategie und Akquisition

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.generika.cc



More information about the lm-sensors mailing list