Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem Compiling lm_sensors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
matt2kjones
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2004
Posts: 87

PostPosted: Wed Mar 16, 2005 7:34 pm    Post subject: Problem Compiling lm_sensors Reply with quote

I have a problem compiling lm_sensors

when compiling it seems to do the same section over and over again in make.

here is what happens:

Code:
'`dirname prog/dump/i2cset.rd`/Module.mk' @' > prog/dump/i2cset.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/dump/i2cdump.c | \
        sed -e 's@^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro: Makefil
e '`dirname prog/dump/i2cdump.rd`/Module.mk' @' > prog/dump/i2cdump.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/detect/i2cdetect.c | \
        sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro:
 Makefile '`dirname prog/detect/i2cdetect.rd`/Module.mk' @' > prog/detect/i2cdet
ect.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/init.c | \
        sed -e 's@^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile '`dirname lib/in
it.ad`/Module.mk' @' > lib/init.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/access.c | \
        sed -e 's@^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile '`dirname li
b/access.ad`/Module.mk' @' > lib/access.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/proc.c | \
        sed -e 's@^\(.*\)\.o:@lib/proc.ad lib/proc.ao: Makefile '`dirname lib/pr
oc.ad`/Module.mk' @' > lib/proc.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/chips.c | \
        sed -e 's@^\(.*\)\.o:@lib/chips.ad lib/chips.ao: Makefile '`dirname lib/
chips.ad`/Module.mk' @' > lib/chips.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/error.c | \
        sed -e 's@^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile '`dirname lib/
error.ad`/Module.mk' @' > lib/error.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/general.c | \
        sed -e 's@^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile '`dirname
lib/general.ad`/Module.mk' @' > lib/general.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/data.c | \
        sed -e 's@^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile '`dirname lib/da
ta.ad`/Module.mk' @' > lib/data.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/init.c | \
        sed -e 's@^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile '`dirname lib/in
it.ld`/Module.mk' @' > lib/init.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/access.c | \
        sed -e 's@^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile '`dirname li
b/access.ld`/Module.mk' @' > lib/access.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/proc.c | \
        sed -e 's@^\(.*\)\.o:@lib/proc.ld lib/proc.lo: Makefile '`dirname lib/pr
oc.ld`/Module.mk' @' > lib/proc.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/chips.c | \
        sed -e 's@^\(.*\)\.o:@lib/chips.ld lib/chips.lo: Makefile '`dirname lib/
chips.ld`/Module.mk' @' > lib/chips.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/error.c | \
        sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname lib/
error.ld`/Module.mk' @' > lib/error.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/general.c | \
        sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname
lib/general.ld`/Module.mk' @' > lib/general.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/data.c | \
        sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname lib/da
ta.ld`/Module.mk' @' > lib/data.ld
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
/bin/sh: pipe error: Too many open files
make: prog/sensors/Module.mk:36: pipe: Too many open files
make: Warning: File `/usr/include/stdio.h' has modification time 9.3e+06 s in th
e future
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/sensors/chips.c | \
        sed -e 's@^\(.*\)\.o:@prog/sensors/chips.rd prog/sensors/chips.ro: Makef
ile '`dirname prog/sensors/chips.rd`/Module.mk' @' > prog/sensors/chips.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/sensors/main.c | \
        sed -e 's@^\(.*\)\.o:@prog/sensors/main.rd prog/sensors/main.ro: Makefil
e '`dirname prog/sensors/main.rd`/Module.mk' @' > prog/sensors/main.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/dump/isaset.c | \
        sed -e 's@^\(.*\)\.o:@prog/dump/isaset.rd prog/dump/isaset.ro: Makefile
'`dirname prog/dump/isaset.rd`/Module.mk' @' > prog/dump/isaset.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/dump/isadump.c | \
        sed -e 's@^\(.*\)\.o:@prog/dump/isadump.rd prog/dump/isadump.ro: Makefil
e '`dirname prog/dump/isadump.rd`/Module.mk' @' > prog/dump/isadump.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/dump/i2cbusses.c | \
        sed -e 's@^\(.*\)\.o:@prog/dump/i2cbusses.rd prog/dump/i2cbusses.ro: Mak
efile '`dirname prog/dump/i2cbusses.rd`/Module.mk' @' > prog/dump/i2cbusses.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/dump/i2cset.c | \
        sed -e 's@^\(.*\)\.o:@prog/dump/i2cset.rd prog/dump/i2cset.ro: Makefile
'`dirname prog/dump/i2cset.rd`/Module.mk' @' > prog/dump/i2cset.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/dump/i2cdump.c | \
        sed -e 's@^\(.*\)\.o:@prog/dump/i2cdump.rd prog/dump/i2cdump.ro: Makefil
e '`dirname prog/dump/i2cdump.rd`/Module.mk' @' > prog/dump/i2cdump.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie prog/detect/i2cdetect.c | \
        sed -e 's@^\(.*\)\.o:@prog/detect/i2cdetect.rd prog/detect/i2cdetect.ro:
 Makefile '`dirname prog/detect/i2cdetect.rd`/Module.mk' @' > prog/detect/i2cdet
