Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121763 - app-admin/sus-2.0.6 needs ~amd64 keyword
Summary: app-admin/sus-2.0.6 needs ~amd64 keyword
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-05 18:06 UTC by jieryn
Modified: 2006-07-08 02:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (6Uv1qbpXdU,1.85 KB, text/plain)
2006-02-05 18:06 UTC, jieryn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jieryn 2006-02-05 18:06:10 UTC
app-admin/sus-2.0.6 compiles and runs, please ~amd64 keyword it
Comment 1 jieryn 2006-02-05 18:06:18 UTC
Created attachment 78996 [details]
emerge info
Comment 2 Jon Hood (RETIRED) gentoo-dev 2006-07-07 20:15:53 UTC
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
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-07-08 02:48:23 UTC
let's close this then until somebody provides a fix