Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm installing rootsh 1.5.3 on Ubuntu 10.04 LTS (following this guide) and I get:

$ make && make install

Making all in src
make[1]: Entering directory `/tmp/rootsh-1.5.3/src'
make  all-am
make[2]: Entering directory `/tmp/rootsh-1.5.3/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations   -Wnested-externs -Wpointer-arith -pedantic -pedantic -Wstrict-prototypes -MT rootsh.o -MD -MP -MF ".deps/rootsh.Tpo" -c -o rootsh.o rootsh.c; \
        then mv -f ".deps/rootsh.Tpo" ".deps/rootsh.Po"; else rm -f ".deps/rootsh.Tpo"; exit 1; fi
rootsh.c:183:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
rootsh.c: In function ‘main’:
rootsh.c:299:2: warning: C++ style comments are not allowed in ISO C90 [enabled by default]
rootsh.c:299:2: warning: (this will be reported only once per input file) [enabled by default]
rootsh.c:345:4: warning: ISO C90 forbids mixed declarations and code [-pedantic]
rootsh.c: In function ‘endlogging’:
rootsh.c:837:29: warning: value computed is not used [-Wunused-value]
rootsh.c:803:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
rootsh.c: In function ‘dologging’:
rootsh.c:748:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
rootsh.c: In function ‘beginlogging’:
rootsh.c:705:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
rootsh.c: In function ‘main’:
rootsh.c:542:16: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/fcntl.h:252:0,
                 from rootsh.c:60:
In function ‘open’,
    inlined from ‘beginlogging.part.0’ at rootsh.c:682:24:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:51:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [rootsh.o] Error 1
make[2]: Leaving directory `/tmp/rootsh-1.5.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/rootsh-1.5.3/src'
make: *** [all-recursive] Error 1

How to fix these errors?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I've found a workaround for now - Istalling from a .deb package from here: http://debian.qcode.co.uk/debs/

wget http://debian.qcode.co.uk/debs/rootsh_1.5.3-1_amd64.deb
dpkg -i rootsh_1.5.3-1_amd64.deb
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.