Hi all!
I just installed a fresh Redhat 7.2 to test
SELinux, and tried to put selinux-2001121010 on it. I followed the step-by-step
guide in the readme file, however when compiling (linking):
make[2]: Entering directory
`/usr/src/selinux/utils/util-linux-2.11f/text-utils'
cc -O
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../lib -Wall -Wmissing-prototypes
-Wstrict-prototypes -I/usr/include/ncurses -DNCH=0 -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+0xa): undefined
reference to `putp'
more.o: In function
`my_setupterm':
more.o(.text+0x20): undefined reference to
`setupterm'
more.o: In function `my_tgetnum':
more.o(.text+0x32):
undefined reference to `tigetnum'
more.o: In function
`my_tgetflag':
more.o(.text+0x42): undefined reference to
`tigetflag'
more.o: In function `my_tgetstr':
more.o(.text+0x52):
undefined reference to `tigetstr'
more.o: In function
`my_tgoto':
more.o(.text+0x68): undefined reference to `tparm'
more.o: In
function `initterm':
more.o(.text+0x2cf2): undefined reference to
`PC'
more.o: In function `reset_tty':
more.o(.text+0x3545): 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
[root@xxx: /usr/src/selinux/utils] #
What do you suggest? (all ncurses related rpms are
installed or what versions should I install?)
Thanks,
attila