Well, Make errors for real this time -- in text-utils
Subsystems (2)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry about the last false alarm, but this is a genuine error.
ccs001:/usr/src/selinux/utils # gcc --version
2.95.3
make[1]: Leaving directory `/usr/src/selinux/utils/run_init' cd util-linux-2.11f && ./configure
configuring util-linux-2.11f
<snip>
make[2]: Entering directory `/usr/src/selinux/utils/util-linux-2.11f/text-utils'
cc -c -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -I/usr/include/slang -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -DMOREHELPFILE=\"/usr/share/misc/more.help\" more.c -o more.o cc -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -I/usr/include/slang -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -DMOREHELPFILE=\"/usr/share/misc/more.help\" -s more.o ../lib/xstrncpy.o -o more more.o: In function `my_putstring':more.o(.text+0xe): undefined reference to `putp'
more.o: In function `my_setupterm':more.o(.text+0x36): undefined reference to `setupterm'
more.o: In function `my_tgetnum':more.o(.text+0x4e): undefined reference to `tigetnum'
more.o: In function `my_tgetflag':more.o(.text+0x6e): undefined reference to `tigetflag'
more.o: In function `my_tgetstr':more.o(.text+0x8e): undefined reference to `tigetstr'
more.o: In function `my_tgoto':more.o(.text+0xb6): undefined reference to `tparm'
more.o: In function `initterm':more.o(.text+0x2f56): undefined reference to `PC'
more.o: In function `reset_tty':more.o(.text+0x3819): undefined reference to `tputs'
collect2: ld returned 1 exit status
make[2]: *** [more] Error 1
make[2]: Leaving directory `/usr/src/selinux/utils/util-linux-2.11f/text-utils'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/selinux/utils/util-linux-2.11f'
make: *** [xutil-linux] Error 2
ccs001:/usr/src/selinux/utils #
- --
- ---------------------------------------------------- Jonathan Wilson
System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9KTQcQ5u80xXOLBcRArcOAKDFz34whgRLwZneuNIvSh0Nfsm1LACdFqVy 18seIyOH5mWPjQUXP2v+Jac=
=oxxq
-----END PGP SIGNATURE-----
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Hi,
this is an SuSE specific problem. You could use follow 2 patches to solve the problem.
cd selinux
patch -p0 < utils_libncurses.diff
patch -p0 < utils_makefile_uselargefile.diff
The problem in this package is the missing of libtermcap.so. I think SuSE use libncurses instead and the Makefile recognize this lib correct.
Carsten
Am Montag, 8. Juli 2002 08:41 schrieb JW:
Quoted 61 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Sorry about the last false alarm, but this is a genuine error.
ccs001:/usr/src/selinux/utils # gcc --version
2.95.3make[1]: Leaving directory `/usr/src/selinux/utils/run_init' cd util-linux-2.11f && ./configure
configuring util-linux-2.11f
<snip>
make[2]: Entering directory `/usr/src/selinux/utils/util-linux-2.11f/text-utils' cc -c -O(quoted diff) +0
-10-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -I/usr/include/slang -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -DMOREHELPFILE=\"/usr/share/misc/more.help\" more.c -o more.o cc -O -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -I/usr/include/slang -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -DMOREHELPFILE=\"/usr/share/misc/more.help\" -s more.o ../lib/xstrncpy.o -omore more.o: In function `my_putstring':
more.o(.text+0xe): undefined reference to `putp'
more.o: In function `my_setupterm':more.o(.text+0x36): undefined reference tosetupterm' more.o: In functionmy_tgetnum':more.o(.text+0x4e): undefined reference totigetnum' more.o: In functionmy_tgetflag':more.o(.text+0x6e): undefined reference totigetflag' more.o: In functionmy_tgetstr':more.o(.text+0x8e): undefined reference totigetstr' more.o: In functionmy_tgoto':more.o(.text+0xb6): undefined reference to `tparm'
more.o: In function `initterm':more.o(.text+0x2f56): undefined reference to `PC'
more.o: In function `reset_tty':more.o(.text+0x3819): undefined reference to `tputs'
collect2: ld returned 1 exit status
make[2]: *** [more] Error 1
make[2]: Leaving directory `/usr/src/selinux/utils/util-linux-2.11f/text-utils' make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/selinux/utils/util-linux-2.11f'
make: *** [xutil-linux] Error 2 ccs001:/usr/src/selinux/utils #- --
- ---------------------------------------------------- Jonathan Wilson
System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
Quoted 4 lines
iD8DBQE9KTQcQ5u80xXOLBcRArcOAKDFz34whgRLwZneuNIvSh0Nfsm1LACdFqVy 18seIyOH5mWPjQUXP2v+Jac=
=oxxq
-----END PGP SIGNATURE-----
Makefile renamed from utils/Makefile +1 -1
@@ -57,7 +57,7 @@ touch xutil-linux-config xutil-linux: xutil-linux-config - $(MAKE) -C util-linux-$(UTILLINUX_VER) "OPT=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + $(MAKE) -C util-linux-$(UTILLINUX_VER) "OPT=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__USE_LARGEFILE64" xopenssh-config: cd openssh-$(OPENSSH_VER) && \
util-linux-2.11f/configure renamed from utils/util-linux-2.11f/configure +1 -0
@@ -351,6 +351,7 @@ echo "You don't have termcap - I will not make more." else echo "You don't have termcap" + echo "LIBTERMCAP=-lncurses" >> make_include fi fi rm -f conftest conftest.c
fileutils-4.1/src/Makefile.in renamed from utils/fileutils-4.1/src/Makefile.in +3 -3
@@ -139,10 +139,10 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" -DSHAREDIR=\"$(datadir)\" -DFLASK_LINUX @DEFS@ LDADD = @INTLLIBS@ ../lib/libfetish.a /usr/local/selinux/lib/libsecure.a -dir_LDADD = $(LDADD) -ltermcap -ls_LDADD = $(LDADD) -ltermcap +dir_LDADD = $(LDADD) -lncurses +ls_LDADD = $(LDADD) -lncurses shred_LDADD = $(LDADD) -vdir_LDADD = $(LDADD) -ltermcap +vdir_LDADD = $(LDADD) -lncurses # Use `ginstall' in the definition of PROGRAMS and in dependencies to avoid # confusion with the `install' target. The install rule transforms `ginstall'