View previous topic :: View next topic |
Author |
Message |
avatarz n00b
Joined: 10 Oct 2004 Posts: 1
|
Posted: Sun Oct 10, 2004 10:38 am Post subject: errors generated from libsandbox.c, can't emerge portage :-( |
|
|
hi, I did not find any post related to the problem I have, or at least could not recognize it. So now I open a new Topic for it.
I get various errors when trying to emerge (new or update) a package. I supposed it's maybe because I does not have the newest portage, but when I try to emerge the new portage version, I get the following:
Code: | # emerge portage
...
no errors hier
...
gcc -march=i386 -O1 -pipe -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/dirent.h:221,
from libsandbox.c:52:
/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:54:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from libsandbox.c:63:
/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
In file included from libsandbox.c:78:
localdecls.h:21:3: #error PATH_MAX not defined!
libsandbox.c: In function `canonicalize':
libsandbox.c:288: error: `EINVAL' undeclared (first use in this function)
libsandbox.c:288: error: (Each undeclared identifier is reported only once
libsandbox.c:288: error: for each function it appears in.)
libsandbox.c:305: error: `ENAMETOOLONG' undeclared (first use in this function)
libsandbox.c:308: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:318: error: `ENOENT' undeclared (first use in this function)
libsandbox.c: In function `chmod':
libsandbox.c:366: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:366: warning: unused variable `canonic'
libsandbox.c: In function `chown':
libsandbox.c:383: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:383: warning: unused variable `canonic'
libsandbox.c: In function `creat':
libsandbox.c:401: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:401: warning: unused variable `canonic'
libsandbox.c: In function `fopen':
libsandbox.c:418: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:418: warning: unused variable `canonic'
libsandbox.c: In function `lchown':
libsandbox.c:435: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:435: warning: unused variable `canonic'
libsandbox.c: In function `link':
libsandbox.c:452: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:452: warning: unused variable `old_canonic'
libsandbox.c:452: warning: unused variable `new_canonic'
libsandbox.c: In function `mkdir':
libsandbox.c:471: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:478: error: `EEXIST' undeclared (first use in this function)
libsandbox.c:471: warning: unused variable `canonic'
libsandbox.c: In function `opendir':
libsandbox.c:496: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:496: warning: unused variable `canonic'
libsandbox.c: In function `open':
libsandbox.c:537: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:537: warning: unused variable `canonic'
libsandbox.c: In function `rename':
libsandbox.c:563: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:563: warning: unused variable `old_canonic'
libsandbox.c:563: warning: unused variable `new_canonic'
libsandbox.c: In function `rmdir':
libsandbox.c:581: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:581: warning: unused variable `canonic'
libsandbox.c: In function `symlink':
libsandbox.c:598: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:598: warning: unused variable `old_canonic'
libsandbox.c:598: warning: unused variable `new_canonic'
libsandbox.c: In function `truncate':
libsandbox.c:616: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:616: warning: unused variable `canonic'
libsandbox.c: In function `unlink':
libsandbox.c:633: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:633: warning: unused variable `canonic'
libsandbox.c: In function `creat64':
libsandbox.c:653: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:653: warning: unused variable `canonic'
libsandbox.c: In function `fopen64':
libsandbox.c:670: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:670: warning: unused variable `canonic'
libsandbox.c: In function `open64':
libsandbox.c:690: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:690: warning: unused variable `canonic'
libsandbox.c: In function `truncate64':
libsandbox.c:713: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:713: warning: unused variable `canonic'
libsandbox.c: In function `execve':
libsandbox.c:739: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:763: error: `ENOMEM' undeclared (first use in this function)
libsandbox.c:739: warning: unused variable `canonic'
libsandbox.c: In function `filter_path':
libsandbox.c:991: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c: In function `check_syscall':
libsandbox.c:1181: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c: In function `before_syscall':
libsandbox.c:1308: error: `ENOENT' undeclared (first use in this function)
libsandbox.c:1335: error: `EACCES' undeclared (first use in this function)
In file included from libsandbox.c:1363:
getcwd.c: In function `__egetcwd':
getcwd.c:296: error: `EINVAL' undeclared (first use in this function)
getcwd.c:300: error: `SB_PATH_MAX' undeclared (first use in this function)
getcwd.c:415: error: `ENOENT' undeclared (first use in this function)
getcwd.c:424: error: `ERANGE' undeclared (first use in this function)
getcwd.c:434: error: `ENOMEM' undeclared (first use in this function)
getcwd.c: In function `egetcwd':
getcwd.c:501: error: `ENOENT' undeclared (first use in this function)
In file included from libsandbox.c:1364:
canonicalize.c: In function `erealpath':
canonicalize.c:68: error: `EINVAL' undeclared (first use in this function)
canonicalize.c:75: error: `ENOENT' undeclared (first use in this function)
canonicalize.c:133: error: `ENAMETOOLONG' undeclared (first use in this function)
make: *** [libsandbox.o] Error 1
!!! ERROR: sys-apps/portage-2.0.51_rc7 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! (no error message)
#
|
the *.h files reported missing are on their places, but the file libsandbox.c I could not find.
Code: | # updatedb
# locate libsandbox.c
#
|
could someone please help me. If you need any additional information please let me know which. I think the most important is "/etc/make.conf"
Code: | # These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="apache2 nptl curl fbcon gd imap innodb mpi nocardbus oav sse tiff xml oss -3dnow apm arts avi cups gtk kde -gnome mikmod motif opengl samba mmx esd divx4linux xvid qt quicktime -sdl spell svga xmms xv X gpm -tcltk mysql -3dfx ipv6 dvd cdr"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo/"
#http://www.gigaload.org/gentoo.org/ http://ftp.easynet.nl/mirror/gentoo/"
FEATURES="buildpkg fixpackages"
ACCEPT_KEYWORDS="~x86"
SYNC="rsync://gentoo.itdnet.net/gentoo-portage"
|
10x in advance |
|
Back to top |
|
|
|
|
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
|
|