Skip to contentSkip to conversation

Err when ./tools/build-apps

DISCUSSION Dan DeVries 2 participants 2 messages Feb 21, 2001 SELinux security module

lore
Share & tools
lore
#0 lore raw

When installing selinux
I got the following error when building the apps
...
watch.c In function 'main'
watch.c: 215 ERR undeclared first use in this function watch.c: 215 (Each undeclared identifier...
make: *** watch.c Error 1
um..
Any Suggestions?

-Dan

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

--
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.

#1 lore raw

What platform are you using to build SELinux?

It appears that your build problem is occurring in utils/procps-2.0.4/watch.c. Line 215 is 'mvaddstr(0, 0, header)' in that file. mvaddstr is defined in /usr/include/ncurses.h, and ultimately expands to include the symbol ERR. However, /usr/include/ncurses.h also defines ERR to -1 if it is not already defined. So I don't know why your build is failing, unless your ncurses.h happens to differ.

--
Stephen D. Smalley, NAI Labs
[email protected]

Quoted 11 lines · Dan DeVries

When installing selinux
I got the following error when building the apps
...
watch.c In function 'main'
watch.c: 215 ERR undeclared first use in this function watch.c: 215 (Each undeclared identifier...
make: *** watch.c Error 1
um..
Any Suggestions?

-Dan

--
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.