View previous topic :: View next topic |
Author |
Message |
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Fri Feb 07, 2003 1:54 pm Post subject: help... can't emerge anymore!!! |
|
|
hi guys...
everytime i try to emerge something i get this error:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
and many others
even if i try to reemerge somthing i've working...
maybe i'm messed up with linux source?
what do you suggest to do?
John |
|
Back to top |
|
|
CheatersRealm n00b
Joined: 26 Jan 2003 Posts: 74
|
Posted: Fri Feb 07, 2003 2:03 pm Post subject: |
|
|
what version of portage?[/quote] |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Fri Feb 07, 2003 5:04 pm Post subject: |
|
|
CheatersRealm wrote: | what version of portage? |
2.0.46 -r9...
i tried doing
#emerge portage
to get r11 but it fail as with everyother ebuild
John |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Fri Feb 07, 2003 5:22 pm Post subject: |
|
|
must have some problem
if i try to recompile my kernel:
Code: |
bash-2.05b# cd /usr/src/linux
bash-2.05b# make dep && make clean bzImage modules modules_install
gcc -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -pipe -o scripts/mkdep scripts/mkdep.c
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/limits.h:132,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/syslimits.h:7,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:221: (Each undeclared identifier is reported only once
scripts/mkdep.c:221: for each function it appears in.)
scripts/mkdep.c:221: warning: unused variable `resolved_path'
make: *** [scripts/mkdep] Error 1
|
John |
|
Back to top |
|
|
bashnix n00b
Joined: 23 Oct 2002 Posts: 66
|
Posted: Fri Feb 07, 2003 5:35 pm Post subject: |
|
|
try
Code: | emerge -u --nodeps portage |
That helped me when I got a similar message |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Fri Feb 07, 2003 6:01 pm Post subject: |
|
|
nothing, it doesn't work
Code: |
bash-2.05b# emerge -u --nodeps portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.46-r11 to /
>>> md5 ;-) portage-2.0.46-r11.tar.bz2
>>> Unpacking source...
tar xjf /usr/portage/distfiles/portage-2.0.46-r11.tar.bz2
>>> Source unpacked.
In file included from /usr/include/errno.h:36,
from tbz2tool.c:5:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... Treated as glibc >= 2.1 (finger crossed)
gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/dirent.h:209,
from libsandbox.c:50:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/errno.h:36,
from libsandbox.c:52:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from libsandbox.c:61:
/usr/include/sys/param.h:23:26: linux/limits.h: No such file or directory
/usr/include/sys/param.h:24:25: linux/param.h: No such file or directory
libsandbox.c: In function `canonicalize':
libsandbox.c:254: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:254: (Each undeclared identifier is reported only once
libsandbox.c:254: for each function it appears in.)
libsandbox.c: In function `chmod':
libsandbox.c:294: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:294: warning: unused variable `canonic'
libsandbox.c: In function `chown':
libsandbox.c:309: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:309: warning: unused variable `canonic'
libsandbox.c: In function `creat':
libsandbox.c:325: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:325: warning: unused variable `canonic'
libsandbox.c: In function `fopen':
libsandbox.c:340: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:340: warning: unused variable `canonic'
libsandbox.c: In function `lchown':
libsandbox.c:356: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:356: warning: unused variable `canonic'
libsandbox.c: In function `link':
libsandbox.c:371: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:371: warning: unused variable `old_canonic'
libsandbox.c:371: warning: unused variable `new_canonic'
libsandbox.c: In function `mkdir':
libsandbox.c:387: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:387: warning: unused variable `canonic'
libsandbox.c: In function `opendir':
libsandbox.c:402: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:402: warning: unused variable `canonic'
libsandbox.c: In function `open':
libsandbox.c:439: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:439: warning: unused variable `canonic'
libsandbox.c: In function `rename':
libsandbox.c:463: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:463: warning: unused variable `old_canonic'
libsandbox.c:463: warning: unused variable `new_canonic'
libsandbox.c: In function `rmdir':
libsandbox.c:479: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:479: warning: unused variable `canonic'
libsandbox.c: In function `symlink':
libsandbox.c:494: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:494: warning: unused variable `old_canonic'
libsandbox.c:494: warning: unused variable `new_canonic'
libsandbox.c: In function `truncate':
libsandbox.c:510: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:510: warning: unused variable `canonic'
libsandbox.c: In function `unlink':
libsandbox.c:525: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:525: warning: unused variable `canonic'
libsandbox.c: In function `creat64':
libsandbox.c:543: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:543: warning: unused variable `canonic'
libsandbox.c: In function `fopen64':
libsandbox.c:558: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:558: warning: unused variable `canonic'
libsandbox.c: In function `open64':
libsandbox.c:576: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:576: warning: unused variable `canonic'
libsandbox.c: In function `truncate64':
libsandbox.c:597: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:597: warning: unused variable `canonic'
libsandbox.c: In function `execve':
libsandbox.c:620: `PATH_MAX' undeclared (first use in this function)
libsandbox.c:620: warning: unused variable `canonic'
libsandbox.c: In function `filter_path':
libsandbox.c:846: `PATH_MAX' undeclared (first use in this function)
libsandbox.c: In function `before_syscall':
libsandbox.c:1162: `EACCES' undeclared (first use in this function)
make: *** [libsandbox.o] Error 1
!!! ERROR: sys-apps/portage-2.0.46-r11 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
|
John |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Feb 07, 2003 8:31 pm Post subject: |
|
|
Does emerging linux-headers help? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Sat Feb 08, 2003 11:23 am Post subject: |
|
|
it work fine... at least it seems
just an
#emerge linux-headers
and everything works again
thanks guys
John |
|
Back to top |
|
|
|