[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils-8.0 on Solaris 10: -lgen needed for eaccess
From: |
Voelker, Bernhard |
Subject: |
coreutils-8.0 on Solaris 10: -lgen needed for eaccess |
Date: |
Thu, 29 Oct 2009 15:41:06 +0100 |
Hi,
building coreutils-8.0 fails on Solaris 10:
Undefined first referenced
symbol in file
eaccess ../lib/libcoreutils.a(euidaccess.o)
The symbol is needed for these utils (aren't this almost all?):
uname, hostid, chroot, nice, who, users. pinky, uptime, stty, df, chcon, chgrp,
chown. chmod, dd,
dircolors, du, link, ln, dir, vdir, ls, mkdir, mkfifo, mknod, mktemp, nohup,
readlink, rmdir, shred,
stat, sync, touch, unlink, cat, cksum, comm, csplit, cut, expand, fmt, fold,
head, join, groups,
md5sum, nl, od, paste, pr, ptx, sha1sum, sha224sum, sha256sum, sha384sum,
sha512sum,
shuf, sort, split, sum, tac, tsort, tr, tail, unexpand, uniq, basename, date,
dirname, wc, echo,
env, factor, false, id, kill, expr, logname, printf, printenv, pwd, runcon,
seq, sleep, tee, timeout,
true, truncate, tty, yes, base84, setuidgid, whoami, getlimits, su.
eaccess is also used by some gnulib-test programs ...
The configure log of that part was:
configure:19154: checking for library containing eaccess
configure:19185: cc -o conftest -g -D_REENTRANT conftest.c >&5
"conftest.c", line 274: warning: statement not reached
Undefined first referenced
symbol in file
eaccess conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure:19185: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU coreutils"
| #define PACKAGE_TARNAME "coreutils"
| #define PACKAGE_VERSION "8.0"
...<snipped/>...
| #define DIR_FD_MEMBER_NAME dd_fd
| #define REPLACE_DUP2 0
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char eaccess ();
| int
| main ()
| {
| return eaccess ();
| ;
| return 0;
| }
configure:19185: cc -o conftest -g -D_REENTRANT conftest.c -lgen >&5
"conftest.c", line 274: warning: statement not reached
configure:19185: $? = 0
configure:19202: result: -lgen
configure:19214: checking for eaccess
configure:19214: cc -o conftest -g -D_REENTRANT conftest.c -lgen >&5
"conftest.c", line 297: warning: statement not reached
configure:19214: $? = 0
configure:19214: result: yes
Wasn't there a change for Solaris 9 the last month?
Have a nice day,
Bernhard Voelker
- coreutils-8.0 on Solaris 10: -lgen needed for eaccess,
Voelker, Bernhard <=