ect.rd
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/init.c | \
        sed -e 's@^\(.*\)\.o:@lib/init.ad lib/init.ao: Makefile '`dirname lib/in
it.ad`/Module.mk' @' > lib/init.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/access.c | \
        sed -e 's@^\(.*\)\.o:@lib/access.ad lib/access.ao: Makefile '`dirname li
b/access.ad`/Module.mk' @' > lib/access.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/proc.c | \
        sed -e 's@^\(.*\)\.o:@lib/proc.ad lib/proc.ao: Makefile '`dirname lib/pr
oc.ad`/Module.mk' @' > lib/proc.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/chips.c | \
        sed -e 's@^\(.*\)\.o:@lib/chips.ad lib/chips.ao: Makefile '`dirname lib/
chips.ad`/Module.mk' @' > lib/chips.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/error.c | \
        sed -e 's@^\(.*\)\.o:@lib/error.ad lib/error.ao: Makefile '`dirname lib/
error.ad`/Module.mk' @' > lib/error.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/general.c | \
        sed -e 's@^\(.*\)\.o:@lib/general.ad lib/general.ao: Makefile '`dirname
lib/general.ad`/Module.mk' @' > lib/general.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer -pipe
 -fno-pie lib/data.c | \
        sed -e 's@^\(.*\)\.o:@lib/data.ad lib/data.ao: Makefile '`dirname lib/da
ta.ad`/Module.mk' @' > lib/data.ad
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/init.c | \
        sed -e 's@^\(.*\)\.o:@lib/init.ld lib/init.lo: Makefile '`dirname lib/in
it.ld`/Module.mk' @' > lib/init.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/access.c | \
        sed -e 's@^\(.*\)\.o:@lib/access.ld lib/access.lo: Makefile '`dirname li
b/access.ld`/Module.mk' @' > lib/access.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/proc.c | \
        sed -e 's@^\(.*\)\.o:@lib/proc.ld lib/proc.lo: Makefile '`dirname lib/pr
oc.ld`/Module.mk' @' > lib/proc.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/chips.c | \
        sed -e 's@^\(.*\)\.o:@lib/chips.ld lib/chips.lo: Makefile '`dirname lib/
chips.ld`/Module.mk' @' > lib/chips.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/error.c | \
        sed -e 's@^\(.*\)\.o:@lib/error.ld lib/error.lo: Makefile '`dirname lib/
error.ld`/Module.mk' @' > lib/error.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/general.c | \
        sed -e 's@^\(.*\)\.o:@lib/general.ld lib/general.lo: Makefile '`dirname
lib/general.ld`/Module.mk' @' > lib/general.ld
i686-pc-linux-gnu-gcc -M -MG -I. -Ikernel/include -I/var/tmp/portage/lm_sensors-
2.8.7/work/i2c-headers  -fpic -Wall -O2 -O0 -mcpu=athlon-xp -fomit-frame-pointer
 -pipe -fno-pie lib/data.c | \
        sed -e 's@^\(.*\)\.o:@lib/data.ld lib/data.lo: Makefile '`dirname lib/da
ta.ld`/Module.mk' @' > lib/data.ld
make: Makefile:31: pipe: Too many open files
make: Makefile:36: pipe: Too many open files
make: Makefile:52: pipe: Too many open files
make: Makefile:60: pipe: Too many open files
make: Makefile:91: pipe: Too many open files
make: Makefile:127: pipe: Too many open files
make: Makefile:225: pipe: Too many open files
Makefile:243: kernel/include/Module.mk: Too many open files
Makefile:243: lib/Module.mk: Too many open files
Makefile:243: prog/detect/Module.mk: Too many open files
Makefile:243: prog/dump/Module.mk: Too many open files
Makefile:243: prog/eeprom/Module.mk: Too many open files
Makefile:243: prog/pwm/Module.mk: Too many open files
Makefile:243: prog/sensors/Module.mk: Too many open files
Makefile:243: prog/xeon/Module.mk: Too many open files
Makefile:243: etc/Module.mk: Too many open files
Makefile:245: no file name for `include'
make: *** creating jobs pipe: Too many open files.  Stop.

!!! ERROR: sys-apps/lm_sensors-2.8.7 failed.
!!! Function src_compile, Line 98, Exitcode 2
!!! Could not compile user-mode utilities!
!!! If you need support, post the topmost build error, NOT this status message.

srv1 root #


Any idea why this is happening?

thanx[/code]
_________________
OSST - Formally: The Linux Mirror Project
OSST - Open Source Software Downloads - Torrents for over 80 Distributions
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Wed Mar 16, 2005 7:41 pm    Post subject: Reply with quote

Never saw this before, but maybe is related to your MAKEOPTS value. Look into /etc/make.conf
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
matt2kjones
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2004
Posts: 87

PostPosted: Fri Mar 18, 2005 1:19 pm    Post subject: Reply with quote

6thpink wrote:
Never saw this before, but maybe is related to your MAKEOPTS value. Look into /etc/make.conf


Yes im not sure whats causing it :/

here is my make options:

CFLAGS="-O1 -mcpu=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

System is AMD Sempron 2800+ with 2GB ram
_________________
OSST - Formally: The Linux Mirror Project
OSST - Open Source Software Downloads - Torrents for over 80 Distributions
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Tue Jul 05, 2005 8:03 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-356221.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum