Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67257 - silc-plugin fails to compile with errors.
Summary: silc-plugin fails to compile with errors.
Status: RESOLVED DUPLICATE of bug 67255
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 11:45 UTC by viq
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viq 2004-10-12 11:45:49 UTC
emerge silc-plugin starts compiling, and works for 20 minutes or so, then exits with following errors:

silc-core.c: In function `silc_init_userinfo':
silc-core.c:102: warning: assignment discards qualifiers from pointer target type
silc-core.c:104: warning: assignment discards qualifiers from pointer target type
silc-core.c:112: warning: assignment discards qualifiers from pointer target type
silc-core.c:114: warning: assignment discards qualifiers from pointer target type
silc-core.c:124: warning: assignment discards qualifiers from pointer target type
silc-core.c:126: warning: assignment discards qualifiers from pointer target type
silc-core.c:143: warning: assignment discards qualifiers from pointer target type
silc-core.c:145: warning: assignment discards qualifiers from pointer target type
silc-core.c: In function `silc_core_init':
silc-core.c:546: warning: implicit declaration of function `silc_core_deinit'
silc-core.c:552: error: label at end of compound statement
silc-core.c: At top level:
silc-core.c:557: error: conflicting types for 'silc_core_deinit'
silc-core.c:546: error: previous implicit declaration of 'silc_core_deinit' was here
make: *** [silc-core.lo] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/silc-plugin-1.0.1/work/irssi-0.8.9/src/silc/core'


Reproducible: Always
Steps to Reproduce:
1.emerge silc-plugin
2.
3.



Expected Results:  
Successful installation

irssi 0.8.9, as it didn't want to build with irssi-cvs present. GCC 3.4
Comment 1 viq 2004-10-12 11:46:07 UTC
suggestions i got on how to solve it:

in the line after the label at end of compound statement in the source
just insert a single semicolon (;)
at the top of silc-core.c, after void silc_lag_deinit(void);
insert void silc_core_deinit(void);
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2004-10-12 11:55:29 UTC
Duplicate post.

*** This bug has been marked as a duplicate of 67255 ***