app-admin/sus-2.0.6 compiles and runs, please ~amd64 keyword it
Created attachment 78996 [details] emerge info
I can't get this to compile with gcc-3.6 or gcc-4: With gcc-3.6: In file included from sus.h:58, from sus.c:21: log.h:36: warning: conflicting types for built-in function 'log' sus.c: In function `process_commands': sus.c:784: error: `CLK_TCK' undeclared (first use in this function) sus.c:784: error: (Each undeclared identifier is reported only once sus.c:784: error: for each function it appears in.) make: *** [sus.o] Error 1 with gcc-4, it doesn't even get past the first file: x86_64-pc-linux-gnu-gcc -march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops -DDEBUG -DUSE_PAM -DPROMISCUOUS -DUSE_SHADOW -DSUSERS=\"/etc/susers.cpp\" -c -o gpp.o gpp.c gpp.c:489: error: static declaration of 'gpp_expand' follows non-static declaration gpp.h:37: error: previous declaration of 'gpp_expand' was here gpp.c: In function 'gpp_expand': gpp.c:492: error: invalid storage class for function 'PopSpecs' gpp.c:493: error: invalid storage class for function 'PushSpecs' gpp.c: In function 'gpp': gpp.c:548: error: invalid storage class for function 'gpp_main' gpp.c: At top level: gpp.c:610: warning: conflicting types for 'PushSpecs' gpp.c:610: error: static declaration of 'PushSpecs' follows non-static declaration gpp.c:523: error: previous implicit declaration of 'PushSpecs' was here gpp.c:620: warning: conflicting types for 'PopSpecs' gpp.c:620: error: static declaration of 'PopSpecs' follows non-static declaration gpp.c:530: error: previous implicit declaration of 'PopSpecs' was here gpp.c:3038: error: static declaration of 'gpp_main' follows non-static declaration gpp.c:561: error: previous implicit declaration of 'gpp_main' was here
let's close this then until somebody provides a fix